[][src]Function opentelemetry_otlp::new_pipeline

pub fn new_pipeline() -> OtlpPipelineBuilder

Create a new pipeline builder with the recommended configuration.

Examples

fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync + 'static>> {
    let (tracer, _uninstall) = opentelemetry_otlp::new_pipeline().install()?;

    Ok(())
}