Skip to content

Commit

Permalink
plugins/inputs/nats: Rename measurement to "nats"
Browse files Browse the repository at this point in the history
... instead of "nats_varz".
  • Loading branch information
mjs committed Jan 21, 2018
1 parent 9b1233a commit 7dfcc9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/inputs/nats/nats.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func (n *Nats) Gather(acc telegraf.Accumulator) error {
return err
}

acc.AddFields("nats_varz",
acc.AddFields("nats",
map[string]interface{}{
"in_msgs": stats.InMsgs,
"out_msgs": stats.OutMsgs,
Expand Down

0 comments on commit 7dfcc9a

Please sign in to comment.