mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-25 22:54:57 +02:00
Encode perfdata
This commit is contained in:
parent
933de15c36
commit
08bfbbc070
@ -662,7 +662,7 @@ Dictionary::Ptr RedisWriter::SerializeState(const Checkable::Ptr& checkable)
|
||||
if (cr) {
|
||||
attrs->Set("output", CompatUtility::GetCheckResultOutput(cr));
|
||||
attrs->Set("long_output", CompatUtility::GetCheckResultLongOutput(cr));
|
||||
attrs->Set("performance_data", cr->GetPerformanceData());
|
||||
attrs->Set("performance_data", JsonEncode(cr->GetPerformanceData()));
|
||||
attrs->Set("command", cr->GetCommand());
|
||||
attrs->Set("execution_time", cr->CalculateExecutionTime());
|
||||
attrs->Set("latency", cr->CalculateLatency());
|
||||
|
Loading…
x
Reference in New Issue
Block a user