I'm wondering if I can use "Info" metric from Prometheus data to display info/data in Grafana. I haven't found any meaningful examples online with regards to using that metric. I've checked the sample dashboards but I don't see any use of that metric. I've tried sending data to Prometheus with the example in the link above:
from prometheus_client import Info, push_to_gateway, CollectorRegistry
regis = CollectorRegistry()
i = Info('my_build_version', 'Description of info')
i.info({'version': '1.2.3', 'buildhost': 'foo@bar'})
push_to_gateway('http://localhost:9091', job="Try_Info_metric", registry=regis)
Anyone have meaningful queries/visual in Grafana that I can use? I'm trying to see if I can display this as a table some how.
I realized that looking into pushgateway the info metric is a gauge that has value of 1. I suppose I can use gauge as a way to build the table with the metrics.