-
Notifications
You must be signed in to change notification settings - Fork 806
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
InstrumentationAbstract#setConfig doesn't honor enabled flag #2257
Comments
I think we should respect it when defined, othersiwe consider that it should be enabled |
It might be needed to disable and enable an instrumentation to ensure the new settings are applied everywhere. On the other hand this could cause problems if this includes unpatch and repatch. |
I think automatically enabling/disabling is probably dangerous. Maybe instead we could emit some |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days. |
This issue was closed because it has been stale for 14 days with no activity. |
Enabling of an Instrumentation is done automatically if user is not explicit disabling it. See InstrumentationAbstract constructor
If later config is updated using
setConfig
theconfig.enabled
flag is not evaluated nor defaulted.Should we add defaulting of
enabled
insetConfig
and also callenable
/disable
there? Or is it up to the user?The text was updated successfully, but these errors were encountered: