Fix WalkTagKeys().

pull/7913/head
Ben Johnson 2016-11-18 09:14:52 -07:00
parent 33412782ed
commit bf89b94d17
No known key found for this signature in database
GPG Key ID: 81741CD251883081
1 changed files with 1 additions and 1 deletions

View File

@ -875,7 +875,7 @@ func (s *Shard) monitor() {
}
for _, m := range s.Measurements() {
for _, k := range m.TagKeys() {
m.WalkTagKeys(func(k string) {
n := m.Cardinality(k)
perc := int(float64(n) / float64(s.options.Config.MaxValuesPerTag) * 100)
if perc > 100 {