Use RequestContextManager
See original GitHub issueRelated to https://github.com/uber-common/opentracing-python-instrumentation/issues/52
I’m trying to use install_all_patches()
but the instrumentation spans are not attached to the current request, because this module doesn’t use RequestContextManager
. I think this behaviour should be the default or at least easy to setup.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
RequestContextManager (Oracle Communications Services ...
This class is used to create, get and remove the RequestContext object per thread. Constructor Summary. RequestContextManager() ...
Read more >"async with" in Python 3.4 - Stack Overflow
Just don't use the result of session.get() as a context manager; use it as a coroutine directly instead. The request context manager that ......
Read more >RequestContextManager (unify-core 1.1.0 API) - Javadox
Sets the request context for the current executing thread using supplied user session, context path and request path. Adds user session to application ......
Read more >Changelog — aiohttp 4.0.0a2.dev0 documentation
Use asyncio.get_event_loop() instead if the loop instance is needed. ... Add missing slots to `_RequestContextManager and _WSRequestContextManager #5329.
Read more >acachecontrol - PyPI
It is possible to use any cache backend, which should implement OrderedDict interfaces: ... Similarly, you can replace RequestContextManager (assume its ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@wjoel @yurishkuro I’ve released the
1.0.0
version which supports OT 2.0 😉Let me know.
Any update on this, @yurishkuro or @carlosalberto?