Send metrics to system monitoring software
Automation controller provides metrics that can be used to monitor the health and performance of the system.
A metrics endpoint, /api/controller/v2/metrics/ is available in the API that produces instantaneous metrics about automation controller, which can be consumed by system monitoring software such as the open source project Prometheus.
The types of data shown at the metrics/ endpoint are Content-type: text/plain and application/json.
This endpoint has useful information, such as counts of how many active user sessions there are, or how many jobs are actively running on each automation controller node.
You can configure Prometheus to scrape these metrics from automation controller by hitting the automation controller metrics endpoint and storing this data in a time-series database.
Clients can later use Prometheus in conjunction with other software such as Grafana or Metricbeat to visualize that data and set up alerts.
Set up Prometheus Copy linkLink copied!
Learn how to use Prometheus to collect and visualize metrics from automation controller.
About this task Copy linkLink copied!
You must install Prometheus on a virtual machine or container.
For more information, see the First steps with Prometheus documentation.
Procedure Copy linkLink copied!
What to do next Copy linkLink copied!
Refer to the metrics endpoint in the automation controller API for your instance (api/v2/metrics) for more ways to query.