Mimir query is slower then Prometheus #3634
Unanswered
kpinarci
asked this question in
Help and support
Replies: 1 comment 2 replies
-
👋 Hi! Sorry for the late reply. This discussion slipped unnoticed. Mimir is not magic. Under the hood it runs the same PromQL engine used by Prometheus (in order to guarantee 💯 query language compatibility). So, what's the Mimir strength? Mimir is a distributed system and can be scaled horizontally. You can distribute the workload across multiple CPU cores and machines, going beyond a single machine vertical scalability limit. Where to start to squeeze out Mimir performance?
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Mimir query is slower than Prometheus
Deployment Environment
docker-compose
mimir config file
Our Purpose
Currently, we have a Prometheus instance that scrapes multiple targets (~300) it all works wonderfully until we set queries that have a larger time period. We would like to keep the metrics until 1 year, if we set the retention policy on Prometheus to 1 year it takes a very long time to display the metrics. That because of that, we want to test Grafana Mimir. According to the documentation, Grafana Mimir can display the long-term metrics much faster. We have installed Grana Mimir as a monolith mode as a docker container with one instance. We migrated the existing metrics from Prometheus to Mimir using the Mimirtool. After the migration, we gave Mimir enough time to process the data using the Compactor. In the process, we encountered the following issues.
Problem No. 1
The queries with Grafna Mimir take much longer than with Prometheus.
Problem No. 2
After migrating the data from Prometheus, the dashboards could not be displayed, in Grafana we get the following message:
Mimir container logs:
What exactly is going wrong here?
Stats
I look forward to hearing back from you! Thanks in advance! :)
Beta Was this translation helpful? Give feedback.
All reactions