Need help with ThanosRuler #5852
Unanswered
Migueljfs
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone.
I'm deploying Thanos so we can manage prometheus scraping in two different clusters. One of these clusters is the "primary" one where I have:
On the "secondary" cluster I have only:
In Thanos query:
All these is using GCS Buckets for storage. Both clusters write to the same bucket.
It all is working as expected, I have a "cluster" external label to separate both clusters. However I cannot understand how ThanosRuler is supposed to work here.
I created this manifest:
And applied it to the "primary" cluster but it does not grab alerts/rules from my "secondary" cluster.
What I expected?
I expected ThanosRuler to query my thanos-query-frontend, which will query my thanos-query, which will query my 3 stores configured, local sidecar, remote bucket and remote "secondary" cluster.
And then in Grafana I would be able to use ThanosRuler as a datasource to query alerts for all my clusters.
Do I have ThanosRuler architecture wrong?
Beta Was this translation helpful? Give feedback.
All reactions