pub fn rate(previous: f64, now: f64, seconds: f64) -> Option<f64>
Events per second between two readings of a counter. A counter that went down means the node restarted: there is no rate for that interval (never a negative one).