
Otel tracing
Guides an agent through OpenTelemetry tracing exported to Grafana Tempo and queried
Otel tracing is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 13
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Otel tracing
This skill gives the agent a reference for designing distributed tracing with the OpenTelemetry data model, exporting spans over OTLP through an optional Collector into Grafana Tempo. It covers the standard OTEL_* environment variable contract, endpoint and port pitfalls, SDK initialization order, and span processor settings.
It also covers sampling strategy, comparing head-based SDK samplers with Collector tail sampling and a hybrid production pattern, plus Tempo's architecture, retention settings, metrics-generator output and TraceQL query syntax. Correlation guidance covers injecting trace IDs into logs, exemplars linking metrics to traces, and service graphs. The skill ships reference files for instrumentation, the Collector, sampling, Tempo, correlation and common gotchas, and it runs no scripts.
The skill is language-neutral and expects the agent to work with OpenTelemetry SDKs, the Collector configuration and Tempo deployment in the user's own stack. It points app-side logging, error tracking and LLM tracing to separate skills.
When your agent uses it
Vendor-neutral distributed tracing with OpenTelemetry exported to Grafana Tempo (OTel model, Collector pipeline, sampling, TraceQL). Do NOT use for app-side observability setup or LLM call tracing.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 11 files (141 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the claude-kit plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add ajyadav013/claude-kit
/plugin install claude-kit@claude-kitOr copy only this skill to ~/.claude/skills/otel-tracing:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ajyadav013/claude-kit.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/otel-tracing &&
cp -R "$tmp/skills/otel-tracing" ~/.claude/skills/otel-tracing &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/otel-tracing inside it instead.
Copy the skill folder to ~/.agents/skills/otel-tracing to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ajyadav013/claude-kit.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/otel-tracing &&
cp -R "$tmp/skills/otel-tracing" ~/.agents/skills/otel-tracing &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/otel-tracing inside it instead.
Copy the skill folder to ~/.cursor/skills/otel-tracing to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ajyadav013/claude-kit.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/otel-tracing &&
cp -R "$tmp/skills/otel-tracing" ~/.cursor/skills/otel-tracing &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/otel-tracing inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/ajyadav013/claude-kit.git --path skills/otel-tracingOr copy the folder to ~/.gemini/skills/otel-tracing yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/otel-tracing:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ajyadav013/claude-kit.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/otel-tracing &&
cp -R "$tmp/skills/otel-tracing" ~/.copilot/skills/otel-tracing &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/otel-tracing inside it instead.
Get the folder:
git clone --depth 1 https://github.com/ajyadav013/claude-kit.gitThen copy claude-kit/skills/otel-tracing into your agent's skills folder as otel-tracing. Agents that support SKILL.md read one folder per skill.
What it does
- OpenTelemetry data model
- Explains traces, spans, span context, attributes, events, status and resource semantics.
- Env-var configuration contract
- Lists the standard OTEL_* variables for endpoints, protocols, sampling, service name and limits.
- Collector pipeline design
- Covers receivers, processors, exporters and the loadbalancing exporter needed for tail sampling.
- Sampling strategy guidance
- Compares head-based and tail-based sampling and a hybrid pattern keeping errors and slow traces.
- Tempo and TraceQL reference
- Describes Tempo components, retention defaults, metrics-generator output and TraceQL operators.
- Trace correlation patterns
- Covers trace ID injection into logs, exemplars from metrics to traces, and service graphs.
Good for
- Set up OpenTelemetry export from a service to Grafana Tempo
- Design a Collector pipeline with tail sampling for error and slow traces
- Write a TraceQL query to find slow requests for one service
- Debug why traces from my service are missing in Tempo
- Link application logs to traces by adding trace IDs
Otel tracing FAQ
What does Otel tracing cover beyond app-side observability?
It covers the vendor-neutral OpenTelemetry pipeline and Tempo backend, including the data model, OTLP, Collector topology, sampling, propagation and TraceQL. App-side logging, error tracking and LLM tracing are handled by separate skills it names.
Does Otel tracing run any scripts or need extra tools?
No scripts are included. It is instructional material, and the agent works with the OpenTelemetry SDKs, Collector and Tempo setup in the user's project.
Which environment variables does Otel tracing describe?
It documents the standard OTEL_* variables such as OTEL_EXPORTER_OTLP_ENDPOINT, OTEL_SERVICE_NAME, OTEL_TRACES_SAMPLER and OTEL_TRACES_SAMPLER_ARG, with their defaults.
When does the skill apply?
It applies when tasks involve multi-service tracing, correlating logs with traces, configuring OpenTelemetry with Tempo, deriving RED metrics from spans, sampling traces, or querying with TraceQL.
How do I install Otel tracing in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/otel-tracing to use it in all your projects, or to .claude/skills/otel-tracing in one project. Or install the claude-kit plugin, which includes it: /plugin marketplace add ajyadav013/claude-kit, then /plugin install claude-kit@claude-kit.
Does Otel tracing run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Otel tracing?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Otel tracing?
The closest alternatives to Otel tracing are Ollygarden otel SDK setup, Observability and instrumentation, Ollygarden otel manual instrumentation, Ollygarden otel js setup and Ollygarden otel java setup.
Where this comes from
- Description: from the skill's own SKILL.md.
More from ajyadav013/claude-kit

Guides an agent through pytest, async fixtures and security-regression tests for FastAPI
- Open source
- 13 GitHub stars
- Developer tools

Lets your agent inspect and debug live browser pages via Chrome DevTools MCP
- Open source
- 13 GitHub stars
- Browser automation

Runs concurrent load and stress tests against API endpoints to find latency and throughput
- Open source
- 13 GitHub stars
- Developer tools

Lets an agent click through a feature in a real browser and check how it behaves
- Open source
- 13 GitHub stars
- Developer tools

Runs quick health checks on backend, frontend and login to catch obvious breakage
- Open source
- 13 GitHub stars
- Developer tools

Guides an agent through red-green-refactor, bug reproduction tests and test pyramid
- Open source
- 13 GitHub stars
- Developer tools



