macro_rules! startup_timing {
($phase:expr, $elapsed:expr) => { ... };
($phase:expr, $elapsed:expr, $($arg:tt)+) => { ... };
}Expand description
Record a startup phase duration as both a log line and a Prometheus gauge. Uses gauges (not histograms) since startup only happens once per process.