use std::time::Duration;
#[derive(Clone, Default)]
pub struct Metrics;
impl Metrics {
pub fn new() -> Self {
Self
}
pub fn render(&self) -> String {
String::new()
}
pub fn record_http_request(
&self,
_method: &str,
_path: &str,
_status: u16,
_elapsed: Duration,
) {
}
pub fn record_scanner_cycle(&self, _scanner: &'static str, _elapsed: Duration) {}
pub fn set_cancel_backlog_depth(&self, _depth: u64) {}
pub fn record_claim_from_grant(&self, _lane: &str, _elapsed: Duration) {}
pub fn inc_lease_renewal(&self, _outcome: &'static str) {}
pub fn inc_attempt_outcome(&self, _lane: &str, _outcome: super::AttemptOutcome) {}
pub fn inc_worker_at_capacity(&self) {}
pub fn inc_budget_hit(&self, _dimension: &str) {}
pub fn inc_quota_hit(&self, _reason: &'static str) {}
pub fn inc_edge_group_policy(&self, _policy: &'static str) {}
pub fn inc_sibling_cancel_dispatched(&self, _reason: &'static str) {}
pub fn inc_sibling_cancel_disposition(&self, _disposition: &'static str) {}
pub fn inc_sibling_cancel_reconcile(&self, _action: &'static str) {}
pub fn inc_shutdown_timeout(&self) {}
pub fn inc_pending_waitpoint_legacy_token(&self) {}
pub fn inc_backend_unready_boot(&self, _backend: &'static str, _stage: &'static str) {}
}