SpringBoot v2.5.1
I would like to have all actuator endpoints (described in documentation) available. Following the docs, have added actuator starter dependency and a property, but most of the endpoints are not available (HTTP 404).
The only available endpoint is GET /actuator/health
, but it shows useless info: {"status": "UP"}
Added property management.endpoints.enabled-by-default=true
.
Added dependency:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
Result of GET /actuator
{
"_links": {
"self": {
"href": "http://localhost:9999/actuator",
"templated": false
},
"health-path": {
"href": "http://localhost:9999/actuator/health/{*path}",
"templated": true
},
"health": {
"href": "http://localhost:9999/actuator/health",
"templated": false
}
}
}
What is the minimal set up to enable actuator endpoints?