package
18.0.0-dev.vnet-windows.4+incompatible
Repository: https://github.com/gravitational/teleport.git
Documentation: pkg.go.dev
# Functions
DefaultProvider returns the global default TracerProvider.
EndSpan ends the given span and if an error has occurred, set's the span's status to error and additionally records the error.
NewClient returns a new Client that uses the provided grpc.ClientConn to connect to the OpenTelemetry exporter.
NewConfig returns a Config configured with all the passed Option.
NewTracer creates a new [oteltrace.Tracer] from the global default [oteltrace.TracerProvider] with the provided name.
PropagationContextFromContext creates a PropagationContext from the given context.Context.
WithPropagationContext injects any tracing information from the given PropagationContext into the given context.Context.
WithTextMapPropagator returns an Option to use the propagation.TextMapPropagator when extracting and injecting trace context.
WithTracerProvider returns an Option to use the trace.TracerProvider when creating a trace.Tracer.
# Constants
TraceParent is the name of the header or query parameter that contains tracing context across service boundaries.
# Interfaces
Option applies an option value for a Config.
# Type aliases
PropagationContext contains tracing information to be passed across service boundaries.