tag value support blank

This commit is contained in:
UlricQin 2021-07-21 18:11:45 +08:00
parent 562f3ea937
commit 3e22aabe28
1 changed files with 1 additions and 2 deletions

View File

@ -76,8 +76,7 @@ func (m *MetricPoint) Tidy(now int64) error {
if r == '\t' || if r == '\t' ||
r == '\r' || r == '\r' ||
r == '\n' || r == '\n' ||
r == ',' || r == ',' {
r == ' ' {
return '_' return '_'
} }
return r return r