From e15f8cbb39ce22f1a4257ee4a5a9d5e07ffcfe6d Mon Sep 17 00:00:00 2001 From: amichelo <andrea.michelotti@lnf.infn.it> Date: Tue, 19 Sep 2023 14:40:06 +0200 Subject: [PATCH] fixed removed --- ChaosMetadataService/object_storage/influxDB/InfluxDB.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ChaosMetadataService/object_storage/influxDB/InfluxDB.cpp b/ChaosMetadataService/object_storage/influxDB/InfluxDB.cpp index 58b991b3c..4c4c317be 100644 --- a/ChaosMetadataService/object_storage/influxDB/InfluxDB.cpp +++ b/ChaosMetadataService/object_storage/influxDB/InfluxDB.cpp @@ -165,7 +165,7 @@ static const unsigned int DPCK_DATASET_TYPE_LOG = 7; case DataType::TYPE_DOUBLE: { double d = stored_object.getDoubleValue(*i); if (std::isfinite(d)) { - measurements << c << pref<<*i << "=" << std::fixed<<d; + measurements << c << pref<<*i << "=" << /*std::fixed<<*/d; nmeas++; first++; } @@ -556,7 +556,8 @@ void InfluxDB::push_process() { DBG << "exeeded measurements "<<si.max_mesurements<<" sending " << nmeas << " measurements, " << measurements.str().size() << " bytes, " << nmeas * 1000 / (now - last_insert) << " mesure/s"; } } else { - ERR << "Error sending " << nmeas << " measurements, " << measurements.str().size() << " bytes, " << nmeas * 1000 / (now - last_insert) << " mesure/s, error code:" << ret; + ERR << "Error sending " << nmeas << " measurements, " << measurements.str().size() << " bytes, " << nmeas * 1000 / (now - last_insert) << " mesure/s, error code:" << ret<< " returned:"<<sret; + } last_insert = now; -- GitLab