Golang everyday observability — the always-on signals in production. Covers structured logging with slog, Prometheus metrics, OpenTelemetry distributed tracing, continuous profiling with pprof/Pyroscope, server-side RUM event tracking, alerting, and Grafana dashboards. Apply when instrumenting Go services for production monitoring, setting up metrics or alerting, adding OpenTelemetry tracing, correlating logs with traces, migrating legacy loggers (zap/logrus/zerolog) to slog, adding observability to new features, or implementing GDPR/CCPA-compliant tracking with Customer Data Platforms (CDP). Not for temporary deep-dive performance investigation (→ See `samber/cc-skills-golang@golang-benchmark` and `samber/cc-skills-golang@golang-performance` skills).
86
82%
Does it follow best practices?
Impact
94%
1.20xAverage score across 3 eval scenarios
Passed
No known issues
Prometheus metrics instrumentation for HTTP service
Histogram for latency
100%
100%
Base unit: seconds
100%
100%
Counter _total suffix
100%
100%
No high-cardinality labels
100%
100%
Latency per endpoint
100%
100%
Error rate per endpoint
100%
100%
PromQL comments above metrics
0%
100%
No irate in comments
100%
100%
/metrics endpoint
100%
100%
Namespace in metric names
37%
100%
No Summary for latency
100%
100%
Migrate zerolog to slog and add OpenTelemetry tracing
slog JSON handler
100%
100%
LevelInfo for production
0%
100%
Context slog variants
70%
100%
No log-and-return
20%
100%
zerolog removed
100%
100%
otelslog bridge
0%
0%
Spans on service methods
100%
100%
Spans on DB operations
100%
100%
Spans on external HTTP calls
100%
100%
RecordError AND SetStatus
100%
100%
Context propagation on DB
33%
44%
GDPR-compliant analytics and continuous profiling setup
user_id as identity key
100%
100%
No email as identity key
100%
100%
Consent check before tracking
100%
100%
Data deletion endpoint
75%
100%
Data export endpoint
100%
100%
Profiling env var toggle
100%
100%
pprof not on public port
100%
100%
slog for profiling logs
0%
100%
Compliance checklist present
100%
100%
8c7e016
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.