Instrument a Go service with metrics, structured logs, and distributed tracing using OpenTelemetry and log/slog.
## CONTEXT I want production observability for my Go service covering the three pillars: metrics, logs, and traces. I need OpenTelemetry tracing, Prometheus-style metrics, and structured logging with log/slog, all correlated by trace and request IDs. Assume current OpenTelemetry Go SDK conventions in 2026. ##…
Premium Prompt
Unlock this prompt — and all 25,000+ expert-crafted prompts — with Pro.
Unlock with Pro