From 656d622a1dfbd156b57a9303eb8c24d5794271cc Mon Sep 17 00:00:00 2001 From: Dmitry Medvedev Date: Mon, 7 Sep 2015 00:23:24 +0300 Subject: [PATCH] cmd/scollector: send self metrics with tags from config --- cmd/scollector/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/scollector/main.go b/cmd/scollector/main.go index f5f1f85018..8518106ab3 100644 --- a/cmd/scollector/main.go +++ b/cmd/scollector/main.go @@ -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 }