question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Use RequestContextManager

See original GitHub issue

Related 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:open
  • Created 5 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
carlosalbertocommented, Nov 13, 2018

@wjoel @yurishkuro I’ve released the 1.0.0 version which supports OT 2.0 😉

Let me know.

0reactions
wjoelcommented, Nov 13, 2018

Any update on this, @yurishkuro or @carlosalberto?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found