-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Replace usage of OpenTracing constants with OpenTelemetry in the domain model #4614
Replace usage of OpenTracing constants with OpenTelemetry in the domain model #4614
Conversation
Signed-off-by: Afzal Ansari <[email protected]>
97fcb4f
to
8c3ac14
Compare
Signed-off-by: Afzal <[email protected]>
Signed-off-by: Afzal <[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.
Looks pretty good to me, just a couple of nits.
but the concern is why the unit test is still failing. sorry! |
Ah, based on what I see here:
EDIT: The assertion is in the integration test here Also, my suggestion was incorrect, and should be: assert.Equal(t, "unspecified", spanKind.String()) unless if we don't want to change the original behaviour, which means mapping "unspecified" back to "". |
Signed-off-by: Afzal <[email protected]>
Signed-off-by: Afzal <[email protected]>
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #4614 +/- ##
==========================================
- Coverage 97.07% 97.06% -0.01%
==========================================
Files 301 301
Lines 17876 17877 +1
==========================================
Hits 17353 17353
- Misses 419 420 +1
Partials 104 104
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: Afzal Ansari <[email protected]>
8665372
to
66e0ce9
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.
LGTM with a tiny nit.
Signed-off-by: Afzal <[email protected]>
Signed-off-by: Afzal <[email protected]>
Signed-off-by: Afzal <[email protected]>
otel trace
spans type to span model
Which problem is this PR solving?
otel trace
spans type to span modelShort description of the changes
otel trace
spans type i.e.ext.SpanKind..
withtrace.SpanKind..