From 91657ba8fe8f632376c7c9f030c87accd7b9ed75 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Sat, 18 Dec 2021 10:26:16 +0000 Subject: [PATCH] new net-stats require a new table (#21996) (#22000) (cherry picked from commit 3fe942ab301912b6c02caf04465d8e4f4535004a) Co-authored-by: Jeff Biseda --- core/src/system_monitor_service.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/system_monitor_service.rs b/core/src/system_monitor_service.rs index 6e5d519bda2400..06ce178218dd98 100644 --- a/core/src/system_monitor_service.rs +++ b/core/src/system_monitor_service.rs @@ -15,7 +15,7 @@ use { }; const MS_PER_S: u64 = 1_000; -const SAMPLE_INTERVAL_UDP_MS: u64 = 60 * MS_PER_S; +const SAMPLE_INTERVAL_UDP_MS: u64 = 2 * MS_PER_S; const SAMPLE_INTERVAL_MEM_MS: u64 = MS_PER_S; const SLEEP_INTERVAL: Duration = Duration::from_millis(500); @@ -130,7 +130,7 @@ impl SystemMonitorService { #[cfg(target_os = "linux")] fn report_udp_stats(old_stats: &UdpStats, new_stats: &UdpStats) { datapoint_info!( - "net-stats", + "net-stats-validator", ( "in_datagrams_delta", new_stats.in_datagrams - old_stats.in_datagrams,