docs: Clarify poll vs notify (#15631)
This commit is contained in:
parent
3d9562ba91
commit
ee2b806d68
|
|
@ -295,8 +295,9 @@ func runApp(args []string, outputBuffer io.Writer, pprof Server, c TelegrafConfi
|
|||
Usage: "pprof host/IP and port to listen on (e.g. 'localhost:6060')",
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "watch-config",
|
||||
Usage: "monitoring config changes [notify, poll] of --config and --config-directory options",
|
||||
Name: "watch-config",
|
||||
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",
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue