Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

new net-stats require a new table (backport #21996) #22000

Merged
merged 1 commit into from
Dec 18, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
new net-stats require a new table (#21996)
(cherry picked from commit 3fe942a)
  • Loading branch information
jbiseda authored and mergify-bot committed Dec 18, 2021
commit a61488e9ad03d3c4e2ebd70172654f3440a6989b
4 changes: 2 additions & 2 deletions core/src/system_monitor_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -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,
Expand Down