Skip to content

Commit

Permalink
Merge pull request #277 from sy-c/master
Browse files Browse the repository at this point in the history
v2.23.2
  • Loading branch information
sy-c authored May 15, 2024
2 parents 426e76c + d91bdca commit b2ffd3b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions doc/releaseNotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -618,3 +618,6 @@ This file describes the main feature changes for each readout.exe released versi

## v2.23.1 - 06/05/2024
- Fix MySQL 8.0.34 depracation warning for auto-reconnect feature. Functionnality re-implemented locally.

## v2.23.2 - 15/05/2024
- Monitoring: added rolename tag.
2 changes: 2 additions & 0 deletions src/ConsumerStats.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ using namespace o2::monitoring;
#include <zmq.h>
#endif

extern std::string occRole;
extern tRunNumber occRunNumber;

class ConsumerStats : public Consumer
Expand Down Expand Up @@ -264,6 +265,7 @@ class ConsumerStats : public Consumer
theLog.log(LogInfoDevel_(3002), "Monitoring enabled - period %.2fs - using %s", monitoringUpdatePeriod, configURI.c_str());
monitoringCollector = MonitoringFactory::Get(configURI.c_str());
monitoringCollector->addGlobalTag(tags::Key::Subsystem, tags::Value::Readout);
monitoringCollector->addGlobalTag("rolename", occRole);

// enable process monitoring
// configuration parameter: | consumer-stats-* | processMonitoringInterval | int | 0 | Period of process monitoring updates (O2 standard metrics). If zero (default), disabled.|
Expand Down
2 changes: 1 addition & 1 deletion src/ReadoutVersion.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
// granted to it by virtue of its status as an Intergovernmental Organization
// or submit itself to any jurisdiction.

#define READOUT_VERSION "2.23.1"
#define READOUT_VERSION "2.23.2"

0 comments on commit b2ffd3b

Please sign in to comment.