-
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
feat: Added OTEL TracerProvider
instead of opentracing.Tracer
for hotROD example app service (Redis)
#4533
Conversation
7784a0a
to
f044b60
Compare
Hi there, currently, it is out of parent context maybe due to spanID. I am not sure why. on it. Update: Redis spans seem to work fine. Previously, it had an issue with instrumenting the layers in a redis service. |
OTEL
traceProvider instead of opentracing.Tracer for hotROD example appTracerProvider
instead of opentracing.Tracer
for hotROD example app service
49c0def
to
9282f60
Compare
Signed-off-by: afzal442 <afzal442@gmail.com>
c2ffb3d
to
917be4d
Compare
Just tested this PR as is - it's a good sign that Redis spans appear to work just fine with the rest of the trace. Should make this easier when we migrate the main Jaeger code base. |
TracerProvider
instead of opentracing.Tracer
for hotROD example app serviceTracerProvider
instead of opentracing.Tracer
for hotROD example app service (Redis)
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## main #4533 +/- ##
==========================================
+ Coverage 97.05% 97.07% +0.01%
==========================================
Files 301 301
Lines 17817 17817
==========================================
+ Hits 17292 17295 +3
+ Misses 421 419 -2
+ Partials 104 103 -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: afzal442 <afzal442@gmail.com>
cb825fc
to
3ec70cb
Compare
Signed-off-by: afzal442 <afzal442@gmail.com> refactors ot span error for tracer ctx
1a9f126
to
7bae608
Compare
I briefly checked the blog post, and I don't think there is an issue with baggage specifically for the |
What would be nice is if we had an integration test for HotROD that was validating all the points being made in the blog post. |
## Which problem is this PR solving? * Part of #3380 * This PR tries to instrument the hotROD app with otel downgrading opentracing. Related #4533 (comment) ## Short description of the changes - Upgrades hotROD application to support `otel tracer` --------- Signed-off-by: Afzal Ansari <afzal442@gmail.com> Signed-off-by: afzal442 <afzal442@gmail.com> Signed-off-by: Afzal <94980910+afzalbin64@users.noreply.github.com> Co-authored-by: Afzal <94980910+afzalbin64@users.noreply.github.com>
Which problem is this PR solving?
OTEL tracerProvider
and removesOT tracer
for Redis service hotROD appBefore:
After: