Skip to content

Commit 96076e6

Browse files
authored
release: 1.9.4 (#350)
2 parents 613b89a + 58d2856 commit 96076e6

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

โ€Žsrc/main/kotlin/org/gitanimals/core/filter/MDCFilter.ktโ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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
}

โ€Žsrc/main/resources/application.propertiesโ€Ž

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,16 @@ sentry.traces-sample-rate=1.0
3131
internal.secret=a
3232

3333
spring.application.name=render.gitanimals
34-
management.endpoints.web.exposure.include=prometheus
34+
management.endpoints.web.exposure.include=health,prometheus
3535
management.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

3740
logging.level.root=INFO
3841

3942
logging.level.org.springframework.web.servlet.PageNotFound=ERROR
4043
spring.mvc.throw-exception-if-no-handler-found=true
4144
spring.web.resources.add-mappings=false
45+
46+
relay.approve.token=foo

0 commit comments

Comments
ย (0)