The Actuator base path is the URL prefix placed before Spring Boot Actuator’s HTTP endpoints. By default, endpoints use /actuator, so application health is available at /actuator/health. section 15.1.1
Changing the prefix gives Actuator endpoints a different URL namespace. Set management.endpoints.web.base-path to /management, then request application health at /management/health. section 15.1.1
Move Actuator under /management
Configure application.yml with management.endpoints.web.base-path: /management. A GET request to /management/health then retrieves health information instead of using /actuator/health. section 15.1.1
$ curl localhost:8080/actuator
{
"_links": {
"self": {
"href": "http://localhost:8080/actuator",
"templated": false
},
"auditevents": {
"href": "http://localhost:8080/actuator/auditevents",
"templated": false
},
"beans": {
"href": "http://localhost:8080/actuator/beans",
"templated": false
},
"health": {
"href": "http://localhost:8080/actuator/health",
"templated": false
},
...
}
}
Requesting the base path returns HATEOAS links that map the available Actuator endpoints, including health and info. section 15.2
Endpoint availability can vary because libraries may add endpoints and some endpoints may not be exported. The base-path links therefore provide a practical map of what the running application exposes. section 15.2
