Prometheus metrics logging
Prometheus is a monitoring and observability tool that can incorporate data from the Automation controllers via /api/v2/metrics/
. Using the data reported over time, we can gather information about user sessions, the number of jobs running on each node, and license counts. All of the data that’s been tracked can be viewed in the metrics endpoint. Now, let’s learn how to install and configure Prometheus so that it can be connected to the Automation controller.
Installation and configuration
A playbook has been created that uses the cloudalchemy.prometheus
role to install and configure a basic installation of Prometheus on a server. The basic configuration uses the following variables:
static_configs.targets
: The servers to target.bearer_token
: The OAuth token to use to authenticate. The username or password can also be used.metrics_path
: The path on the API to read from.
The playbook for installation can be found...