From 84be972928f89d34420297b15af8380f0566e33b Mon Sep 17 00:00:00 2001 From: Daniel Nelson Date: Thu, 20 Sep 2018 15:00:05 -0700 Subject: [PATCH] Document that proc/agg/outputs are not run as part of --test --- internal/usage.go | 3 ++- internal/usage_windows.go | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/internal/usage.go b/internal/usage.go index 99db5aebb1754..a49021b43d709 100644 --- a/internal/usage.go +++ b/internal/usage.go @@ -26,7 +26,8 @@ The commands & flags are: --processor-filter filter the processors to enable, separator is : --quiet run in quiet mode --sample-config print out full sample configuration - --test gather metrics, print them out, and exit + --test gather metrics, print them out, and exit; + processors, aggregators, and outputs are not run --usage print usage for a plugin, ie, 'telegraf --usage mysql' --version display the version and exit diff --git a/internal/usage_windows.go b/internal/usage_windows.go index 585c2996f8dce..db5e492a90d21 100644 --- a/internal/usage_windows.go +++ b/internal/usage_windows.go @@ -26,7 +26,8 @@ The commands & flags are: --processor-filter filter the processors to enable, separator is : --quiet run in quiet mode --sample-config print out full sample configuration - --test gather metrics, print them out, and exit + --test gather metrics, print them out, and exit; + processors, aggregators, and outputs are not run --usage print usage for a plugin, ie, 'telegraf --usage mysql' --version display the version and exit