diff --git a/CMakeLists.txt b/CMakeLists.txt index bd569543..d341c6c4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,7 +17,7 @@ endif() # Define project project(Monitoring - VERSION 3.7.0 + VERSION 3.7.1 DESCRIPTION "O2 Monitoring library" LANGUAGES CXX ) diff --git a/src/Backends/ApMonBackend.cxx b/src/Backends/ApMonBackend.cxx index e415f5e3..8204f471 100644 --- a/src/Backends/ApMonBackend.cxx +++ b/src/Backends/ApMonBackend.cxx @@ -68,7 +68,7 @@ void ApMonBackend::send(const Metric& metric) entity += '='; (value > 0) ? entity += tags::GetValue(value) : entity += std::to_string(0 - value); } - if (mRunNumber != 0) convert << ",run=" << mRunNumber; + if (mRunNumber != 0) entity += (",run=" + std::to_string(mRunNumber)); int valueSize = metric.getValuesSize(); char **paramNames, **paramValues;