package observ

Import Path
	go.opentelemetry.io/otel/sdk/trace/internal/observ (on go.dev)

Dependency Relation
	imports 12 packages, and imported by one package

Involved Source Files batch_span_processor.go Package observ provides observability instrumentation for the OTel trace SDK package. simple_span_processor.go tracer.go
Package-Level Type Names (total 3)
/* sort by: | */
BSP is the instrumentation for an OTel SDK BatchSpanProcessor. (*BSP) Processed(ctx context.Context, n int64) (*BSP) ProcessedQueueFull(ctx context.Context, n int64) (*BSP) Shutdown() error func NewBSP(id int64, qLen func() int64, qMax int64) (*BSP, error)
SSP is the instrumentation for an OTel SDK SimpleSpanProcessor. SpanProcessed records that a span has been processed by the SimpleSpanProcessor. If err is non-nil, it records the processing error as an attribute. func NewSSP(id int64) (*SSP, error)
Tracer is instrumentation for an OTel SDK Tracer. ( Tracer) Enabled() bool ( Tracer) SpanEnded(ctx context.Context, span trace.Span) ( Tracer) SpanLive(ctx context.Context, span trace.Span) ( Tracer) SpanStarted(ctx context.Context, psc trace.SpanContext, span trace.Span) func NewTracer() (Tracer, error)
Package-Level Functions (total 5)
BSPComponentName returns the component name attribute for a BatchSpanProcessor with the given ID.
func NewBSP(id int64, qLen func() int64, qMax int64) (*BSP, error)
NewSSP returns instrumentation for an OTel SDK SimpleSpanProcessor with the provided ID. If the experimental observability is disabled, nil is returned.
SSPComponentName returns the component name attribute for a SimpleSpanProcessor with the given ID.
Package-Level Variables (only one)
ErrQueueFull is the attribute value for the "queue_full" error type.
Package-Level Constants (total 2)
SchemaURL is the schema URL of the instrumentation.
ScopeName is the name of the instrumentation scope.