How to get Thanos sidecar use mimir query frontend API rather than remote read endpoint to query metrics #6839
Unanswered
madhu-reddy-peram
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
-
We have set up Thanos querier and thanos sidecar along side mimir instance. When we query metrics from thanos querier, thanos sidecar calls ( /prometheus/api/v1/read) remote prometheus endpoint of mimir. This path is not optimised in mimir to apply query sharding and split of queries. Our read path looks like below.
We want to make use of Mimir query frontend which is optimised to apply query sharding and split of queries based on time window. Is it possible to tweak side car component to call mimir query front end directly using
/api/v1/query
and/api/v1/query_range
endpoints ?I am aware that Thanos query frontend can be used for query sharding and we can apply max parallel querying, vertical sharding and horizontal sharding through config parameters. We intend to not use thanos query frontend.
Beta Was this translation helpful? Give feedback.
All reactions