Spring Actuator Support

Spring actuator exposes application-specific metrics at an HTTP endpoint such as /actuator/metrics /actuator/metrics/<metric-name> http://localhost:<port-number>/actuator/metrics/<metric-name> Metric Browser.

To enable reporting of Spring Actuator metrics:

  1. Set enable-spring-actuator-metrics to true .
  2. Configure the spring-actuator-port node property if you are using a custom port that Java Agent queries to get the application metrics.

  3. Configure the spring-actuator-path node property if you want to customize the endpoint path for Java Agent to get the application metrics.

    Note: By default, these node properties are deactivated. Before you activate these node properties, ensure that the metrics endpoint is exposed using HTTP.

    See App Agent Node Properties to know how to add or edit a node property