package noop

Import Path
	go.opentelemetry.io/otel/trace/noop (on go.dev)

Dependency Relation
	imports 5 packages, and imported by 3 packages

Involved Source Files Package noop provides an implementation of the OpenTelemetry trace API that produces no telemetry and minimizes used computation resources. Using this package to implement the OpenTelemetry trace API will effectively disable OpenTelemetry. This implementation can be embedded in other implementations of the OpenTelemetry trace API. Doing so will mean the implementation defaults to no operation for methods it does not implement.
Package-Level Type Names (total 3)
/* sort by: | */
Span is an OpenTelemetry No-Op Span. Span embedded.Span AddEvent does nothing. AddLink does nothing. End does nothing. IsRecording always returns false. RecordError does nothing. SetAttributes does nothing. SetName does nothing. SetStatus does nothing. SpanContext returns an empty span context. TracerProvider returns a No-Op TracerProvider. Span : go.opentelemetry.io/otel/trace.Span Span : go.opentelemetry.io/otel/trace/embedded.Span
Tracer is an OpenTelemetry No-Op Tracer. Tracer embedded.Tracer Start creates a span. The created span will be set in a child context of ctx and returned with the span. If ctx contains a span context, the returned span will also contain that span context. If the span context in ctx is for a non-recording span, that span instance will be returned directly. Tracer : go.opentelemetry.io/otel/trace.Tracer Tracer : go.opentelemetry.io/otel/trace/embedded.Tracer
TracerProvider is an OpenTelemetry No-Op TracerProvider. TracerProvider embedded.TracerProvider Tracer returns an OpenTelemetry Tracer that does not record any telemetry. TracerProvider : go.opentelemetry.io/otel/trace.TracerProvider TracerProvider : go.opentelemetry.io/otel/trace/embedded.TracerProvider func NewTracerProvider() TracerProvider
Package-Level Functions (only one)
NewTracerProvider returns a TracerProvider that does not record any telemetry.