Skip to content

Commit

Permalink
Enable actuator endpoints prometheus and metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkopp committed Jul 23, 2024
1 parent cac5af3 commit 445eb9f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion src/main/resources/application-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ management:
endpoints:
web:
exposure:
include: prometheus, health
include: prometheus, health, metrics
metrics:
tags:
application: modulith-backend
Expand All @@ -25,7 +25,12 @@ management:
readinessState:
enabled: true
endpoint:
metrics:
enabled: true
prometheus:
enabled: true
health:
enabled: true
probes:
enabled: true
show-details: always
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,15 @@ management:
endpoints:
web:
exposure:
include: prometheus, health
include: health
health:
livenessState:
enabled: true
readinessState:
enabled: true
endpoint:
health:
enabled: true
probes:
enabled: true
show-details: always
Expand Down

0 comments on commit 445eb9f

Please sign in to comment.