-
Notifications
You must be signed in to change notification settings - Fork 66
Description
There are times, especially within cloud environments where environment variables are applied to more processes than desired. This can result in the dotnet agent instrumenting a helper process, when the customer does not want to collect data from that process.
We should consider adding a mechanism to configure a list of process names that should not be instrumented. This configuration should be supported in both an environment variable and configuration file.
In addition to being able to ignore instrumenting certain helper processes, it will also provide a workaround for scenarios where the dotnet agent needs to make changes to its built in list of processes to ignore.
Acceptance Criteria
- A process matching the exact process name (case insensitive) in the process exclude list should not be instrumented.
- Wildcard characters or regex will not be supported.
- A log line should be recorded if a process was not instrumented because of this setting.
- The new setting does not need to be checked in the managed agent, and does not need to be reported in the settings payload.
- This setting should be documented with the rest of our agent settings.
Additional context
Issue #3189 is the motivation for this feature.
Estimates
Please provide initial t-shirt size: M