Skip to content

Disable/enable instrumentations #44

@pavolloffay

Description

@pavolloffay

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions