IcingaDB: Add timestamp to stats stream

This commit is contained in:
Noah Hilverling 2019-12-05 10:32:15 +01:00
parent 71ef1de964
commit 5b8b777691
1 changed files with 1 additions and 0 deletions

View File

@ -139,6 +139,7 @@ void IcingaDB::PublishStats()
Dictionary::Ptr status = GetStats();
status->Set("config_dump_in_progress", m_ConfigDumpInProgress);
status->Set("timestamp", TimestampToMilliseconds(Utility::GetTime()));
std::vector<String> eval ({"EVAL", l_LuaPublishStats, "1", "icinga:stats"});