Skip to main content

init_obs

Function init_obs 

Source
pub async fn init_obs(
    endpoint: Option<String>,
) -> Result<OtelGuard, GlobalError>
Expand description

Initialize the observability module

§Parameters

  • config: Configuration information

§Returns

A tuple containing the logger and the telemetry guard

§Example