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

Implement RegisteredMetricsFilter (#15) #148

Merged
merged 1 commit into from
Jun 24, 2024
Merged

Conversation

willkg
Copy link
Owner

@willkg willkg commented Jun 24, 2024

This implements a filter that makes it possible to define a set of metrics in an external file and enforce that only those metrics are emitted. This is helpful to reduce typos and improve documentation of metrics.

This takes a structure rather than a path to an external file. In this way, it makes it generic allowing users to define metrics in whatever way they find most convenieng. e.g. JSON, YAML, Python, etc.

Fixes #15.

This implements a filter that makes it possible to define a set of
metrics in an external file and enforce that only those metrics are
emitted. This is helpful to reduce typos and improve documentation of
metrics.

This takes a structure rather than a path to an external file. In this
way, it makes it generic allowing users to define metrics in whatever
way they find most convenieng. e.g. JSON, YAML, Python, etc.
@willkg willkg merged commit 719239d into main Jun 24, 2024
5 checks passed
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.

way to define metrics published and autodocumenting
1 participant