Agent Skill
2/7/2026otel-instrumentation
Instrument applications with OpenTelemetry SDK and validate telemetry using Kopai. Use when setting up observability, adding tracing/logging/metrics, testing instrumentation, or debugging missing telemetry data.
A
allthingslinux
0GitHub Stars
1Views
npx skills add allthingslinux/atl.services
SKILL.md
| Name | otel-instrumentation |
| Description | Instrument applications with OpenTelemetry SDK and validate telemetry using Kopai. Use when setting up observability, adding tracing/logging/metrics, testing instrumentation, or debugging missing telemetry data. |
name: otel-instrumentation description: Instrument applications with OpenTelemetry SDK and validate telemetry using Kopai. Use when setting up observability, adding tracing/logging/metrics, testing instrumentation, or debugging missing telemetry data. license: Apache-2.0 metadata: author: kopai version: "1.0.0"
OpenTelemetry Instrumentation with Kopai
Guide for instrumenting applications with OpenTelemetry SDK and validating telemetry locally using Kopai.
Quick Reference
# Start backend
npx @kopai/app start
# Configure app
export OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318
export OTEL_SERVICE_NAME=my-service
# Validate telemetry
npx @kopai/cli traces search --service my-service --json
npx @kopai/cli logs search --service my-service --json
npx @kopai/cli metrics discover --json
Rules
1. Setup (CRITICAL)
setup-backend- Start Kopai Backendsetup-environment- Configure Environment
2. Language SDKs (HIGH)
lang-nodejs- Node.js Instrumentationlang-python- Python Instrumentationlang-go- Go Instrumentationlang-java- Java Instrumentationlang-dotnet- .NET Instrumentationlang-ruby- Ruby Instrumentationlang-php- PHP Instrumentationlang-rust- Rust Instrumentationlang-erlang- Erlang/Elixir Instrumentationlang-cpp- C++ Instrumentation
3. Validation (HIGH)
validate-traces- Validate Tracesvalidate-logs- Validate Logsvalidate-metrics- Validate Metrics
4. Troubleshooting (MEDIUM)
troubleshoot-no-data- No Data Receivedtroubleshoot-missing-spans- Missing Spanstroubleshoot-missing-attrs- Missing Attributestroubleshoot-wrong-port- Wrong Port
Read rules/<rule-name>.md for details.
References
- cli-reference - Kopai CLI command reference
- otel-docs - OpenTelemetry documentation links
Skills Info
Original Name:otel-instrumentationAuthor:allthingslinux
Download