python-flask
python-flask copied to clipboard
Does this support OT 2.0 and scope managers?
cc @carlosalberto
It does not yet - I've been working on changes (+ additional cleanups) on v1.0.0
branches for Python instrumentation in contrib
, and I'd expect to have them ready for Flask by the end of the week (already started it).
looking forward to it
@carlosalberto, does this require a FlaskScopeManager
in https://github.com/opentracing/opentracing-python that uses _request_ctx_stack
? I'd be happy to take a crack at that if so.
edit: Looking at the Tornado scope manager, it seemed like this was needed so I made an attempt: https://github.com/opentracing/opentracing-python/pull/105
I'll be sure to open a PR with my tracer changes that source this if adopted in opentracing-python.
@carlosalberto does #23 resolve this one?
ping @carlosalberto
Can't seem to get this working with Flask-Opentracing 1.1.0.