Watching AWX: Status Views, Notifications, Logs, and Prometheus Metrics
96%
Metrics: The Prometheus Endpoint and What It Exposes
AWX provides a number of Prometheus metrics that you can use to monitor the health and performance of the system. You can access them by going to the /api/v2/metrics/ endpoint of the AWX API. You can also use the curl command to get the metrics:
curl -k -u admin:Ansible123! https://awx.example.com/api/v2/metrics/
Here are some of the metrics you can expect to see:
- awx_system_info: Information about the AWX system, including the version, license type, and URL.
- awx_organizations_total: The number of organizations in the system.
- awx_users_total: The number of users in the system.
- awx_teams_total: The number of teams in the system.
- awx_inventories_total: The number of inventories in the system.
- awx_projects_total: The number of projects in the system.
AWX in Action
Ansible Orchestration at ScaleEnroll now to unlock all content and receive all future updates for free.
