telemetry

package
v1.0.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package telemetry configures OpenTelemetry tracing from the standard OTEL_* environment variables

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup(ctx context.Context, version string) (context.Context, func(context.Context) error, error)

Setup installs the global propagator and, if exporting is configured, a tracer provider. The returned context carries any parent trace context found in TRACEPARENT/TRACESTATE/BAGGAGE. Without an exporter the parent context is still propagated through to the linters.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL