[Feature Request] [Prometheus]: Remove limits for metrics browser #40479
Replies: 2 comments 3 replies
-
Thank you for creating the issue, I am moving it to discussions where we are collecting all feature requests and discussions. |
Beta Was this translation helpful? Give feedback.
3 replies
-
Implemented in #40660 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What happened:
The prometheus metrics browser currently has a hardcoded limit of 10k labels and 50k values. Our prometheus deployment has ~160k metrics. In practice, this means that the metrics browser cannot reliably be used to build a query, since > 2/3rds of the metrics cannot be viewed or selected from the metrics browser.
This also leads to inconsistent behavior between the metrics browser and the query editor, since #39363 means that the PromQL Query Editor no longer limits suggestions.
In the video below you can see that I have a bunch of metrics named
zookeeper_*
. From the PromQL Query Editor I am able to write a query against these metrics, but from the metric browser, I cannot. The metric browser truncates the metrics list at 50k, which for our metrics is still in the "a"s.13-21-4pybe-v2ve6.mov
What you expected to happen:
The metrics browser allows me to build a query against my existing metrics, labels, and values.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
FixedSizeList
, so they are virtualized in the DOM. Only labels are not virtualized.Environment:
Beta Was this translation helpful? Give feedback.
All reactions