go-otel-instrumentation

Community

Set up OpenTelemetry in Go for observability.

AuthorPremModhaOfficial
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill simplifies integrating OpenTelemetry tooling into Go services to enable comprehensive tracing, metrics, and logging.

Core Features & Use Cases

  • Tracer and Metric Setup: Automates creation of TracerProvider and MeterProvider with default or custom configurations.
  • Resource Construction: Provides patterns for building resource attributes for service identification and environment specification.
  • Trace Propagation: Implements injecting and extracting trace context via NATS headers.
  • Structured Logging: Enhances logs with trace and span identifiers for better observability.
  • Use Case: Used during SDK design, implementation, and code review to ensure full observability coverage in Go microservices.

Quick Start

Implement OpenTelemetry setup code for your Go service to establish tracing, metrics, and logging, integrating trace propagation across NATS messaging.

Dependency Matrix

Required Modules

otelgo.opentelemetry.io/otelnats.go

Components

scriptsreferences

💻 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: go-otel-instrumentation
Download link: https://github.com/PremModhaOfficial/sdk-pipeline/archive/main.zip#go-otel-instrumentation

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

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.