Hi Guys,I am trying to design HA with Prometheus (scraper) and influxDB (remote storage living in different DC). I believe If I am running two identical Prometheus servers (HA mode) both having remote-write configured to influxDB (or Influx-relay) I will end up sending duplicate data over network for long term storage. How can I dedupe metrics from both Prometheus server before sending it to influxdb?
HI Brian,Thanks for your answer. Can you please tell me if prometheus remote write api support writing to influxdb-relay service instead of influxdb directly?
Thanks
On Monday, March 5, 2018 at 12:27:52 AM UTC-8, Brian Brazil wrote:On 5 March 2018 at 03:49, <neha...@gmail.com> wrote:Hi Guys,I am trying to design HA with Prometheus (scraper) and influxDB (remote storage living in different DC). I believe If I am running two identical Prometheus servers (HA mode) both having remote-write configured to influxDB (or Influx-relay) I will end up sending duplicate data over network for long term storage. How can I dedupe metrics from both Prometheus server before sending it to influxdb?You can't. The easiest way is to have only one Prometheus send to the remote storage cluster.--Brian Brazil
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/11b0fdd1-a892-4a62-9a2d-b8b521e38b70%40googlegroups.com.
How are you dealing for InfluxDB's HA? If you have 2 InfluxDB, can't you just dedicate one InfluxDB for one prometheus server?
Le lundi 5 mars 2018 04:49:03 UTC+1, neha...@gmail.com a écrit :Hi Guys,I am trying to design HA with Prometheus (scraper) and influxDB (remote storage living in different DC). I believe If I am running two identical Prometheus servers (HA mode) both having remote-write configured to influxDB (or Influx-relay) I will end up sending duplicate data over network for long term storage. How can I dedupe metrics from both Prometheus server before sending it to influxdb?Thanks
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/392928c9-7cc3-4467-9b13-d346eb519ddf%40googlegroups.com.
On 14 March 2018 at 10:16, <thiern...@polyconseil.fr> wrote:How are you dealing for InfluxDB's HA? If you have 2 InfluxDB, can't you just dedicate one InfluxDB for one prometheus server?There's not any point in using a single InfluxDB, remote write only makes sense for an InfluxDB cluster as otherwise you're still limiting yourself to the storage that fits on one machine.Brian
Le lundi 5 mars 2018 04:49:03 UTC+1, neha...@gmail.com a écrit :Hi Guys,I am trying to design HA with Prometheus (scraper) and influxDB (remote storage living in different DC). I believe If I am running two identical Prometheus servers (HA mode) both having remote-write configured to influxDB (or Influx-relay) I will end up sending duplicate data over network for long term storage. How can I dedupe metrics from both Prometheus server before sending it to influxdb?Thanks
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/392928c9-7cc3-4467-9b13-d346eb519ddf%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Prometheus Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/prometheus-users/Ak2z7mfvZzw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/bf572988-b846-4857-a5f8-0d5a4b53a8cd%40googlegroups.com.
I wanted to try this for ha long term metrics persistance but had no time so this is just more of a vision than prooved solution but i thing it might work actually.
Still there vould be problem with deduping the data.