prometheus disable local db reads

25 views
Skip to first unread message

Johny

unread,
Feb 11, 2021, 1:37:41 PM2/11/21
to Prometheus Users
I am using Prometheus API with remote read from my a proprietary backend. Is there an option to disable reads from local prometheus db just to avoid any duplicate time series in query. I tried flag 'remote_recent=true' but it still fetches from local db as well. There is an additional label in remote read store thats causing duplicates in my case.

thanks
Johny

Julien Pivotto

unread,
Feb 11, 2021, 2:41:05 PM2/11/21
to Johny, Prometheus Users
Which version are you using? You might hit a bug fixed in v2.17.0.

>
> --
> 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 view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/4c46de45-14c0-41e7-b3d4-1863f6314208n%40googlegroups.com.


--
Julien Pivotto
@roidelapluie

Johny

unread,
Feb 15, 2021, 4:29:12 AM2/15/21
to Prometheus Users
I am using 2.17.2. Does 'remote_recent' supposed to work for such cases? Basically I want to disable reading from local db, all time series should be fetched from remote backend.
Reply all
Reply to author
Forward
0 new messages