diff --git a/lib/src/system/sys_metrics_processor.cc b/lib/src/system/sys_metrics_processor.cc index d5d616cf6..218bb2d72 100644 --- a/lib/src/system/sys_metrics_processor.cc +++ b/lib/src/system/sys_metrics_processor.cc @@ -69,9 +69,9 @@ sys_metrics_t sys_metrics_processor::get_metrics() uint32_t measure_interval_ms = std::chrono::duration_cast(current_time - last_query_time).count(); - // The time elapsed between 2 measures must be greater that 100 milliseconds. - if (measure_interval_ms < 100u) { - logger.warning("Interval less than 100ms, skipping measurement."); + // The time elapsed between 2 measures must be greater that 10 milliseconds. + if (measure_interval_ms < 10u) { + logger.info("Interval less than 10ms, skipping measurement."); return create_null_metrics(); }