What problem does it solve?
This Skill helps you instrument Go services so failures, latency, and user experience issues are detectable and diagnosable in production rather than discovered via guesswork.
Core Features & Use Cases
- Structured logging with slog: Use JSON logging and context-aware variants to ensure logs correlate cleanly with traces.
- Production-grade metrics with Prometheus: Prefer Histograms for latency percentiles, keep label cardinality bounded, and document metrics with PromQL comments.
- Distributed tracing with OpenTelemetry: Create spans for meaningful operations and propagate context across boundaries for end-to-end visibility.
- Profiling and continuous profiling: Enable pprof securely and use Pyroscope toggles for always-on performance insight.
- RUM and compliance-aware event tracking: Track backend user events, enforce consent, and use a stable user_id identity key.
Quick Start
Instrument your Go service for production monitoring by adding slog JSON logging, Prometheus metrics (including latency histograms with safe labels), OpenTelemetry spans with proper context propagation, and secure profiling/RUM hooks.