From 0f9613849ad3d705131ab066b31d553b835c8e2e Mon Sep 17 00:00:00 2001 From: toni-moreno Date: Sat, 7 Oct 2017 08:26:01 +0200 Subject: [PATCH] updated description comment --- plugins/aggregators/basicstats/README.md | 2 +- plugins/aggregators/basicstats/basicstats.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/aggregators/basicstats/README.md b/plugins/aggregators/basicstats/README.md index 596f60c11ff18..2e70479f80e55 100644 --- a/plugins/aggregators/basicstats/README.md +++ b/plugins/aggregators/basicstats/README.md @@ -6,7 +6,7 @@ emitting the aggregate every `period` seconds. ### Configuration: ```toml -# Keep the aggregate min/max of each metric passing through. +# Keep the aggregate basicstats of each metric passing through. [[aggregators.basicstats]] ## General Aggregator Arguments: ## The period on which to flush & clear the aggregator. diff --git a/plugins/aggregators/basicstats/basicstats.go b/plugins/aggregators/basicstats/basicstats.go index f7a68d6524956..1f3ae6d9a33cd 100644 --- a/plugins/aggregators/basicstats/basicstats.go +++ b/plugins/aggregators/basicstats/basicstats.go @@ -1,4 +1,4 @@ -package basicstats +cd package basicstats import ( "math" @@ -46,7 +46,7 @@ func (m *BasicStats) SampleConfig() string { } func (m *BasicStats) Description() string { - return "Keep the aggregate min/max of each metric passing through." + return "Keep the aggregate basicstats of each metric passing through." } func (m *BasicStats) Add(in telegraf.Metric) {