pub fn install(
        self,
    ) -> Result<(sdk::trace::Tracer, Uninstall), Box<dyn Error + Send + Sync + 'static>> {
        let tracer_provider = self.build()?;
        let tracer =
            tracer_provider.get_tracer("opentelemetry-jaeger", Some(env!("CARGO_PKG_VERSION")));

        let provider_guard = global::set_tracer_provider(tracer_provider);

        Ok((tracer, Uninstall(provider_guard)))
    }
/// Install a Jaeger pipeline with the recommended defaults.
Install a Jaeger pipeline with the recommended defaults.
Install a Jaeger pipeline with the recommended defaults .
pub fn install(
        self,
    ) -> Result<(sdk::trace::Tracer, Uninstall), Box<dyn Error + Send + Sync + 'static>> {
        let tracer_provider = self.build()?;
        let tracer =
            tracer_provider.get_tracer("opentelemetry-jaeger", Some(env!("CARGO_PKG_VERSION")));
        let provider_guard = global::set_tracer_provider(tracer_provider);
        Ok((tracer, Uninstall(provider_guard)))
    }
pub fn install ( self , ) -> Result < ( sdk :: trace :: Tracer , Uninstall ) , Box < dyn Error + Send + Sync + ' static > > { let tracer_provider = self . build ( ) ? ; let tracer = tracer_provider . get_tracer ( " " , Some ( env ! ( " " ) ) ) ; let provider_guard = global :: set_tracer_provider ( tracer_provider ) ; Ok ( ( tracer , Uninstall ( provider_guard ) ) ) }
Install a Jaeger pipeline with the recommended defaults.
Install a Jaeger pipeline with the recommended defaults .
self
self