Skip to content

Commit

Permalink
Merge pull request #1303 from dimamedvedev/collect-tags
Browse files Browse the repository at this point in the history
cmd/scollector: send self metrics with tags from config
  • Loading branch information
gbrayut committed Sep 9, 2015
2 parents 0a48d23 + 656d622 commit 4d67930
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/scollector/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ func main() {
if conf.BatchSize != 0 {
collect.BatchSize = conf.BatchSize
}
collect.Tags = opentsdb.TagSet{"os": runtime.GOOS}
collect.Tags = conf.Tags.Copy().Merge(opentsdb.TagSet{"os": runtime.GOOS})
if *flagPrint {
collect.Print = true
}
Expand Down

0 comments on commit 4d67930

Please sign in to comment.