[−][src]Function ckb_metrics_service::init
pub fn init(config: Config) -> 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.