Skip to content

Commit

Permalink
feat: application.yml 파일에 prometheus 메트릭 수집을 위한 부분 작성
Browse files Browse the repository at this point in the history
  • Loading branch information
baekhangyeol committed Oct 11, 2023
1 parent 8d50de2 commit ab3c478
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions backend/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,22 @@ spring:
logging:
config: classpath:logback-spring.xml

# Prometheus
management:
endpoints:
web:
exposure:
include: health, info, metrics, prometheus
metrics:
export:
prometheus:
enabled: true
endpoint:
prometheus:
enabled: true
info:
git:
mode: full

# swaggerDOC
springdoc:
Expand Down

0 comments on commit ab3c478

Please sign in to comment.