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) {}
}