Skip to content

Commit 01d35c8

Browse files
authored
Fix Apmon backend (#236)
1 parent 55033b8 commit 01d35c8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ endif()
1717

1818
# Define project
1919
project(Monitoring
20-
VERSION 3.7.0
20+
VERSION 3.7.1
2121
DESCRIPTION "O2 Monitoring library"
2222
LANGUAGES CXX
2323
)

src/Backends/ApMonBackend.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ void ApMonBackend::send(const Metric& metric)
6868
entity += '=';
6969
(value > 0) ? entity += tags::GetValue(value) : entity += std::to_string(0 - value);
7070
}
71-
if (mRunNumber != 0) convert << ",run=" << mRunNumber;
71+
if (mRunNumber != 0) entity += (",run=" + std::to_string(mRunNumber));
7272

7373
int valueSize = metric.getValuesSize();
7474
char **paramNames, **paramValues;

0 commit comments

Comments
 (0)