Skip to content

Commit c8c186f

Browse files
committedJan 13, 2025
Tweak health probes
1 parent cba0a82 commit c8c186f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed
 

‎src/main/resources/application.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ management:
5757
access:
5858
default: read_only
5959
web:
60-
base-path: /actuator
60+
base-path: /__mon
6161
exposure:
6262
include:
6363
- info
@@ -66,8 +66,11 @@ management:
6666
- prometheus
6767
health:
6868
diskspace:
69-
path: "${java.io.tmpdir}"
69+
enabled: false
7070
metrics:
71+
system:
72+
diskspace:
73+
paths: [ "${java.io.tmpdir}" ]
7174
# see: https://github.com/spring-projects/spring-boot/issues/38583
7275
tags:
7376
application: ${spring.application.name}

0 commit comments

Comments
 (0)