ansible/awx

Make Info Metrics more easy to query

Open

#3,781 opened on Apr 29, 2019

View on GitHub
 (2 comments) (1 reaction) (0 assignees)Python (13,071 stars) (3,333 forks)batch import
Hacktoberfestcomponent:apigood first issue

Description

ISSUE TYPE
  • Bug Report
SUMMARY

Currently awx_system_info and awx_instance_info metrics are returned as labels with values, which makes it difficult to query just the value of one key. As a result, you can't query individual key's for their values in prometheus, for example: awx_system_info{anisble_version}. This has already been fixed for licenses.

We should make the rest of these individual metrics so that they can be individually queried. i.e.: "I am a customer who likes to see my Ansible version and tower version in Dashboard for Tower in Grafana"

ENVIRONMENT
  • AWX version: 4.0.0

Contributor guide