From fe0b964d3e7004f39ab0870dd4d25ca5fb39a1e8 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 99db5aebb..a49021b43 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 585c2996f..db5e492a9 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