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

Adding Application Name label to All Metrics #468

Open
FrankRua opened this issue Jan 26, 2024 · 0 comments
Open

Adding Application Name label to All Metrics #468

FrankRua opened this issue Jan 26, 2024 · 0 comments

Comments

@FrankRua
Copy link

Challenge:
I want to add a "ApplicationName" that on all my metrics coming out of my .NET Core API, which the consumer is sending me via an HTTP Header.

Purposed Solution:
Something like a middleware where I could have knowledge of the HttpContext and then assign the Label to all the Metrics before pushing to the Metrics Server.

Is there a way to accomplish this right now?

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

1 participant