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

Request/response headers as metric dimensions #227

Closed
lucashimizu opened this issue Jan 26, 2022 · 2 comments · Fixed by #251
Closed

Request/response headers as metric dimensions #227

lucashimizu opened this issue Jan 26, 2022 · 2 comments · Fixed by #251
Labels
enhancement New feature or request

Comments

@lucashimizu
Copy link

It would be nice to be able to configure some headers to be picked up as dimensions for a namespace, for example to track user-agent usage or responses from APIs marked with deprecation.

Is there any alternative suggestion for this, currently?

@RustedBones
Copy link
Owner

Hi @lucashimizu,

Unfortunately, there is no easy way to add custom dimensions right now.
I'll keep this in mind for the next major version of the library where I plan to use the TelemetrySpi

@RustedBones
Copy link
Owner

I've just published the 1.7.0-SNAPSHOT artifacts. This should solve your issue. Can you give it a try and let me know ?

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

Successfully merging a pull request may close this issue.

2 participants