-
Notifications
You must be signed in to change notification settings - Fork 399
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
Disable options for instrumented modules in newrelic.yml #614
Comments
Thank you for the feature-request. We'll get this in front of the PM for consideration and prioritization. We have an experimental branch where we have played with this concept but have not yet prioritized turning into official support. One thing worth noting as we consider this support... turning off any specific piece of instrumentation may currently cause transaction state loss. So the feature would need to come with some clear warnings / safety measures. |
This is still valid and we have talked about doing this a lot more recently. We need to get this prioritized as most other language have this ability |
We have added this here. This is a use at your own risk as context may not be propagated accordingly |
Feature Description
Added option into
newrelic.yml
config, which would disable instrumentation of required module in the app. There is no easy way(except one describe bellow), how you can disable the instrumented module. It is possible for example in Ruby agent(see the option to disable mongo).The structure can be done the same as in Ruby or any other way.
Describe Alternatives
I found one workaround here. But it didn't work if the required module in not in your code but in code of some dependency package.
Priority
Really Want
The text was updated successfully, but these errors were encountered: