Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upPrometheus Queries are very slow #3234
Comments
This comment has been minimized.
This comment has been minimized.
|
If your retention is 72h, there should be now slowdown creeping up over the course of 2 months. Is it possible that you are putting more querying load onto it than in the past, e.g. via dashboards and more rules? |
This comment has been minimized.
This comment has been minimized.
|
Yes we re doing a lot with queries and alerting. We did a restart for one of the instance and it worked fine after which the 'prometheus_evaluator_duration_seconds' has come down to ~20 seconds. Is the rule evaluation causing the slowness or is it just a symptom of some other issue. |
This comment has been minimized.
This comment has been minimized.
lueliu
commented
Oct 18, 2017
|
I also have problems with slow queries. Then I used other metric name (metrics size same)to query very quickly, all in milliseconds. |
This comment has been minimized.
This comment has been minimized.
|
It makes more sense to ask questions like this on the prometheus-users mailing list rather than in a GitHub issue. On the mailing list, more people are available to potentially respond to your question, and the whole community can benefit from the answers provided. |
brian-brazil
closed this
Oct 18, 2017
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 23, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
jroshanfdo commentedOct 2, 2017
What is the issue?
Prometheus queries are very slow. We have a retention time of 72hours and the queries we pretty much fast for the first two months. Now we see that the same queries are taking so long up to 50 seconds. When i keep executing the same query again and again , i see that the response time varying every time. The number of metrics has also not increased.
Does this has something to do with Rule evaluation.
Because i see that 'prometheus_evaluator_duration_seconds' has gone upto 100 seconds.
What did you expect to see?
Prometheus Queries to be fast.
1.6.1