As you can imagine we run many containers within our infrastructure and we want to be able to turn on https://www.ibm.com/docs/en/obi/current?topic=processes-configuring-profiling#ruby. However, as you are probably aware this comes with a performance hit that we are not willing to take across our entire infrastructure in production. What we need is an environment variable added to https://github.com/instana/ruby-sensor similar to how the Python and Go libraries have with INSTANA_AUTO_PROFILE=true. This would allow us to control turning on Profiling when needed to a controlled amount of traffic.
Problem Description
As you can imagine we run many containers within our infrastructure and we want to be able to turn on https://www.ibm.com/docs/en/obi/current?topic=processes-configuring-profiling#ruby. However, as you are probably aware this comes with a performance hit that we are not willing to take across our entire infrastructure in production. What we need is an environment variable added to https://github.com/instana/ruby-sensor similar to how the Python and Go libraries have with
INSTANA_AUTO_PROFILE=true
. This would allow us to control turning on Profiling when needed to a controlled amount of traffic.Minimal, Complete, Verifiable, Example
No response
Gemfile.lock
Ruby Version