mirror of https://github.com/Icinga/icinga2.git
IcingaDB: Add timestamp to stats stream
This commit is contained in:
parent
71ef1de964
commit
5b8b777691
|
@ -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"});
|
||||
|
||||
|
|
Loading…
Reference in New Issue