Replace usage of OpenTracing constants with OpenTelemetry in the domain model#4614
Conversation
Signed-off-by: Afzal Ansari <afzal442@gmail.com>
97fcb4f to
8c3ac14
Compare
Signed-off-by: Afzal <94980910+afzalbin64@users.noreply.github.com>
Signed-off-by: Afzal <94980910+afzalbin64@users.noreply.github.com>
albertteoh
left a comment
There was a problem hiding this comment.
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 <94980910+afzalbin64@users.noreply.github.com>
Signed-off-by: Afzal <94980910+afzalbin64@users.noreply.github.com>
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 <afzal442@gmail.com>
8665372 to
66e0ce9
Compare
albertteoh
left a comment
There was a problem hiding this comment.
LGTM with a tiny nit.
Signed-off-by: Afzal <94980910+afzalbin64@users.noreply.github.com>
Signed-off-by: Afzal <94980910+afzalbin64@users.noreply.github.com>
Signed-off-by: Afzal <94980910+afzalbin64@users.noreply.github.com>
otel trace spans type to span model
Which problem is this PR solving?
otel tracespans type to span modelShort description of the changes
otel tracespans type i.e.ext.SpanKind..withtrace.SpanKind..