Actuator Endpoint - Prometheus

Exposes metrics in a format that can be scraped by a Prometheus server.

prometheus
Third-party endpoint1 operationNot exposed by default
1

Turn the endpoint on and expose it over the web. One entry covers every operation. By default only info, health and status are exposed.

1
2
management.endpoint.prometheus.access=UNRESTRICTED
management.endpoints.web.exposure.include=prometheus

Endpoints may be mapped to other paths. For example, to serve health at healthcheck:

1
management.endpoints.web.path-mapping.health=healthcheck