-
Notifications
You must be signed in to change notification settings - Fork 500
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: add custom attributes to the stats handler #5133
base: main
Are you sure you want to change the base?
Conversation
ce0e777
to
aac80ca
Compare
aac80ca
to
a508d4d
Compare
eacf0ac
to
d594e0c
Compare
d594e0c
to
99ea5ca
Compare
Friendly ping @dashpole @hanyuancheung |
This looks like it does a lot more than just add a labeler. Would you mind doing general refactoring in its own PR? |
e4f7d19
to
c82b0f0
Compare
Sure. I have simplified this PR by adding only the labeler. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you add tests?
instrumentation/google.golang.org/grpc/otelgrpc/stats_handler.go
Outdated
Show resolved
Hide resolved
26b7c36
to
3d28af9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you test the span from the stats handler as well?
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5133 +/- ##
=====================================
Coverage 63.8% 63.9%
=====================================
Files 194 194
Lines 12236 12248 +12
=====================================
+ Hits 7817 7830 +13
+ Misses 4197 4196 -1
Partials 222 222
|
3d28af9
to
2d79ff4
Compare
2d79ff4
to
a6b8d67
Compare
Fixes #3894