opentelemetry

package
v1.78.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2025 License: Apache-2.0 Imports: 2 Imported by: 8

Documentation

Overview

Package opentelemetry is EXPERIMENTAL and will be moved to stats/opentelemetry package in a later release.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TraceOptions

type TraceOptions struct {
	// TracerProvider is the OpenTelemetry tracer which is required to
	// record traces/trace spans for instrumentation.  If unset, tracing
	// will not be recorded.
	TracerProvider trace.TracerProvider

	// TextMapPropagator propagates span context through text map carrier.
	// If unset, tracing will not be recorded.
	TextMapPropagator propagation.TextMapPropagator
}

TraceOptions contains the tracing settings for OpenTelemetry instrumentation.