Merge pull request #602 from jfhamlin/fix/dogstatsd Fix for dogstatsd metrics with default tags and no labelValues
Peter Bourgon authored
6 years ago
GitHub committed
6 years ago
1 changed file(s) with
1 addition(s)
and
1 deletion(s)
.
Raw diff
Collapse all
Expand all
+1
-1
metrics/dogstatsd/dogstatsd.go
less
more
214
214
}
215
215
216
216
func (d *Dogstatsd) tagValues(labelValues []string) string {
217
if len(labelValues) == 0 {
217
if len(labelValues) == 0 && len(d.lvs) == 0 {
218
218
return ""
219
219
}
220
220
if len(labelValues)%2 != 0 {