golang-observability-opentelemetry

Installation
SKILL.md

Go Observability with OpenTelemetry

Overview

Modern Go applications require comprehensive observability through the three pillars: traces, metrics, and logs. OpenTelemetry provides vendor-neutral instrumentation for distributed tracing, Prometheus offers powerful metrics collection, and Go's slog package (1.21+) delivers structured logging with minimal overhead.

Key Features:

  • πŸ” OpenTelemetry: Distributed tracing with context propagation
  • πŸ“Š Prometheus: Metrics collection with /metrics endpoint
  • πŸ“ Structured Logging: slog with JSON formatting and correlation IDs
  • 🎯 Auto-Instrumentation: HTTP/gRPC middleware patterns
  • πŸ’š Health Checks: Kubernetes-ready readiness/liveness probes
  • πŸ”„ Graceful Shutdown: Clean exporter shutdown and signal handling

When to Use This Skill

Activate this skill when:

  • Instrumenting microservices for production observability
  • Setting up distributed tracing across service boundaries
Related skills
Installs
208
GitHub Stars
43
First Seen
Jan 23, 2026