Update merge aggregator config file in README.md (#6805)

This commit is contained in:
Samantha Wang 2020-01-08 10:46:01 -08:00 committed by Daniel Nelson
parent 5b92477603
commit d62ff1d25c
2 changed files with 9 additions and 2 deletions

View File

@ -11,7 +11,10 @@ be handled more efficiently by the output.
```toml ```toml
[[aggregators.merge]] [[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 ### Example

View File

@ -10,7 +10,11 @@ import (
const ( const (
description = "Merge metrics into multifield metrics by series key" 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 { type Merge struct {