Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to disable FileSystemWatcher in InstrumentationWatcher #1446

Open
recaro opened this issue Mar 15, 2023 · 2 comments
Open

Option to disable FileSystemWatcher in InstrumentationWatcher #1446

recaro opened this issue Mar 15, 2023 · 2 comments
Labels
community To tag external issues and PRs feature request To tag an issue after triage that is a feature instead of TD

Comments

@recaro
Copy link

recaro commented Mar 15, 2023

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

@workato-integration
Copy link

@github-actions github-actions bot added the community To tag external issues and PRs label Mar 15, 2023
@nrcventura nrcventura added the feature request To tag an issue after triage that is a feature instead of TD label Mar 15, 2023
@nrcventura
Copy link
Member

@recaro thank you for submitting this feature request. I passed this information on to our product manager so that it can be prioritized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community To tag external issues and PRs feature request To tag an issue after triage that is a feature instead of TD
Projects
None yet
Development

No branches or pull requests

3 participants