diff --git a/lib/perfdata/opentsdbwriter.cpp b/lib/perfdata/opentsdbwriter.cpp index 30de4c46f..1f0f1e5be 100644 --- a/lib/perfdata/opentsdbwriter.cpp +++ b/lib/perfdata/opentsdbwriter.cpp @@ -194,7 +194,7 @@ void OpenTsdbWriter::CheckResultHandler(const Checkable::Ptr& checkable, const C continue; } - String tagname = pair.first; + String tagname = Convert::ToString(pair.first); tags[tagname] = EscapeTag(value); }