Skip to content

Commit

Permalink
feat(store): 모니터링을 위한 어노테이션 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
govl6113 committed Aug 22, 2023
1 parent 3ccb0d0 commit ab60524
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import io.micrometer.core.annotation.Timed;
import io.swagger.v3.oas.annotations.Operation;
import lombok.RequiredArgsConstructor;
import prography.cakeke.server.store.adapter.in.web.response.DistrictCountDTO;
Expand Down Expand Up @@ -52,6 +53,7 @@ public ResponseEntity<List<StoreResponse>> getList(
}

@Operation(description = "이 지역 재검색")
@Timed(value = "get-reload")
@GetMapping("/reload")
public ResponseEntity<List<StoreResponse>> reload(
@RequestParam(value = "storeTypes", required = false) List<StoreType> storeTypes,
Expand Down

0 comments on commit ab60524

Please sign in to comment.