Skip to content

Commit f12bdf8

Browse files
committed
fix: CloudWatch 메트릭 필터링 세분화로 비용 절감
- hikaricp/tomcat 전체 활성화 → 6개 필수 메트릭만 활성화 - HikariCP: connections.active, connections.idle, connections.pending - Tomcat: threads.current, threads.busy, threads.config.max - 예상 비용: $13.5/월 → $1.8/월 (약 87% 절감)
1 parent af0abe0 commit f12bdf8

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

src/main/resources/application-staging.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,9 @@ management:
7878
metrics:
7979
enable:
8080
all: false
81-
hikaricp: true
82-
tomcat: true
81+
hikaricp.connections.active: true
82+
hikaricp.connections.idle: true
83+
hikaricp.connections.pending: true
84+
tomcat.threads.current: true
85+
tomcat.threads.busy: true
86+
tomcat.threads.config.max: true

0 commit comments

Comments
 (0)