【发布时间】:2020-02-25 20:39:29
【问题描述】:
我有以下代码:
c = InfoMetricFamily("health", "Health Monitoring")
c.add_metric(labels=name, value={"name": name, "status": status, "value": value})
为 Prometheus 提供以下指标:
# HELP health_info Health Monitoring
# TYPE health_info gauge
health_info{name="external",status="danger",value="N\\A"} 1.0
我想在 Grafana 中构建表格仪表板,其中 name、status、value 将是列。我怎么能这样做?
【问题讨论】:
标签: python grafana prometheus