Skip to content

Commit

Permalink
✨ add endpoint health to actuator
Browse files Browse the repository at this point in the history
  • Loading branch information
geoje committed Sep 25, 2024
1 parent b85ff45 commit 3932a4e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 18 deletions.
6 changes: 0 additions & 6 deletions backend/src/main/resources/application-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,6 @@ cloud:
region:
static: ENC(a7sCLLXDx5Fn76E+NLdyxLoL3MEp6x1J/OcoFyg0ejxLrGAQ/O+82ZoDr6LXcRAt)

management:
endpoints:
web:
exposure:
include: prometheus

logging:
level:
org:
Expand Down
6 changes: 0 additions & 6 deletions backend/src/main/resources/application-local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,3 @@ cloud:
cloudfront-cname: ENC(3hfGWnS8F+CY67V0fc9kjS9inVeoFpNbnrjVE0xivh+P+BgBrbZOi19ZwdIRBL9tNO5L8+y9gJHSH1TKtaV+lA==)
region:
static: ENC(+TXuroM2fUTZ5CpylDnJfO672+ZFCdA+AVKRDLKoCWKJm+0gQ8/GH+QtS7jLG2v9)

management:
endpoints:
web:
exposure:
include: prometheus
6 changes: 0 additions & 6 deletions backend/src/main/resources/application-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@ springdoc:
swagger-ui:
enabled: false

management:
endpoints:
web:
exposure:
include: prometheus

logging:
level:
org:
Expand Down
8 changes: 8 additions & 0 deletions backend/src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,11 @@ springdoc:
enable-default-api-docs: false
api-docs:
path: /openapi3.yaml

management:
endpoints:
web:
exposure:
include:
- health
- prometheus

0 comments on commit 3932a4e

Please sign in to comment.