record_slo_violation

Function record_slo_violation 

Source
pub fn record_slo_violation(peer_id: &str, slo_type: &str, latency_ms: u64)
Expand description

Record an SLO violation (latency threshold exceeded).

Labels:

  • peer_id: The peer that violated the SLO
  • slo_type: The type of SLO violated (stream_read, peer_op, batch_flush)
  • latency_ms: The actual latency observed