【问题标题】:prometheus is not able to talk to influxDBprometheus 无法与 influxDB 对话
【发布时间】:2018-10-14 07:19:53
【问题描述】:

我将 prometheus 作为 kubernetes pod 运行,并希望 prometheus 将数据写入 influxDB 我已将条目添加到 prometheus.yml ,添加了以下条目

远程读取: - 网址:“http://localhost:8086/api/v1/prom/write?u=xxxxxx&p=ids3pr0m&db=xxxxxx” 远程写入: - 网址:“http://localhost:8086/api/v1/prom/read?u=xxxxxx&p=ids3pr0m&db=xxxxxx

pod 正在运行文件并且能够读取它,但继续给我以下错误。

time="2018-05-03T17:38:31Z" level=warning msg="Error sending 100 samples to remote storage: server returned HTTP status 400 Bad Request: {"error":"proto: wrong wireType = 2 for field StartTimestampMs"}" source="queue_manager.go:500"
time="2018-05-03T17:38:31Z" level=warning msg="Error sending 100 samples to remote storage: server returned HTTP status 400 Bad Request: {"error":"proto: wrong wireType = 2 for field StartTimestampMs"}" source="queue_manager.go:500"
time="2018-05-03T17:38:31Z" level=warning msg="Error sending 100 samples to remote storage: server returned HTTP status 400 Bad Request: {"error":"proto: wrong wireType = 2 for field StartTimestampMs"}" source="queue_manager.go:500"

谁能帮我解决这个问题

【问题讨论】:

    标签: kubernetes influxdb prometheus


    【解决方案1】:

    也遇到了这个问题,对我来说它使用的是 Prometheus 2.x 版。 LooksInfluxDB只支持1.8版本

    【讨论】:

      猜你喜欢
      • 2016-01-25
      • 1970-01-01
      • 1970-01-01
      • 2021-09-17
      • 1970-01-01
      • 2023-03-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多