Skip to content

Commit

Permalink
Fix Apmon backend (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
awegrzyn authored Mar 19, 2021
1 parent 55033b8 commit 01d35c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ endif()

# Define project
project(Monitoring
VERSION 3.7.0
VERSION 3.7.1
DESCRIPTION "O2 Monitoring library"
LANGUAGES CXX
)
Expand Down
2 changes: 1 addition & 1 deletion src/Backends/ApMonBackend.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 01d35c8

Please sign in to comment.