Skip to content

Add registry-level metric name filter to PrometheusRegistry - #1865

Closed
zeitlinger wants to merge 2 commits into
mainfrom
metric-filter
Closed

Add registry-level metric name filter to PrometheusRegistry#1865
zeitlinger wants to merge 2 commits into
mainfrom
metric-filter

Conversation

@zeitlinger

Copy link
Copy Markdown
Member

This is especially helpful when adding instrumentation libraries where you only need a few metrics.

See https://prometheus.github.io/client_java/getting-started/registry/#filtering-metrics (once merged)

Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
@zeitlinger
zeitlinger requested a review from jaydeluca February 10, 2026 10:45
@zeitlinger

Copy link
Copy Markdown
Member Author

@zeitlinger zeitlinger closed this Feb 10, 2026
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.

1 participant