faust icon indicating copy to clipboard operation
faust copied to clipboard

Migrate from opentracing to opentelemetry

Open wbarnha opened this issue 3 years ago • 4 comments

The opentracing project is deprecated in favor of opentelemetry. Due to ongoing flaws with opentracing, we have had difficulty troubleshooting particular bugs that rely on the usage of opentracing.Span objects.

We will need to miigrate opentracing usage over to opentelemetry as documented in https://opentelemetry-python.readthedocs.io/en/stable/shim/opentracing_shim/opentracing_shim.html.

wbarnha avatar Oct 12 '22 13:10 wbarnha

👋 (I am one of the maintainers of OpenTelemetry).

We will need to miigrate opentracing usage over to opentelemetry as documented in https://opentelemetry-python.readthedocs.io/en/stable/shim/opentracing_shim/opentracing_shim.html.

Shim is aimed at users who want to use OTLP protocol while the code is still instrumented with OpenTracing and plan for incremental migration in large codebases. I looked at opentracing usage Faust codebase. I think you are better off truly migrating over to OpenTelemetry by directly instrumenting with opentelemetry-api. Let us know if you need any clarification and help with this.

srikanthccv avatar Dec 05 '22 17:12 srikanthccv

Actually, one of my targets for mode-ng is to integrate OpenTelemetry protocol. Of course, long way to go 😭

lqhuang avatar Dec 16 '22 03:12 lqhuang

👋 (I am one of the maintainers of OpenTelemetry).

We will need to miigrate opentracing usage over to opentelemetry as documented in https://opentelemetry-python.readthedocs.io/en/stable/shim/opentracing_shim/opentracing_shim.html.

Shim is aimed at users who want to use OTLP protocol while the code is still instrumented with OpenTracing and plan for incremental migration in large codebases. I looked at opentracing usage Faust codebase. I think you are better off truly migrating over to OpenTelemetry by directly instrumenting with opentelemetry-api. Let us know if you need any clarification and help with this.

Hi @srikanthccv .. if we start using opentelemetry that would be manual instrumentation.. right? since currently it doesnt support automatic instrumentation for faust. My question in other thread was, do we have any method available which can be used as decorator over to span child traces for the same. any lead on this?

Chiraguthra avatar Mar 13 '23 04:03 Chiraguthra