sidecar/receive questions #6885
Unanswered
calestyo
asked this question in
Questions & Answers
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey there.
I had asked these (and some more questions) before on slack, but there wasn't really much outcome.
When using sidecar to get the data into thanos:
sidecar
need to run locally on the node whereprometheus
runs, or could I just mount the TSDB area from thatprometheus
via e.g.sshfs
ornfs
?I just wonder, because e.g.
prometheus
itself warns from using remote filesystems, as that would allegedly cause corruptions.--web.enable-lifecycle needed
)?What happens if I wouldn’t enabled that?
--web.enable-admin-api
, but that seems to allow admin control over Prometheus, which in principle I wouldn't want.What happens without it?
AFAIU, I could use
receive
to get a true read-only mode (i.e. without the need for--web.enable-admin-api
and/or--web.enable-lifecycle needed
. Actually I’d plan to run one Prometheus instance usingsidecar
and another usingreceive
. Both would scrape the same data and run in HA mode, with the one runningsidecar
being there to not loose any data in case there is some network interruption betweenprometheus
andthanos
.At least it's my understanding that
thanos
would pick up the data from the the compacted TSDB buckets once the connection would be back?!--objstore.config-file
withsidecar
respectivelyreceive
and want(=need) to useFILESYSTEM
a storage backend,... same as above, can I use a remote fs with that (e.g.sshfs
ornfs
)?Thanks,
Chris.
Beta Was this translation helpful? Give feedback.
All reactions