Skip to content

Commit

Permalink
Set default tags in test accumulator
Browse files Browse the repository at this point in the history
closes #1012
  • Loading branch information
sparrc committed Apr 19, 2016
1 parent c737a19 commit 28ddcd6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions agent/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ func (a *Agent) Test() error {
for _, input := range a.Config.Inputs {
acc := NewAccumulator(input.Config, metricC)
acc.SetDebug(true)
acc.setDefaultTags(a.Config.Tags)

fmt.Printf("* Plugin: %s, Collection 1\n", input.Name)
if input.Config.Interval != 0 {
Expand Down

0 comments on commit 28ddcd6

Please sign in to comment.