Auto instrumentation can sometimes cause issues. Therefore having a config to disable a specific framework(s) is very useful.
I need this config for the Javaagent but I anticipate it might be useful for other agents as well. In java agent a framework instrumentation can be disabled by -Dotel.instrumentation.aws-sdk.enabled=false".
I propose to add top level config
message AgentConfig {
map<string, boolean> instrumentation = 3;
}
The boolean because in some cases an agent might ship instrumentation that is disabled by default (e.g. produces too much data) so there should be a way to enable it.
Auto instrumentation can sometimes cause issues. Therefore having a config to disable a specific framework(s) is very useful.
I need this config for the Javaagent but I anticipate it might be useful for other agents as well. In java agent a framework instrumentation can be disabled by
-Dotel.instrumentation.aws-sdk.enabled=false".I propose to add top level config
The boolean because in some cases an agent might ship instrumentation that is disabled by default (e.g. produces too much data) so there should be a way to enable it.