Option to disable FileSystemWatcher in InstrumentationWatcher #1446
Labels
community
To tag external issues and PRs
feature request
To tag an issue after triage that is a feature instead of TD
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
The text was updated successfully, but these errors were encountered: