【问题标题】:helm chart unable to see cloudwatch exporter in prometheus targethelm chart 无法在 prometheus 目标中看到 cloudwatch 导出器
【发布时间】:2019-08-20 15:44:10
【问题描述】:

我正在使用 helm chart 来运行 prometheus 和 cloudwatch 导出器,并遵循所有需要的文档。

helm upgrade --install prometheus prometheus

在同一个集群中,我使用

安装了 cloudwatch 导出器

helm 升级 --install ldm-emea-prometheus-cloudwatch-exporter ldm-emea-prometheus-cloudwatch-exporter

我从本地文件系统安装这些导出器并将其重命名为 ldm-emea-prometheus-cloudwatch-exporter 因为我将拥有多个需要管理的帐户

但是当我安装这两个时,我无法看到目标列在 prometheus 中,用于我定义的 cloudwatch 导出器。

我们有什么方法可以在 prometheus helm 图表中配置它以提取此导出器的详细信息

【问题讨论】:

  • 你们有这个出口商的服务吗?如果是这样,您是否在服务中添加了必要的注释以供 prometheus 发现它?

标签: amazon-web-services prometheus amazon-cloudwatch kubernetes-helm


【解决方案1】:

我能够找出问题所在。我正在使用缺少的 prometheus-operator helm chart

scrape_timeout

默认情况下是 10 秒,我的 cloudwatch 导出器耗时超过 10 秒。我开始使用 prometheus helm chart 而不是 prometheus-operator,因为它缺少此配置

【讨论】:

    猜你喜欢
    • 2021-02-12
    • 2021-12-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-12-09
    • 1970-01-01
    • 1970-01-01
    • 2022-01-15
    相关资源
    最近更新 更多