MCPcopy Create free account
hub / github.com/Icinga/icinga2 / EscapeMacroMetric

Method EscapeMacroMetric

lib/perfdata/perfdatawriter.cpp:90–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90Value PerfdataWriter::EscapeMacroMetric(const Value& value)
91{
92 if (value.IsObjectType<Array>())
93 return Utility::Join(value, ';');
94 else
95 return value;
96}
97
98void PerfdataWriter::CheckResultHandler(const Checkable::Ptr& checkable, const CheckResult::Ptr& cr)
99{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected