Skip to content
bobmatnyc avatar

Golang Observability Opentelemetry

Go observability guide covering OpenTelemetry tracing, Prometheus metrics, and slog structured logging for microservices.

CCM score
55 of 100
skills.sh installs
434
GitHub stars
79
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the three pillars: distributed tracing with OpenTelemetry, metrics via a Prometheus /metrics endpoint, and JSON structured logs with slog
  • Includes setup and span patterns for tracer initialization, otelhttp HTTP middleware, and counter, gauge, and histogram metric types
  • Enforces shared trace ID, span ID, and request ID correlation across logs, traces, and metrics
  • Designed for Go microservices that need Kubernetes-ready health checks and clean exporter shutdown

Install

$ npx -y skills add bobmatnyc/claude-mpm-skills --skill golang-observability-opentelemetry -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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

Details

Repository
github.com/bobmatnyc/claude-mpm-skills
Categories
Go, DevOps & Cloud
First seen
Jun 3, 2026

Questions

What does the golang-observability-opentelemetry skill do?

golang-observability-opentelemetry teaches an agent to instrument Go applications with OpenTelemetry for distributed tracing, Prometheus for metrics, and structured logging with slog. It covers tracer setup, creating spans, HTTP middleware instrumentation, and Prometheus metric types such as counters, gauges and histograms.

How do I install the golang-observability-opentelemetry skill?

Run npx -y skills add bobmatnyc/claude-mpm-skills --skill golang-observability-opentelemetry -y in your project. Once installed, golang-observability-opentelemetry lets the agent set up OpenTelemetry tracing and Prometheus metrics in your Go code.

Which Go category skills lead golang-observability-opentelemetry?

golang-observability-opentelemetry ranks in the top 100 of the Go category on Claude Marketplaces. The other Go skills that lead the category are golang-code-style, golang-testing, golang-error-handling, golang-design-patterns and golang-concurrency.

Who should use golang-observability-opentelemetry?

golang-observability-opentelemetry is aimed at Go developers who build microservices and need traces, metrics and logs for production observability. It also suits teams debugging production issues or adding observability to an existing Go application.

More from bobmatnyc/claude-mpm-skills

All 154

Similar to Golang Observability Opentelemetry

More Go