docs: Clarify poll vs notify (#15631)

This commit is contained in:
Joshua Powers 2024-07-17 10:21:02 -06:00 committed by GitHub
parent 3d9562ba91
commit ee2b806d68
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 2 deletions

View File

@ -296,7 +296,8 @@ func runApp(args []string, outputBuffer io.Writer, pprof Server, c TelegrafConfi
},
&cli.StringFlag{
Name: "watch-config",
Usage: "monitoring config changes [notify, poll] of --config and --config-directory options",
Usage: "monitoring config changes [notify, poll] of --config and --config-directory options. " +
"Notify supports linux, *bsd, and macOS. Poll is required for Windows and checks every 250ms.",
},
&cli.StringFlag{
Name: "pidfile",

View File

@ -63,6 +63,8 @@ See the [CONFIGURATION.md][CONFIGURATION.md] for more details.
# pipe = false
## Method used to watch for file updates. Can be either "inotify" or "poll".
## inotify is supported on linux, *bsd, and macOS, while Windows requires
## using poll. Poll checks for changes every 250ms.
# watch_method = "inotify"
## Maximum lines of the file to process that have not yet be written by the

View File

@ -19,6 +19,8 @@
# pipe = false
## Method used to watch for file updates. Can be either "inotify" or "poll".
## inotify is supported on linux, *bsd, and macOS, while Windows requires
## using poll. Poll checks for changes every 250ms.
# watch_method = "inotify"
## Maximum lines of the file to process that have not yet be written by the