File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -55,9 +55,16 @@ class Program : public AliceO2::Common::Program
5555 mLogLevel = logLevel;
5656 }
5757
58+ std::string getMonitoringUri ()
59+ {
60+ return MONITORING_URI;
61+ }
62+
5863 private:
5964 InfoLogger::InfoLogger mLogger ;
6065 InfoLogger::InfoLogger::Severity mLogLevel = InfoLogger::InfoLogger::Severity::Info;
66+
67+ const std::string MONITORING_URI = " stdout://" ;
6168};
6269
6370} // namespace CommandLineUtilities
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ class ProgramMetrics : public Program
8080 // Monitoring instance to send metrics
8181 std::unique_ptr<Monitoring> monitoring;
8282 if (mOptions .monitoring ) {
83- monitoring = MonitoringFactory::Get (" stdout:// " );
83+ monitoring = MonitoringFactory::Get (getMonitoringUri () );
8484 monitoring->addGlobalTag (tags::Key::Subsystem, tags::Value::CRU);
8585 }
8686
You can’t perform that action at this time.
0 commit comments