-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Switch v1 receivers to use v2 write path #6532
Switch v1 receivers to use v2 write path #6532
Conversation
Signed-off-by: Yuri Shkuro <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6532 +/- ##
==========================================
+ Coverage 96.21% 96.23% +0.02%
==========================================
Files 372 372
Lines 21363 21371 +8
==========================================
+ Hits 20554 20567 +13
+ Misses 616 612 -4
+ Partials 193 192 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
func TestConsumerHelper_Consume_Error(t *testing.T) { | ||
consumerHelper := &consumerHelper{ | ||
batchConsumer: newBatchConsumer(zaptest.NewLogger(t), | ||
&mockSpanProcessor{expectedError: errors.New("mock error")}, |
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.
nit: can leverage assert.AnError
here
Signed-off-by: Yuri Shkuro <[email protected]>
Which problem is this PR solving?
Description of the changes
ptrace.Traces
object is being received by the SpanProcessor.How was this change tested?
good-first-issue
Add e2e unit test for OTLP receiver in jaeger-v1 #6535 to add e2e tests after this