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

AutoComplete/Template Variables: Prometheus auto-complete and template variables can be very slow to load on large clusters #87871

Open
harry671003 opened this issue May 14, 2024 · 2 comments

Comments

@harry671003
Copy link

harry671003 commented May 14, 2024

What happened?

When a Prometheus compatible data source such as Cortex is used with millions of time series, the Grafana auto-complete and template variables can be very slow to load.

Screen.Recording.2024-05-14.at.1.49.09.PM.mov

What did you expect to happen?

Auto complete is expected to be much quicker to be useful to the users of Grafana.

Did this work before?

No response

How do we reproduce it?

Video recording attached.

Is the bug inside a dashboard panel?

No response

Environment (with versions)?

Grafana: Amazon Managed Grafana
OS: Mac OS X
Browser: Firefox

Grafana platform?

Other

Datasource(s)?

Prometheus

@harry671003
Copy link
Author

Recently Prometheus has introduced a new LIMIT parameter for the metadata APIs.
prometheus/prometheus#13396

Also see the HTTP reference:

Would it be a good idea to pass a configurable limit (eg: 10K) when calling these APIs in auto-complete?

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

No branches or pull requests

1 participant