opentracing-tutorial icon indicating copy to clipboard operation
opentracing-tutorial copied to clipboard

FlaskTracer vs opentracing.tracer

Open ror6ax opened this issue 7 years ago • 1 comments

https://github.com/yurishkuro/opentracing-tutorial/blob/master/python/lesson03/solution/formatter.py#L12 fails if tracer is FlaskTracer with 'FlaskTracer' object has no attribute '_noop_span_context'. Could we add some distinction between the two tracer objects?

ror6ax avatar Jan 10 '18 15:01 ror6ax

sorry, I don't follow. The line you point to is a standard OpenTracing API usage, it knows nothing about "FlaskTracer" or "_noop_span_context".

yurishkuro avatar Jan 10 '18 17:01 yurishkuro