【问题标题】:Is there any way I can get why a target is dropped in Prometheus?有什么方法可以让我知道为什么在 Prometheus 中丢弃了一个目标?
【发布时间】:2021-09-30 19:54:21
【问题描述】:

我使用这个转储目标

curl http://<prom_ip>:9090/api/v1/targets  

我看到一些工作被放弃了。我什至在 Prometheus 中打开了调试日志——它仍然没有告诉我它为什么被丢弃。任何帮助将不胜感激。

【问题讨论】:

    标签: prometheus target


    【解决方案1】:

    检查您是否有任何relabel_configs。我很确定这是唯一可以放弃目标的方法。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-11-20
      • 2014-01-29
      • 1970-01-01
      • 2018-12-21
      相关资源
      最近更新 更多