golang-observability-opentelemetry

Community

Master Go observability: traces, metrics, and logs.

Authorbobmatnyc
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Gaining deep insights into distributed Go applications requires a unified approach to tracing, metrics, and logging. This skill provides comprehensive guidance on instrumenting Go services with OpenTelemetry, Prometheus, and slog for production-ready observability.

Core Features & Use Cases

  • Distributed Tracing (OpenTelemetry): Implements context propagation and span creation for end-to-end request visibility.
  • Prometheus Metrics: Defines and exposes various metric types (counters, gauges, histograms) for performance monitoring.
  • Structured Logging (slog): Configures context-aware, structured logging with JSON output for easy analysis.
  • Health Checks & Graceful Shutdown: Integrates liveness/readiness probes and ensures clean resource teardown.

Quick Start

Use the golang-observability-opentelemetry skill to set up OpenTelemetry tracing for a Go HTTP server, including a custom span for a database operation.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: golang-observability-opentelemetry
Download link: https://github.com/bobmatnyc/termpilot/archive/main.zip#golang-observability-opentelemetry

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository