opentelemetry

package
v1.71.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2025 License: Apache-2.0 Imports: 2 Imported by: 6

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL