Function ckb_metrics_service::init [−][src]
pub fn init(config: Config, handle: Handle) -> Result<Guard, String>
Initializes the metrics service and lets it run in the background.
Returns Guard if succeeded, or an String
to describes the reason for the failure.