tracing

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: May 7, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Tracing is disabled by default; set LSTK_OTEL=1 to enable it. Spans are exported via OTLP/HTTP to localhost:4318 by default.

To start a local trace backend (Jaeger):

docker compose -f docker-compose.tracing.yaml up -d

Then open http://localhost:16686 to browse traces. Configure the exporter via standard OTel env vars (OTEL_EXPORTER_OTLP_ENDPOINT, etc.), which the SDK reads automatically.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(ctx context.Context, logger log.Logger) func(context.Context) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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