Skip to content

Commit

Permalink
Insert . between msrmnt and field name in datadog output
Browse files Browse the repository at this point in the history
fixes #600
  • Loading branch information
sparrc committed Jan 28, 2016
1 parent 9d4b55b commit 22d4282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/outputs/datadog/datadog.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func (d *Datadog) Write(metrics []telegraf.Metric) error {
if dogMs, err := buildMetrics(m); err == nil {
for fieldName, dogM := range dogMs {
metric := &Metric{
Metric: mname + strings.Replace(fieldName, "_", ".", -1),
Metric: mname + "." + strings.Replace(fieldName, "_", ".", -1),
Tags: buildTags(m.Tags()),
Host: m.Tags()["host"],
}
Expand Down

0 comments on commit 22d4282

Please sign in to comment.