-
Notifications
You must be signed in to change notification settings - Fork 591
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
otelgrpc: Allow adding custom attributes to otelgrpc metrics #3894
Comments
I see that the new |
Any updates on this? Had to copy-paste stats handler and allow custom attributes to be passed outside. |
I believe a similar approach to what's being done in net/http (the Labeler mentioned in the issue's description) would be fine, if you want to open a PR. |
Hi, is there any update on this :D it is really useful for our usecase to tag extra labels to our grpc traffic |
Problem Statement
The
otelgrpc
instrumentation does not allow adding custom attributes to the metrics.Proposed Solution
The
otelhttp
instrumentation, for example, provides a labeler for adding custom attributes.The text was updated successfully, but these errors were encountered: