【问题标题】:Context Deadline Exceeded Error - Prometheus上下文截止日期超出错误 - Prometheus
【发布时间】:2020-04-13 10:32:51
【问题描述】:

我已在我的 Web 服务器中配置 apache_exporter 以公开指标,Prometheus 将从中抓取指标。它适用于所有服务器,除了启用 apache http 身份验证的公共服务器(AuthType)。如果启用了 http 身份验证,我如何使用 prometheusscrape

【问题讨论】:

    标签: prometheus prometheus-alertmanager prometheus-operator prometheus-node-exporter


    【解决方案1】:

    您可以将 Prometheus 服务器配置为在抓取 HTTP 端点时使用基本身份验证。

    请参阅this example config snippet,了解如何使用basic_auth 指令配置用户名和密码。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-12-08
      • 1970-01-01
      • 1970-01-01
      • 2022-07-11
      • 1970-01-01
      相关资源
      最近更新 更多