newrelic-dotnet-agent
newrelic-dotnet-agent copied to clipboard
Option to disable FileSystemWatcher in InstrumentationWatcher
Is your feature request related to a problem? Please describe.
Using the Agent in a docker container with read-only filesystem no new extension files are added after startup. Agent monitors extensions folder using FileSystemWatcher that starts a dedicated thread.
Feature Description
Configuration option to disable FileSystemWatcher from watching extensions folder in InstrumentationWatcher
Additional context
Each FileSystemWatcher creates dedicated thread. This would provide a way to reduce the number of threads (and inotify instances) used by the application for file watchers in case instrumentation changes are not required after startup.
Priority
Nice to Have
https://issues.newrelic.com/browse/NEWRELIC-7520
@recaro thank you for submitting this feature request. I passed this information on to our product manager so that it can be prioritized.