package
18.0.0-dev.vnet-windows.4+incompatible
Repository: https://github.com/gravitational/teleport.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# 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.

# Structs

Client is a wrapper around an otlptrace.Client that provides a mechanism to close the underlying grpc.ClientConn.
Config stores tracing related properties to customize creating Tracers and extracting TraceContext.

# Interfaces

Option applies an option value for a Config.

# Type aliases

PropagationContext contains tracing information to be passed across service boundaries.