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

How to add Prefix to Metrics #265

Open
fuergaosi233 opened this issue May 29, 2022 · 2 comments · May be fixed by #472
Open

How to add Prefix to Metrics #265

fuergaosi233 opened this issue May 29, 2022 · 2 comments · May be fixed by #472
Labels
enhancement New feature or request Hacktoberfest

Comments

@fuergaosi233
Copy link

I have a lot of applications that are being punctuated and I would like to add prefixes to them, I am currently adding prefixes to each Metrics manually, is there a uniform way to add them? For example, adding the prefix parameter to the Option.

@pragmaticivan
Copy link
Owner

@fuergaosi233 this library does not currently support prefix. I could support it as a property but the underlying libraries would not be able to support that for metrics. ex: https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/packages/opentelemetry-host-metrics/src

@pragmaticivan pragmaticivan added the enhancement New feature or request label May 29, 2022
@fuergaosi233
Copy link
Author

@fuergaosi233 this library does not currently support prefix. I could support it as a property but the underlying libraries would not be able to support that for metrics. ex: https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/packages/opentelemetry-host-metrics/src

If this option is available, I think it will be enough

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Hacktoberfest
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants