package opentelemetry
import "google.golang.org/grpc/experimental/opentelemetry"
Package opentelemetry is EXPERIMENTAL and will be moved to stats/opentelemetry package in a later release.
Index ¶
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.
Source Files ¶
trace_options.go
- Version
- v1.71.1 (latest)
- Published
- Mar 28, 2025
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 21 hours ago –
Tools for package owners.