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.
Click to show internal directories.
Click to hide internal directories.