Skip to content

Commit b2ffd3b

Browse files
authored
Merge pull request #277 from sy-c/master
v2.23.2
2 parents 426e76c + d91bdca commit b2ffd3b

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

doc/releaseNotes.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -618,3 +618,6 @@ This file describes the main feature changes for each readout.exe released versi
618618

619619
## v2.23.1 - 06/05/2024
620620
- Fix MySQL 8.0.34 depracation warning for auto-reconnect feature. Functionnality re-implemented locally.
621+
622+
## v2.23.2 - 15/05/2024
623+
- Monitoring: added rolename tag.

src/ConsumerStats.cxx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ using namespace o2::monitoring;
3030
#include <zmq.h>
3131
#endif
3232

33+
extern std::string occRole;
3334
extern tRunNumber occRunNumber;
3435

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

268270
// enable process monitoring
269271
// configuration parameter: | consumer-stats-* | processMonitoringInterval | int | 0 | Period of process monitoring updates (O2 standard metrics). If zero (default), disabled.|

src/ReadoutVersion.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
1111

12-
#define READOUT_VERSION "2.23.1"
12+
#define READOUT_VERSION "2.23.2"
1313

0 commit comments

Comments
 (0)