diff --git a/components/perfdata/graphitewriter.cpp b/components/perfdata/graphitewriter.cpp index bef83e6f3..b679d72ba 100644 --- a/components/perfdata/graphitewriter.cpp +++ b/components/perfdata/graphitewriter.cpp @@ -261,6 +261,7 @@ void GraphiteWriter::SendMetrics(const std::vector& metrics) void GraphiteWriter::SanitizeMetric(String& str) { boost::replace_all(str, " ", "_"); + boost::replace_all(str, ".", "_"); boost::replace_all(str, "-", "_"); boost::replace_all(str, "\\", "_"); boost::replace_all(str, "/", "_");