prometheus无法与流媒体数据库交谈

时间:2018-05-03 21:33:16

标签: kubernetes influxdb prometheus

我正在运行prometheus作为kubernetes pod并希望prometheus将数据写入inflluxDB我已将条目添加到prometheus.yml,下面的条目已被添加

的remote_read:      - 网址:“http://localhost:8086/api/v1/prom/write?u=xxxxxx&p=ids3pr0m&db=xxxxxx”   remote_write:      - 网址:“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"

有人可以帮助我吗

1 个答案:

答案 0 :(得分:0)

Ran into this as well and for me it was using a Prometheus version 2.x. Looks InfluxDB only supports version 1.8