Fix for dogstatsd metrics with default tags and no labelValues
Signed-off-by: James Hamlin <james@goforward.com>
James Hamlin
6 years ago
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 {
|