Go observability
Structured logging, distributed tracing, metrics, and health checks for Go services.
Safety check
- Not rated by Claude yet. We only sell skills Claude has read and rated 7 out of 10 or higher, so this one is a free link to its author.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: go-observability
description: >
Structured logging, distributed tracing, metrics, and health checks for Go
services. Covers slog, OpenTelemetry, Prometheus, and observability best
practices. Use when: "add logging", "structured logs", "add tracing",
"OpenTelemetry", "add metrics", "Prometheus", "observability", "instrument
this code".
Not for: pprof profiling (go-performance-review), error handling
(go-error-handling), health endpoints (go-api-design).
user-invocable: true
license: MIT
compatibility: Designed for Claude Code or similar AI coding agents working on Go projects. Requires the Go toolchain.
allowed-tools: Read Edit Write Glob Grep Bash(go:*) Bash(gofmt:*)
metadata:
author: eduardo-sl
version: "1.5.1"
---
# Go Observability
Observability is not optional for production services. Every service must produce
structured logs, expose metrics, and propagate trace context. Use the stdlib
`log/slog` for logging and OpenTelemetry for tracing and metrics.
> Community default. A project skill or agent-config rule that explicitly
> supersedes `go-observability` takes precedence over this one.
Detailed reference material, loaded on demand:
- `references/slog.md` — handler setup, logger injection, child loggers,
`LogValuer` redaction, trace-ID handler, hot paths, runtime levels.
- `references/tracing.md` — tracer provider, spans, propagation, sampling,
profile labels, shutdown.
- `references/metrics.md` — metric definitions, HTTP instrumentation.
- `references/alerting.md` — RED/USE, histograms vs summaries, burn-rate
alerts, alert hygiene, exemplars.
Read a reference file only when the section below is not enough.
...From eduardo-sl's repository, MIT licence.