otel-cpp

Official

Fix OpenTelemetry C++ instrumentation safely.

Authortsuga-dev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It helps you correctly add or repair OpenTelemetry (OTel) SDK setup and instrumentation in a verified native C++ codebase so traces, metrics, and logs are consistent and useful in Tsuga.

Core Features & Use Cases

  • C++ OTel setup guidance: configure CMake dependencies, SDK initialization, shutdown/flush, and exporter wiring for OTLP over HTTP or gRPC.
  • Instrumentation correctness guardrails: correct span kinds, status handling, lifecycle management (including span->End() and scope usage), and context propagation requirements.
  • Signal-specific instrumentation patterns: traces, metrics (including Synchronous Gauge), logs (trace-log correlation), and async messaging patterns using MapCarrier and span Links for Kafka/AMQP/SQS.
  • Production-ready anti-pattern prevention: catch common mistakes such as missing global propagator setup, incorrect endpoints, broken shutdown, wrong parent/child relationships for messaging, and span/resource attribute errors.
  • Verification workflow: post-deploy smoke testing to confirm that telemetry signals actually arrive.

Quick Start

Use the otel-cpp skill when your confirmed C++ service needs OTel SDK setup or an instrumentation fix, and ask it to propose the minimal patch and route required changes through the mutation gate.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: otel-cpp
Download link: https://github.com/tsuga-dev/agent-plugins/archive/main.zip#otel-cpp

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.