Skip to content

Commit de9644b

Browse files
committed
Removed log_fails metric
- metric is not used Signed-off-by: Milan Dhaduk <mdhaduk7@gmail.com> Signed-off-by: LDagnachew <leulmdagnachew@gmail.com>
1 parent bcd5697 commit de9644b

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/vmm/src/logger/metrics.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -521,8 +521,6 @@ pub struct LoggerSystemMetrics {
521521
pub metrics_fails: SharedIncMetric,
522522
/// Number of misses on logging human readable content.
523523
pub missed_log_count: SharedIncMetric,
524-
/// Number of errors while trying to log human readable content.
525-
pub log_fails: SharedIncMetric,
526524
}
527525
impl LoggerSystemMetrics {
528526
/// Const default construction.
@@ -531,7 +529,6 @@ impl LoggerSystemMetrics {
531529
missed_metrics_count: SharedIncMetric::new(),
532530
metrics_fails: SharedIncMetric::new(),
533531
missed_log_count: SharedIncMetric::new(),
534-
log_fails: SharedIncMetric::new(),
535532
}
536533
}
537534
}

tests/host_tools/fcmetrics.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,6 @@ def validate_fc_metrics(metrics):
174174
"missed_metrics_count",
175175
"metrics_fails",
176176
"missed_log_count",
177-
"log_fails",
178177
],
179178
"mmds": [
180179
"rx_accepted",

0 commit comments

Comments
 (0)