Skip to content

Commit

Permalink
Update merge aggregator config file in README.md (influxdata#6805)
Browse files Browse the repository at this point in the history
  • Loading branch information
sjwang90 authored and danielnelson committed Jan 8, 2020
1 parent 5b92477 commit d62ff1d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion plugins/aggregators/merge/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 5 additions & 1 deletion plugins/aggregators/merge/merge.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit d62ff1d

Please sign in to comment.