-
Notifications
You must be signed in to change notification settings - Fork 565
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: Remove high cardinality metric attributes #4322
otelgrpc: Remove high cardinality metric attributes #4322
Conversation
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.
Should the attributes being emitted be tested?
Co-authored-by: Damien Mathieu <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #4322 +/- ##
=====================================
Coverage 80.8% 80.8%
=====================================
Files 150 150
Lines 10366 10367 +1
=====================================
+ Hits 8382 8383 +1
Misses 1840 1840
Partials 144 144
|
IMO they should be tested. Example assertion for
PS. Now we also have |
We should add assertion for the metric attributes.
I'm of two minds on that. There should be something that lets us know if we are emitting the attributes that are appropriate for the current semver, but not so coupled that updating to the next breaks everything. e.g. metrics emits all of metrics attributes, and traces emits rpc.grpc, and rpc.server and maybe also rpc. But we also wouldn't want these tests to break just because we updated to the next semantic convention, that would be toil. That being said there weren't tests of what was produced prior, and I would have updated them if there were. |
On the other hand, it is double-checking (validating) the changes. |
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.
Approving as #4323 is created and added to the next release milestone.
Any updates on when this is going to get merged and released? |
Related to #3536
Closes #3071
This removes Peer attributes from grpc.