Streamline actuator settings

This commit is contained in:
Thierry Göckel 2020-10-21 17:50:02 +02:00
parent 268dd0200e
commit b5192b7424
2 changed files with 4 additions and 7 deletions

View File

@ -12,5 +12,6 @@ management:
endpoint:
metrics.enabled: ${monitoring.enabled:false}
prometheus.enabled: ${monitoring.enabled:false}
health.enabled: true
endpoints.web.exposure.include: prometheus, health
metrics.export.prometheus.enabled: ${monitoring.enabled:false}

View File

@ -2,10 +2,6 @@ spring:
application:
name: redaction-service-v1
management:
endpoints:
web:
base-path: /
path-mapping:
health: "health"
management.endpoints:
web.base-path: /
enabled-by-default: false