Add MySQL server address tag to all measurements

Closes #138
This commit is contained in:
Cameron Sparr
2015-08-25 13:18:33 -06:00
parent 8a6665c03f
commit 94eed9b43c
3 changed files with 14 additions and 4 deletions

View File

@@ -109,7 +109,7 @@ func (m *Memcached) gatherServer(address string, acc plugins.Accumulator) error
values[string(s[1])] = string(s[2])
}
//
// Add server address as a tag
tags := map[string]string{"server": address}
// Process values