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

Add filter for excluding / including metrics by name prefix #680

Merged
merged 1 commit into from Aug 26, 2021

Conversation

fstab
Copy link
Member

@fstab fstab commented Aug 4, 2021

Sometimes metrics have issues. Some recent example:

With this PR we introduce a "sample name filter" which can be used to include/exclude time series by name, or by name prefix. For example, excluding jvm would exclude all time series starting with jvm.

The "sample name filter" is provided when the exporter is created. The current implementation adds this to two exporters:

  • Providing a "sample name filter" for the HTTPServer, via HTTPServer.Builder.
  • Providing a "sample name filter" for the exporter Servlet, either programmatically or via Servlet configuration.

…efix

Signed-off-by: Fabian Stäber <fabian@fstab.de>
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.

None yet

1 participant