mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
Merge pull request #5964 from fedepires/fix/opentsdbwriter-host-tag-5963
OpenTSDB writer - Fix function for escaping host tag chars.
This commit is contained in:
commit
777d85cecc
@ -120,7 +120,7 @@ void OpenTsdbWriter::CheckResultHandler(const Checkable::Ptr& checkable, const C
|
||||
String metric;
|
||||
std::map<String, String> tags;
|
||||
|
||||
String escaped_hostName = EscapeMetric(host->GetName());
|
||||
String escaped_hostName = EscapeTag(host->GetName());
|
||||
tags["host"] = escaped_hostName;
|
||||
|
||||
double ts = cr->GetExecutionEnd();
|
||||
|
Loading…
x
Reference in New Issue
Block a user