Actuator Endpoints
For monitoring, AxonServer includes Spring Boot Actuator endpoints which are available under the /actuator URL path of the AxonServer. For Axon Server SE, the URL for the Axon Server SE will be the single running node, while for Axon Server EE the URL should be pointing to any node serving the _admin context within an Axon Server EE cluster.
The /actuatorURL path returns a list of all available actuators. A list of the endpoints is given below.
/actuator/healthendpoint is used to check the health of Axon Server itself, and (in the case of Axon Server EE) the health of the cluster. The HTTP status return code is not 200 when cluster health is anything other than "UP"./actuator/infoendpoint informs you about some basic attributes of an AxonServer (name, description, version). This is more useful for liveness/readiness probes./actuator/metricsendpoint publishes information about OS, JVM as well as application level metrics/actuator/loggersendpoint exposes detailed view of the loggers configuration/actuator/prometheusendpoint exposes metrics data in a format that can be scraped by a Prometheus server (Monitoring system & time series database)/actuator/envendpoint exposes the current environment properties
Application level metrics
Specific AxonServer metrics is available under /actuator/metrics endpoint:
/actuator/metrics/axon.events.countcurrent number of events stored in a node/actuator/metrics/axon.commands.countcurrent number of commands stored in a node/actuator/metrics/axon.queries.countcurrent number of queries stored in a node/actuator/metrics/axon.snapshots.countcurrent number of snapshots stored in a node/actuator/metrics/axon.commands.activecurrent number of active commands in a node
Other, AxonServer-specific endpoints can be browsed through /swagger-ui.html.
Last updated
Was this helpful?