opentelemetry_otlp

Function new_pipeline

source
pub fn new_pipeline() -> OtlpPipeline
Expand description

Create a new pipeline builder with the recommended configuration.

ยงExamples

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

    Ok(())
}