【问题标题】:Get http://host-ip:9100/metrics: context deadline exceeded,获取 http://host-ip:9100/metrics: 超出上下文期限,
【发布时间】:2019-10-20 14:51:15
【问题描述】:

在 prometheus 服务器 /target 上,我收到此错误:- 获取 http://host-ip:9100/metrics:超出上下文期限。我可以使用 curl http://node_exporter-ip:9100/metrics 从 prometheus 服务器卷曲指标。大约需要10s。我将 scrape_timeout 更改为 20s。 node_host 的状态仍然没有变化。任何人都可以建议任何解决问题的方法。

【问题讨论】:

    标签: prometheus prometheus-node-exporter


    【解决方案1】:

    你可以检查prometheus服务器显示的host-ip是否是正确的要查询的服务器。

    【讨论】:

    • 我也有一些问题,突然出现,我删除了pods,又恢复正常了,现在删除pods已经不是解决办法了。太奇怪了,我什么都没做,但不知从何而来,它倒下了。
    猜你喜欢
    • 2020-05-04
    • 1970-01-01
    • 1970-01-01
    • 2022-07-06
    • 2022-01-15
    • 2021-02-13
    • 2019-05-07
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多