ollygarden-otel-go-setup
Installation
SKILL.md
Go SDK Setup Conventions
Recommended import path
For new code, use the root otelconf package (go.opentelemetry.io/contrib/otelconf) — it
tracks the current schema and includes the propagator-from-YAML fix. The schema-pinned
otelconf/v0.3.0 subpackage is for keeping existing configs unchanged.
Project Structure
internal/telemetry/
├── const.go # Service scope and telemetry constants
├── setup.go # SDK initialization (code below)
├── providers.go # Provider management utilities
└── carriers.go # Custom propagation carriers (if needed)
configs/
└── otel.yaml # Declarative configuration