Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: unable to turn on Ruby AutoProfiling via the ruby-sensor gem #272

Open
daande opened this issue May 3, 2022 · 1 comment
Open

Comments

@daande
Copy link

daande commented May 3, 2022

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

GIT
  remote: https://github.com/jeremycw/ruby-sensor.git
  revision: a0b4b66aca95caf2fe69eadd52b3afc1ade18d58
  ref: a0b4b66aca95caf2fe69eadd52b3afc1ade18d58
  specs:
    instana (1.208.0)
      concurrent-ruby (>= 1.1)
      oj (>= 3.0.11)
      sys-proctable (>= 1.2.2)

Ruby Version

ruby 2.7.5
@daande
Copy link
Author

daande commented May 3, 2022

Note have created a support request here: https://support.instana.com/hc/en-us/requests/26321

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant