Update merge aggregator config file in README.md (#6805)
This commit is contained in:
parent
5b92477603
commit
d62ff1d25c
|
@ -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
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue