FindPrompts

Go Observability Instrumentation GuidePREMIUM

Instrument a Go service with metrics, structured logs, and distributed tracing using OpenTelemetry and log/slog.

6/11/2026
Prompt
## 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 30,000+ expert-crafted prompts — with Pro.

Unlock with Pro

Command Palette

Search for a command to run...