-
Notifications
You must be signed in to change notification settings - Fork 394
Description
Tracer Version(s)
2.20.0
Ruby Version(s)
C ruby 3.3.6 (2024-11-05 revision 75015d4c1f)
Relevent Library and Version(s)
multiple
Bug Report
I'm creating a new issue since #2348 while still open is 3 years old and reads like it's rack-mini-profiler specific
Since adding gem "datadog", require: "datadog/auto_instrument"
to our Gemfile
our application began, for the first time, regularly experiencing SystemStackError both in production and in development.
In response, we added DD_TRACE_PG_ENABLED=false DD_TRACE_HTTP_ENABLED=false to our spec helper since we couldn't get certain tests to run otherwise without it.
And we removed
rack-mini-profiler
(we tried both the require: ["prepend_pg_patch", "prepend_net_http_patch"]-- this was only ever in the development groupscout_apm
memory_profiler
stackprof
And changed
sniffer
torequire: ["all_prepend"]
per Stack level too deep palkan/isolator#44 and stack level too deep aderyabin/sniffer#64
And we're still experiencing some methods which trigger a SystemStackError from the datadog code such as
gems/datadog-2.20.0/lib/datadog/tracing/span_operation.rb:120:in `name='
This is pretty frustrating that there's all this advice to change how we require other gems, when the one common factor for the SystemStackError we have is the datadog gem
We talked to our DataDog repo and created an internal ticket as well. I'll be sharing this GitHub issue with them.
Reproduction Code
No response
Configuration Block
No response
Error Logs
No response
Operating System
No response
How does Datadog help you?
No response