diff --git a/CMakeLists.txt b/CMakeLists.txt index 1c0f3bd0..357aeeb0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,7 +31,7 @@ endif() # Define project project(Monitoring - VERSION 3.17.4 + VERSION 3.17.5 DESCRIPTION "O2 Monitoring library" LANGUAGES CXX ) diff --git a/examples/16-AliECS.cxx b/examples/16-AliECS.cxx index b0de85de..bae4fb04 100644 --- a/examples/16-AliECS.cxx +++ b/examples/16-AliECS.cxx @@ -25,7 +25,7 @@ using namespace o2::monitoring; class AliEcsClient { public: AliEcsClient(std::shared_ptr channel) : mStub(o2control::Control::NewStub(channel)) {} - void sendRunDetails(const auto& influxBackend) { + void sendRunDetails(backends::InfluxDB* const influxBackend) { o2control::GetEnvironmentsRequest request; request.set_showall(false); request.set_showtaskinfos(false); @@ -80,7 +80,7 @@ int main(int argc, char* argv[]) { httpTransport->addHeader("Authorization: Token " + vm["influxdb-token"].as()); auto influxdbBackend = std::make_unique(std::move(httpTransport)); for (;;) { - client.sendRunDetails(influxdbBackend); + client.sendRunDetails(influxdbBackend.get()); std::this_thread::sleep_for(std::chrono::seconds(15)); } }