Skip to content

Commit 309727c

Browse files
committed
Removed sync_vmm_send_timeout_count + cleaned up
- metric is not used Signed-off-by: Milan Dhaduk <[email protected]> Signed-off-by: LDagnachew <[email protected]>
1 parent 9dcc7a5 commit 309727c

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/vmm/src/logger/metrics.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -354,17 +354,13 @@ pub struct ApiServerMetrics {
354354
pub process_startup_time_us: SharedStoreMetric,
355355
/// Measures the cpu's startup time in microseconds.
356356
pub process_startup_time_cpu_us: SharedStoreMetric,
357-
/// Number of timeouts during communication with the VMM.
358-
pub sync_vmm_send_timeout_count: SharedIncMetric,
359357
}
360358
impl ApiServerMetrics {
361359
/// Const default construction.
362360
pub const fn new() -> Self {
363361
Self {
364362
process_startup_time_us: SharedStoreMetric::new(),
365363
process_startup_time_cpu_us: SharedStoreMetric::new(),
366-
sync_response_fails: SharedIncMetric::new(),
367-
sync_vmm_send_timeout_count: SharedIncMetric::new(),
368364
}
369365
}
370366
}

tests/host_tools/fcmetrics.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,6 @@ def validate_fc_metrics(metrics):
131131
"api_server": [
132132
"process_startup_time_us",
133133
"process_startup_time_cpu_us",
134-
"sync_response_fails",
135-
"sync_vmm_send_timeout_count",
136134
],
137135
"balloon": [
138136
"activate_fails",

0 commit comments

Comments
 (0)