mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-25 14:44:32 +02:00
Merge pull request #6290 from jre3brg/opentsdb-metric-names
Fixed opentsdb metric name with colon chars
This commit is contained in:
commit
2d8158ec29
@ -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, ".", "_");
|
||||||
boost::replace_all(result, "\\", "_");
|
boost::replace_all(result, "\\", "_");
|
||||||
|
boost::replace_all(result, ":", "_");
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user