Merge pull request #6290 from jre3brg/opentsdb-metric-names

Fixed opentsdb metric name with colon chars
This commit is contained in:
Michael Friedrich 2018-05-22 15:46:04 +02:00 committed by GitHub
commit 2d8158ec29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;
}