Metrics publishing not working
With the latest daqling version, the statistics are no longer published I get the errors
ConnectionManager.cpp:86] [daqling::core::ConnectionManager::setupStatsConnection()] Statistics socket is already online... Won't do anything.
[2019-08-27 19:44:32.797] [module] [error] [17292] [DAQProcess.hpp:86] [daqling::core::DAQProcess::setupStatistics()] Connection setup failed for Statistics publishing!
/DAQ/daq/daqling/src/Core/DAQProcess.hpp:45:13: runtime error: load of value 190, which is not a valid value for type 'bool'
This seems to fix it:
diff --git a/src/Core/ConnectionManager.hpp b/src/Core/ConnectionManager.hpp
index ebc19aa..cd317af 100644
--- a/src/Core/ConnectionManager.hpp
+++ b/src/Core/ConnectionManager.hpp
@@ -49,7 +49,7 @@ namespace daqling {
class ConnectionManager : public daqling::utilities::Singleton<ConnectionManager> {
public:
//
- ConnectionManager() : m_is_cmd_setup{false}, m_stop_cmd_handler{false}, m_stop_handlers{false}
+ ConnectionManager() : m_is_cmd_setup{false}, m_is_stats_setup{false}, m_stop_cmd_handler{false}, m_stop_handlers{false}
{
}
~ConnectionManager()
Cheers, Brian