Skip to content

Add /management endpoint provided via Spring Actuator

Daniel Gerhardt requested to merge metrics into master

The new endpoint provide metrics including information about application environment, configuration, beans, caches via Spring Actuator. Additional custom endpoints for version info and statistics are available. The endpoint is protected by Spring Security and requires the admin role.

To allow monitoring of metrics, a Prometheus endpoint is provided via Micrometer.

The /management/health endpoint times out at the moment but this is caused by existing issues with beans for external services.

Web API documentation: https://docs.spring.io/spring-boot/docs/2.1.x/actuator-api/html/

Known issue:
Content type application/json may not be set for the Accept header of requests to the management API. Otherwise, only a JSON stub is returned. application/vnd.spring-boot.actuator.v2+json or */* should be used instead.

prometheus-arsnova

Refs #16 (closed).

Edited by Daniel Gerhardt

Merge request reports