Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loki API /series can be too slow #2121

Closed
pstibrany opened this issue May 25, 2020 · 0 comments · Fixed by #2123
Closed

Loki API /series can be too slow #2121

pstibrany opened this issue May 25, 2020 · 0 comments · Fixed by #2123

Comments

@pstibrany
Copy link
Member

loki_api_v1_series endpoint fetches chunks serially in batches of 50. This can make it very slow if many chunks need to be fetched.

Here is a screenshot, and trace that triggered an alarm.

Screenshot 2020-05-25 at 08 59 14

5f0d55710be2dbcd.json.txt

cyriltovena pushed a commit to cyriltovena/loki that referenced this issue Jun 11, 2021
* Stop early if done.

Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>

* Include last found value in error message, if any.

Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>

* Don't ignore labels :) Wrong move.

Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant