mirror of https://github.com/Icinga/icinga2.git
IcingaDB: write new environment to icinga:stats stream
This commit is contained in:
parent
525dd50859
commit
4ade4c757b
|
@ -186,6 +186,7 @@ void IcingaDB::PublishStats()
|
|||
Dictionary::Ptr status = GetStats();
|
||||
status->Set("config_dump_in_progress", m_ConfigDumpInProgress);
|
||||
status->Set("timestamp", TimestampToMilliseconds(Utility::GetTime()));
|
||||
status->Set("icingadb_environment", m_EnvironmentId);
|
||||
|
||||
std::vector<String> query {"XADD", "icinga:stats", "MAXLEN", "1", "*"};
|
||||
|
||||
|
|
Loading…
Reference in New Issue