Prometheus with InfluxDB as remote storage: metrics duplication.
603 views
Skip to first unread message
oleg...@gmail.com
unread,
Nov 14, 2017, 3:38:05 PM11/14/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Prometheus Users
Hello everybody.
I've installed nightly build of InluxDB as a remote read/write storage as described here: https://www.influxdata.com/blog/influxdb-now-supports-prometheus-remote-read-write-natively/ together with Prometheus 2.0. Now I have misleading graphs in my Grafana dashboards, because Prometheus returns metrics both from local and remote storages. Does anybody know how to avoid metrics duplication? Does Prometheus have an option to completely disable local tsdb or there any other way? As a workaround I could use prometheus "external_labels" to filter out metrics from local storage, but I have to change all my Grafana dashboards then. Are there any better solutions?
oleg...@gmail.com
unread,
Nov 14, 2017, 3:57:41 PM11/14/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Prometheus Users
Thank you.
I found solution myself. I just removed external_labels option from Prometheus config and now I don't have metrics duplication anymore.
вторник, 14 ноября 2017 г., 21:38:05 UTC+1 пользователь oleg...@gmail.com написал:
Younes NAHALI
unread,
Nov 21, 2019, 5:51:20 AM11/21/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Prometheus Users
Hi, I have the same issue as you. But when i desactivate the external_labels , Prometheus stop getting data from influxdb. Do you ave an idea about this ?