Function ckb_metrics::handle
source · pub fn handle() -> Option<&'static Metrics>Expand description
if metrics service is enabled, handle() will return Some(&'static METRICS)
else will return None
pub fn handle() -> Option<&'static Metrics>if metrics service is enabled, handle() will return Some(&'static METRICS)
else will return None