python-sqlalchemy icon indicating copy to clipboard operation
python-sqlalchemy copied to clipboard

add parameter to use with flask opentracing

Open qianmoke opened this issue 6 years ago • 1 comments

when flask_tracer is true, use flask_tracer's current span as default span. this helps us tracing easy when using sqlalchemy with flask.

qianmoke avatar May 03 '18 14:05 qianmoke

Hey @qianmoke

This won't be needed as part of the OT 2.0 version (https://github.com/opentracing/opentracing-python/tree/v2.0.0) This will provide active Span management and we won't require to save extra stuff around for detecting the parent Span.

carlosalberto avatar May 15 '18 11:05 carlosalberto