【发布时间】:2017-12-04 07:34:57
【问题描述】:
假设我们在一个月内收集相同的指标,现在我们想要修改指标以具有额外的标签(在旧数据中也是如此),我们该怎么做。 现有指标:
mongodb_exporter_last_scrape_duration_seconds{instance="127.0.0.1:9216",job="mongo"}
想把它改成:
mongodb_exporter_last_scrape_duration_seconds{cluster="stage", instance="127.0.0.1:9216",job="mongo"}
【问题讨论】:
标签: prometheus prometheus-operator