pub fn record_agent_error(_: &str, _: &str)
Record an agent error (no-op without metrics feature).
metrics