Closed GlauberrBatista closed 3 months ago
The only way to instrument is by monkey patching Net::HTTP
. Furthermore request
calls itself when the connection is not started. That could explain the conflict. The only solution I see is to disable Net::HTTP
instrumentation from either RorVsWild our DataDog:
# config/rorvswild.yml
production:
api_key: API_KEY
ignore_plugins:
- NetHttp
We were able to make it work. Thank you
Hello, We are trying RoRvsWild APM (currently we use Datadog) but we are facing some issues with spawning the app in production. While we understand that both solutions would conflict for obvious reasons, we don't want to disable Datadog APM during the RoRvsWild trial to avoid missing traces. I recall we had a similar issue when moving from NewRelic to Datadog years ago, but NewRelic had a setting that allowed us to use both APMs.
It seems Datadog is trying to instrument RoRvsWild plugins and we already tried to filter out the spans, but it's only applied during the post-processing step so the instrumentation will happen (or break) anyway.
Do you have any additional config/suggestion/instruction we could use to run both of them?
I'm attaching the stack trace here.