diff --git a/plugins/aggregators/merge/README.md b/plugins/aggregators/merge/README.md index 58fa47bbd..6f959a1e8 100644 --- a/plugins/aggregators/merge/README.md +++ b/plugins/aggregators/merge/README.md @@ -11,7 +11,10 @@ be handled more efficiently by the output. ```toml [[aggregators.merge]] - # no configuration + ## If true, the original metric will be dropped by the + ## aggregator and will not get sent to the output plugins. + drop_original = true + ``` ### Example diff --git a/plugins/aggregators/merge/merge.go b/plugins/aggregators/merge/merge.go index 6a1e82911..8d36681f2 100644 --- a/plugins/aggregators/merge/merge.go +++ b/plugins/aggregators/merge/merge.go @@ -10,7 +10,11 @@ import ( const ( description = "Merge metrics into multifield metrics by series key" - sampleConfig = "" + sampleConfig = ` + ## If true, the original metric will be dropped by the + ## aggregator and will not get sent to the output plugins. + drop_original = true + ` ) type Merge struct {