Spring Boot

management.endpoint.health.show-components

Suppress health component information in the health response. Boot 4.0.10 companion project; source-reviewed, not executed.

Formal Syntax & Structure

java syntaxjava
management.endpoint.health.show-components=never

Working Example

Example Snippetjava
# Synthetic configuration. Never include credentials here.server.address=127.0.0.1server.port=18080lab.batch-size=10management.endpoints.web.exposure.include=healthmanagement.endpoint.health.show-details=nevermanagement.endpoint.health.show-components=neverspring.jmx.enabled=falselogging.level.root=INFO
Java Reference