otel-go

Instrument Go applications with OpenTelemetry for tracing, metrics, and logging.

Updated Feb 18, 2026
One-click install
npx skills add https://github.com/zach-source/claude-plugins --skill otel-go
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: otel-go
Source: https://github.com/zach-source/claude-plugins/tree/main/plugins/cloud-and-observability/skills/otel-go
Command: npx skills add https://github.com/zach-source/claude-plugins --skill otel-go

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers add comprehensive observability to their Go applications, enabling them to understand system behavior through distributed tracing, metrics, and logging.

Core Features & Use Cases

  • Distributed Tracing: Instrument Go applications to trace requests across microservices.
  • Metrics Collection: Generate and export metrics for performance monitoring.
  • Logging: Integrate structured logging with observability pipelines.
  • Context Propagation: Ensure trace context is passed correctly across network calls and function boundaries.
  • Use Case: When debugging a slow or failing microservice, use this Skill to instrument the Go service, enabling you to pinpoint bottlenecks and errors by visualizing the request flow and associated metrics.

Quick Start

Use the otel-go skill to set up the OpenTelemetry SDK for Go with OTLP gRPC exporters.

Frequently Asked Questions about otel-go

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I instrument a Go application for distributed tracing and metrics?

To instrument a Go application for distributed tracing and metrics, set up the OpenTelemetry SDK with OTLP gRPC exporters. This enables context propagation across HTTP and gRPC boundaries while exporting telemetry data to your observability backend.

What is the best way to set up OpenTelemetry in a Go microservice?

The best way to set up OpenTelemetry in a Go microservice is configuring the SDK with OTLP exporters for production environments, or console exporters for local development, ensuring trace context is passed correctly across network calls.

Can I use console exporters for OpenTelemetry in Go during development?

Yes, you can use console exporters for OpenTelemetry in Go during development. The SDK supports console exporters for local testing and OTLP exporters for production, allowing you to generate and export metrics and traces based on your environment.

Does OpenTelemetry for Go support context propagation across gRPC and HTTP calls?

Yes, OpenTelemetry for Go supports context propagation across gRPC and HTTP calls. Integrating the SDK with HTTP and gRPC ensures trace context is passed correctly across network calls and function boundaries for distributed tracing.

How do I debug a slow or failing microservice using Go observability?

To debug a slow or failing microservice using Go observability, instrument the service with distributed tracing and metrics collection. This allows you to pinpoint bottlenecks and errors by visualizing the request flow and associated performance data.