Skip to content

Commit 2cc23e7

Browse files
committed
Removed device_events metric
Signed-off-by: Milan Dhaduk <[email protected]> Signed-off-by: LDagnachew <[email protected]>
1 parent 8773a3e commit 2cc23e7

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/vmm/src/logger/metrics.rs

-3
Original file line numberDiff line numberDiff line change
@@ -799,16 +799,13 @@ impl VcpuMetrics {
799799
/// Metrics specific to the machine manager as a whole.
800800
#[derive(Debug, Default, Serialize)]
801801
pub struct VmmMetrics {
802-
/// Number of device related events received for a VM.
803-
pub device_events: SharedIncMetric,
804802
/// Metric for signaling a panic has occurred.
805803
pub panic_count: SharedStoreMetric,
806804
}
807805
impl VmmMetrics {
808806
/// Const default construction.
809807
pub const fn new() -> Self {
810808
Self {
811-
device_events: SharedIncMetric::new(),
812809
panic_count: SharedStoreMetric::new(),
813810
}
814811
}

tests/host_tools/fcmetrics.py

-1
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,6 @@ def validate_fc_metrics(metrics):
237237
{"exit_mmio_write_agg": latency_agg_metrics_fields},
238238
],
239239
"vmm": [
240-
"device_events",
241240
"panic_count",
242241
],
243242
"uart": [

0 commit comments

Comments
 (0)