Expert OpenTelemetry guidance for collector configuration, pipeline design, and production telemetry instrumentation. Use when configuring collectors, designing pipelines, instrumenting applications, implementing sampling, managing cardinality, securing telemetry, writing OTTL transformations, or setting up AI coding agent observability (Claude Code, Codex, Gemini CLI, GitHub Copilot).
93
97%
Does it follow best practices?
Impact
85%
7.08xAverage score across 4 eval scenarios
Passed
No known issues
The opentelemetry-skill is an AI assistant skill designed to help with OpenTelemetry configuration and observability engineering tasks. This skill employs progressive disclosure to optimize context usage and deliver production-ready OpenTelemetry configurations.
This repository contains the source code for the OpenTelemetry Skill tile released by Tessl.
Comprehensive Coverage: Specialized reference docs covering collector architecture, security, sampling, AI agents, and compatibility
Production Focus: Emphasizes stability, security, and cost optimization patterns
AI Agent Support: Configuration guidance for monitoring AI coding agents alongside traditional applications
Progressive Loading: Context-aware reference loading prevents information overload
Continuous Updates: Automated upstream monitoring tracks OpenTelemetry releases and AI agent repositories
Unlike loading the entire OpenTelemetry documentation into an AI's context (which leads to hallucinations and information overload), this skill acts as a cognitive router:
SKILL.md acts as the cognitive router — a compact instruction set that tells the AI how to reason about observability before generating any output. docs/index.md is the tile's on-demand documentation entrypoint for Tessl, and references/ contains the deep-dive documents that the skill links to when specific topics are triggered.
Install this skill with the skills.sh CLI:
npx skills add o11y-dev/opentelemetry-skillInstall this tile from the Tessl registry (workspace: o11y-dev):
tessl tile install o11y-dev/opentelemetry-skillAttach SKILL.md as a custom instructions file, or reference the repository as a Copilot Skill in your Copilot settings: https://github.com/o11y-dev/opentelemetry-skill
Add SKILL.md to your project knowledge or paste it into your system prompt.
Plugin manifests are available in .cursor-plugin/ for use with the Cursor marketplace.
Point your agent at SKILL.md as the primary instruction set, with references/ available for context loading.
opentelemetry-skill/
├── .claude-plugin/
│ └── marketplace.json # Plugin metadata
├── .cursor-plugin/
│ ├── marketplace.json # Cursor marketplace metadata
│ └── plugin.json # Cursor plugin manifest
├── docs/
│ └── index.md # Tessl docs entrypoint for bundled references and eval assets
├── SKILL.md # Cognitive router (the "brain")
├── README.md # This file
├── references/
│ ├── ai-agents.md # AI agent observability patterns & configurations
│ ├── architecture.md # Deployment patterns & scaling
│ ├── compatibility.md # Version-sensitive support and compatibility notes
│ ├── collector.md # Pipeline configuration & components
│ ├── instrumentation.md # SDKs & semantic conventions
│ ├── sampling.md # Sampling strategies
│ ├── security.md # PII redaction & authentication
│ └── monitoring.md # Self-monitoring patterns
└── LICENSE # Apache 2.0| Category | Pattern | Description |
|---|---|---|
| Kubernetes | DaemonSet / Gateway / Sidecar | Choose based on workload type and data volume |
| Serverless | FaaS Extension Layer | Lambda, Azure Functions, GCP with non-blocking export |
| Sampling | Head / Tail Sampling | Trade-off between cost and completeness |
| Security | mTLS + RBAC | Secure cross-network telemetry pipelines |
| AI Agents | Agent Telemetry | Monitor coding agents as first-class services in your observability stack |
User: "I need to deploy an OpenTelemetry gateway in Kubernetes for tail sampling."
AI Response (leveraging the skill):
references/architecture.md and references/sampling.mdUser: "Ensure we don't lose telemetry data if the backend goes down."
AI Response:
references/collector.mdUser: "Add user_id as a metric dimension."
AI Response:
references/instrumentation.md to explain cardinality managementSee SKILL.md for the full list of progressive disclosure triggers, System 2 thinking signals, core principles, and production-ready configuration defaults.
Deep-dive guides are available in the references/ directory:
The OpenTelemetry Collector Contrib repository contains extended components and curated example configurations. Always verify component stability and pin to released versions (e.g., v0.100.0+) instead of main.
Best Practice: Always pin to released tags matching your collector version (e.g., v0.100.0+) instead of using main branch for production stability.
This skill includes a comprehensive test and validation framework following TDD (Test-Driven Development) principles:
evals/ and are the canonical published scenariosThe testing framework validates that the skill actually changes AI behavior and doesn't allow common anti-patterns. GitHub Actions automatically validates skill structure and content on every change, and the Tessl report workflow posts best-practice review feedback on every pull request.
An additional GitHub Agentic Workflow (.github/workflows/otel-upstream-maintenance.yml) runs weekly to create an upstream maintenance digest issue with recent OpenTelemetry GitHub issues, releases, and blog/community updates for practical repository refreshes.
This skill is designed to evolve with the OpenTelemetry ecosystem. Contributions are welcome:
gen_ai.* namespace is experimental. Attribute names may change in future OpenTelemetry releases.gen_ai namespace stabilizationCompatibility details move faster than the cognitive-router guidance in SKILL.md. See references/compatibility.md for the current version floors and AI agent support notes.
This skill is licensed under the Apache License 2.0. See LICENSE for details.
The OpenTelemetry project itself is a CNCF project licensed under Apache 2.0.
Transform your AI into an observability-focused assistant. Production-ready. AI-agent aware.
Deploy with confidence. Observe with precision.
docs
evals
cardinality-protection
claude-code-telemetry
collector-memory-limiter
scenario-1
scenario-2
scenario-3
scenario-4
tail-sampling-setup
references