Skip to content

Commit c3861bf

Browse files
robinjoonclaude
andauthored
chore: Prometheus 메트릭 엔드포인트 노출 설정 (#35)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 96a02e6 commit c3861bf

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

src/main/kotlin/kr/io/team/loop/common/config/SecurityConfig.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ class SecurityConfig {
2626
authorize("/graphql", permitAll)
2727
authorize("/h2-console/**", permitAll)
2828
authorize("/actuator/health/**", permitAll)
29+
authorize("/actuator/prometheus", permitAll)
2930
authorize(anyRequest, authenticated)
3031
}
3132
headers {

src/main/resources/application.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ spring:
1212
generate-ddl: false
1313

1414
management:
15+
endpoints:
16+
web:
17+
exposure:
18+
include: health, prometheus
1519
endpoint:
1620
health:
1721
probes:

0 commit comments

Comments
 (0)