Skip to content

Commit 9f1cc9d

Browse files
authored
Revert "[OMON-584] Add run type to run stats example (#295)" (#296)
This reverts commit aa0beec.
1 parent aa0beec commit 9f1cc9d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

CMakeLists.txt

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

3232
# Define project
3333
project(Monitoring
34-
VERSION 3.12.11
34+
VERSION 3.12.10
3535
DESCRIPTION "O2 Monitoring library"
3636
LANGUAGES CXX
3737
)

examples/12-KafkaToInfluxDb.cxx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ int main(int argc, char* argv[])
5151
std::cout << stateChange.envinfo().environmentid() << " (" << stateChange.envinfo().runnumber() << ") EOR: from " <<stateChange.envinfo().enterstatetimestamp() << " to " << stateChange.timestamp() << std::endl;
5252
auto metric = Metric{"run_times"}
5353
.addValue(stateChange.envinfo().enterstatetimestamp(), "sor")
54-
.addValue(stateChange.timestamp(), "eor")
55-
.addValue(stateChange.envinfo().runtype(), "type");
54+
.addValue(stateChange.timestamp(), "eor");
5655
int run = stateChange.envinfo().runnumber();
5756
if (run > 1) {
5857
influxdbBackend->sendWithRun(metric, stateChange.envinfo().environmentid(), std::to_string(run));

0 commit comments

Comments
 (0)