-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(agent): Enable watching for new files
This allows for watching for new files in a configuraiton directory. When a new file is found, Telegraf will reload with that file added to the list of files to watch. Note this will reload when any file, a telegraf config or not, is added to the directory. TODO: notify type poll does not seem to work, only inotify TODO: test on Windows fixes: #12389 fixes: #12264
- Loading branch information
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters