mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 19:48:20 +00:00
Convert telemetry code to use prometheus-cpp
This commit is contained in:
parent
97a35011a7
commit
a0ae06b3cd
22 changed files with 1517 additions and 1195 deletions
|
@ -811,7 +811,6 @@ SetupResult setup(int argc, char** argv, Options* zopts) {
|
|||
|
||||
RecordType::InitPostScript();
|
||||
|
||||
telemetry_mgr->InitPostScript();
|
||||
iosource_mgr->InitPostScript();
|
||||
log_mgr->InitPostScript();
|
||||
plugin_mgr->InitPostScript();
|
||||
|
@ -820,6 +819,10 @@ SetupResult setup(int argc, char** argv, Options* zopts) {
|
|||
timer_mgr->InitPostScript();
|
||||
event_mgr.InitPostScript();
|
||||
|
||||
// telemetry_mgr has be initialized after broker manager since it might
|
||||
// register for a topic and would fail to do so otherwise.
|
||||
telemetry_mgr->InitPostScript();
|
||||
|
||||
if ( supervisor_mgr )
|
||||
supervisor_mgr->InitPostScript();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue