Skip to content

Commit bcd5697

Browse files
committed
Removed deprecated_cmd_line_api_calls metric
- metric is not used Signed-off-by: Milan Dhaduk <[email protected]> Signed-off-by: LDagnachew <[email protected]>
1 parent 309727c commit bcd5697

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
@@ -502,15 +502,12 @@ impl PatchRequestsMetrics {
502502
pub struct DeprecatedApiMetrics {
503503
/// Total number of calls to deprecated HTTP endpoints.
504504
pub deprecated_http_api_calls: SharedIncMetric,
505-
/// Total number of calls to deprecated CMD line parameters.
506-
pub deprecated_cmd_line_api_calls: SharedIncMetric,
507505
}
508506
impl DeprecatedApiMetrics {
509507
/// Const default construction.
510508
pub const fn new() -> Self {
511509
Self {
512510
deprecated_http_api_calls: SharedIncMetric::new(),
513-
deprecated_cmd_line_api_calls: SharedIncMetric::new(),
514511
}
515512
}
516513
}

tests/host_tools/fcmetrics.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@ def validate_fc_metrics(metrics):
143143
"block": block_metrics,
144144
"deprecated_api": [
145145
"deprecated_http_api_calls",
146-
"deprecated_cmd_line_api_calls",
147146
],
148147
"get_api_requests": [
149148
"instance_info_count",

0 commit comments

Comments
 (0)