Versions in this module Expand all Collapse all v1 v1.1.0 Nov 7, 2026 Changes in this version + const InstrumentationName + func Extract(ctx context.Context, carrier propagation.TextMapCarrier) context.Context + func Inject(ctx context.Context, carrier propagation.TextMapCarrier) + func RecordError(span trace.Span, err error) + func Run(ctx context.Context, name string, fn func(context.Context) error, ...) error + func Start(ctx context.Context, name string, attrs ...attribute.KeyValue) (context.Context, trace.Span) + type Config struct + MeterProvider metric.MeterProvider + MetricReader sdkmetric.Reader + OTLP OTLPConfig + Propagator propagation.TextMapPropagator + ServiceName string + ServiceVersion string + SpanExporter sdktrace.SpanExporter + TracerProvider trace.TracerProvider + type OTLPConfig struct + Endpoint string + Headers map[string]string + Insecure bool + MetricsEndpoint string + Timeout time.Duration + TracesEndpoint string + type Telemetry struct + func New(cfg Config) (*Telemetry, error) + func (t *Telemetry) Middleware() fiber.Handler + func (t *Telemetry) OnShutdown(ctx context.Context) error