Function opentelemetry_otlp::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(())
}