You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Code wrapped by effect handler is not analyzed by profilers (such as New Relic and Skylight) properly (e.g. no sql queries data when wrapped in rails controller and complete mess when wrapped with middleware)
To Reproduce
Wrap code by effect handler and introduce some profiler in the app.
Expected behavior
Code is profiled as usual.
Your environment
Affects my production application: YES
Ruby version: 2.7.1
OS: .Ubuntu 20.04
I'm not sure whether it's new relic/skylight problem or dry's, but hope to get some hint at least.
The text was updated successfully, but these errors were encountered:
Hm, it's not a bug, every piece of code relying on Thread.current will need some sort of interoperability with dry-effects. I'll take a look at these libraries for more information.
Describe the bug
Code wrapped by effect handler is not analyzed by profilers (such as New Relic and Skylight) properly (e.g. no sql queries data when wrapped in rails controller and complete mess when wrapped with middleware)
To Reproduce
Wrap code by effect handler and introduce some profiler in the app.
Expected behavior
Code is profiled as usual.
Your environment
I'm not sure whether it's new relic/skylight problem or dry's, but hope to get some hint at least.
The text was updated successfully, but these errors were encountered: