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

src/metrics: Support sub-registry by label #13

Closed
mxinden opened this issue Apr 25, 2021 · 2 comments
Closed

src/metrics: Support sub-registry by label #13

mxinden opened this issue Apr 25, 2021 · 2 comments

Comments

@mxinden
Copy link
Member

mxinden commented Apr 25, 2021

Today, one can create a sub-registry with a metric name prefix:

https://github.com/mxinden/rust-open-metrics-client/blob/245cd2f74492e99840119fb11c2b4b82ba95f2d9/src/registry.rs#L158-L189

We should support creating sub-registries either by metric name or constant label(s).

@hdost
Copy link

hdost commented Dec 5, 2021

Looks like this was completed in #20

@mxinden
Copy link
Member Author

mxinden commented Dec 6, 2021

Indeed. Thanks @hdost!

@mxinden mxinden closed this as completed Dec 6, 2021
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

No branches or pull requests

2 participants