Struct opentelemetry::sdk::trace::Builder [−][src]
pub struct Builder { /* fields omitted */ }
This is supported on crate feature
trace
only.Expand description
Builder for provider attributes.
Implementations
The SpanExporter
that this provider should use.
pub fn with_batch_exporter<T: SpanExporter + 'static, R: TraceRuntime>(
self,
exporter: T,
runtime: R
) -> Self
pub fn with_batch_exporter<T: SpanExporter + 'static, R: TraceRuntime>(
self,
exporter: T,
runtime: R
) -> Self
The SpanExporter
setup using a default BatchSpanProcessor
that this provider should use.
The SpanProcessor
that this provider should use.
The sdk Config
that this provider will use.
Create a new provider from this configuration.