-
Notifications
You must be signed in to change notification settings - Fork 10
Handle invalid argument, unavailable ErrorCodes (and refactor OTLP+Arrow receiver tests) #15
Conversation
Codecov ReportBase: 90.64% // Head: 90.83% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #15 +/- ##
==========================================
+ Coverage 90.64% 90.83% +0.18%
==========================================
Files 241 241
Lines 13975 13978 +3
==========================================
+ Hits 12668 12697 +29
+ Misses 1065 1042 -23
+ Partials 242 239 -3
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
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.
Few suggestions.
LGTM
Co-authored-by: Laurent Quérel <[email protected]>
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.
I have two non-blocking questions, otherwise this looks great :)
Description:
Changes the Receiver to return StatusMessage responses to the sender for non-gRPC errors. These include:
The adapter library added metrics support in recent PRs, this uncomments the associated receiver handling in this PR. (Exporter handling will be done separately.)
Testing: Improves test structure and coverage for OTLP+Arrow receiver by using a mock Arrow adapter and channels to better distinguish normal shutdown (via context.Cancel) from abnormal shutdown (via gRPC send/recv errors).
Depends on f5/otel-arrow-adapter#52Part of #21.