Sidecar is really slow compared to prometheus HTTP API usage #7873
Replies: 1 comment
-
I found some similar issues and discussions regarding slow performance with Thanos Sidecar:
The slow performance you're experiencing could be due to how Thanos handles query execution. Thanos needs to pull in all data from stores in memory before evaluating a query, which can increase latency. Consider optimizing your configuration settings and exploring the use of distributed query execution to improve performance [4]. |
Beta Was this translation helpful? Give feedback.
-
Hi Team,
I am trying to setup sidecar + querier to fetch data from multiple clusters (Each cluster uses Grafana Mimir). Listing down details of setup:
We are observing very slow performance (15-20s) for queries due to remote read API usage while prometheus HTTP query based federated solution like promxy executes under 3 seconds. Is there something wrong with some my setup/default configuration?
Resource usage for sidecar/querier is not a bottleneck here, utilization stays below 20-30% on memory, CPU is spiky (goes beyond 80%) but below limit .
Sidecar: cpu: 4, memory: 4GB
Querier: cpu: 4, memory: 4GB
Beta Was this translation helpful? Give feedback.
All reactions