Hello World!

  • 홈
  • 태그
  • 방명록

Timer 1

spring boot 3.x + actuator 파헤치기. 11. about metrics endpoint ( Timer )

https://youtu.be/aqkb1SHBNIc https://youtu.be/LywjP3UDTcM 마지막으로 다룰 metric type 으로 timer 가 있습니다. 이름 그대로 시간을 측정하는 metric 입니다. timer 등록 우선 다른 metric type과 동일하게 builder 를 이용해서 timer 를 만든 후 meterRegistry 에 등록해줍니다. 아래처럼 my.timer 라고 파라미터값을 넣었으므로 actuator 에서는 my.timer 가 path에 들어가게 됩니다. timer 의 경우 시간값을 측정하고 싶은 곳에 timer 로 감싸서 구현을 해야합니다. 그래서 반드시 Timer 를 bean 으로 등록해둬야 합니다. @Configuration @RequiredArgsConstr..

spring boot/actuator in spring boot 2023.04.14
이전
1
다음
더보기
프로필사진

Hello World!

최근글과 인기글

  • 최근글
  • 인기글
  • 분류 전체보기 (20)
    • spring boot (16)
      • actuator in spring boot (14)
      • spring boot 제대로 활용하기 (1)
      • websocket, stomp in springb.. (1)
    • network (4)

Tag

@Endpoint, ThreadPoolTaskExecutor, taskdecorator, 헤이티오스, @Counted, RESTCLIENT, actuator, jmm, counter, spring boot, AutoConfiguration, traceid, extraTags, springboot, endpoint, metrics, spring boot admin, Network, 네트워크, healthIndicator,

공지사항

  • youtube, inflearn, naver blog 도 함께 업로드중입니다.

최근댓글

Archives

Calendar

«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

방문자수Total

  • Today :
  • Yesterday :
네이버 블로그 youtube

Copyright © Kakao Corp. All rights reserved.

  • 네이버 블로그
  • 유튜브채널

티스토리툴바