Fixed opentsdb metric name with colon chars

This commit is contained in:
jre3brg 2018-05-08 09:40:13 +02:00
parent 303d9c61c8
commit 2fd94073ba
1 changed files with 1 additions and 0 deletions

View File

@ -254,6 +254,7 @@ String OpenTsdbWriter::EscapeMetric(const String& str)
boost::replace_all(result, " ", "_");
boost::replace_all(result, ".", "_");
boost::replace_all(result, "\\", "_");
boost::replace_all(result, ":", "_");
return result;
}