Skip to content

UI: More inclusive metadata handling for _count/_sum/_bucket suffixes#16910

Merged
Nexucis merged 1 commit intomainfrom
better-metadata-fetching-issue-16907
Jul 24, 2025
Merged

UI: More inclusive metadata handling for _count/_sum/_bucket suffixes#16910
Nexucis merged 1 commit intomainfrom
better-metadata-fetching-issue-16907

Conversation

@juliusv
Copy link
Member

@juliusv juliusv commented Jul 23, 2025

Although these suffixes always need to be removed before querying metadata for metrics that follow the Prometheus naming best practices, there can also be metrics that don't follow these naming practices and have these suffixes without being part of either a histogram or a summary metric.

Fixes #16907

Although these suffixes always need to be removed before querying metadata for
metrics that follow the Prometheus naming best practices, there can also be
metrics that don't follow these naming practices and have these suffixes
without being part of either a histogram or a summary metric.

Fixes #16907

Signed-off-by: Julius Volz <julius.volz@gmail.com>
@juliusv juliusv force-pushed the better-metadata-fetching-issue-16907 branch from 4eb6f0c to 613aa46 Compare July 23, 2025 12:00
@Nexucis Nexucis merged commit 13b55ff into main Jul 24, 2025
45 checks passed
@Nexucis Nexucis deleted the better-metadata-fetching-issue-16907 branch July 24, 2025 11:54
@stevewatanabe
Copy link

Thank you @juliusv and team for the quick resolution of this issue.

tcp13equals2 pushed a commit to tcp13equals2/prometheus that referenced this pull request Aug 18, 2025
…prometheus#16910)

Although these suffixes always need to be removed before querying metadata for
metrics that follow the Prometheus naming best practices, there can also be
metrics that don't follow these naming practices and have these suffixes
without being part of either a histogram or a summary metric.

Fixes prometheus#16907

Signed-off-by: Julius Volz <julius.volz@gmail.com>
Signed-off-by: Andrew Hall <andrew.hall@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 this pull request may close these issues.

"Explore metrics" ignores TYPE/HELP for non-histogram/summary stat name ending with "_count"

3 participants