pub fn record_rpc_request(method: &str, duration_seconds: f64)
Record an RPC request with its duration