Get started with Grafana integrationsCurrently available IntegrationsAWX integration

AWX integration for Grafana Cloud

AWX provides a web-based user interface, REST API, and task engine built on top of Ansible. It is one of the upstream projects for Red Hat Ansible Automation Platform.

Use the walkthrough in Grafana Cloud to install the AWX integration.

Post-installation configuration for the AWX integration

In the agent configuration file, the agent must be pointed to only one AWX node in the cluster. You can use either basic authentication, or OAuth2 token based authentication. OAuth2 is preferred, and is shown in the example below. You can read more about the prometheus metrics capabilities of AWX in the documentation.

metrics:
  wal_directory: /tmp/wal
  configs:
    - name: integrations
      scrape_configs:
        - job_name: integrations/awx
          bearer_token: <your OAuth2 token>
          metrics_path: '/api/v2/metrics/'
          static_configs:
            - targets: ['awx.hostname']
      remote_write:
        - url: http://cortex:9009/api/prom/push