Skip to content
Search
DSL · Telemetry

tracer_provider

Definition

/**
 * Create a TracerProvider.
 *
 * @param SpanProcessor $processor The processor for spans
 * @param ClockInterface $clock The clock for timestamps
 * @param ContextStorage $contextStorage Storage for context propagation
 * @param Sampler $sampler Sampling strategy for spans
 * @param SpanLimits $limits Limits for span attributes, events, and links
 * @param ErrorHandler $errorHandler Handler for runtime Throwables raised by the processor
 */
tracer_provider(SpanProcessor $processor, ClockInterface $clock, ContextStorage $contextStorage, Sampler $sampler, SpanLimits $limits, ErrorHandler $errorHandler) : TracerProvider

Contributors

Built in the open.

Join us on GitHub
scroll back to top