File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
kotlin/org/gitanimals/core/filter Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,8 @@ class MDCFilter : OncePerRequestFilter() {
4747 const val PATH = " path"
4848
4949 private val ignorePath = setOf (
50- " /actuator/prometheus"
50+ " /actuator/prometheus" ,
51+ " /actuator/health" ,
5152 )
5253 }
5354}
Original file line number Diff line number Diff line change @@ -31,11 +31,16 @@ sentry.traces-sample-rate=1.0
3131internal.secret =a
3232
3333spring.application.name =render.gitanimals
34- management.endpoints.web.exposure.include =prometheus
34+ management.endpoints.web.exposure.include =health, prometheus
3535management.metrics.tags.application =${spring.application.name}
36+ management.endpoint.health.show-details =never
37+ management.health.defaults.enabled =false
38+ management.health.ping.enabled =true
3639
3740logging.level.root =INFO
3841
3942logging.level.org.springframework.web.servlet.PageNotFound =ERROR
4043spring.mvc.throw-exception-if-no-handler-found =true
4144spring.web.resources.add-mappings =false
45+
46+ relay.approve.token =foo
You can’t perform that action at this time.
0 commit comments