Documentation
¶
Overview ¶
OTLP via agent.WithObservabilityConfig — the SDK constructs tracer, metrics, and logs (OTLP log export for the default SDK logger via the slog bridge; internal default batching/export timing).
Run from repo root:
go run ./examples/agent_with_observability/config/
Env: OTEL_EXPORTER_OTLP_ENDPOINT (required), optional OTLP_PROTOCOL=grpc|http, OTLP_INSECURE=true.
Click to show internal directories.
Click to hide internal directories.