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.
Click to show internal directories.
Click to hide internal directories.