otel-instrumentation

otel-instrumentation is a skill for Claude Code from dash0hq/agent-skills. It costs 65 tokens per session (1,364 once invoked), scanned A, original, Apache-2.0.

A guide to adding OpenTelemetry, an open standard for recording software traces, measurements, and logs. It covers instrumentation, which means adding this recording to an application, as well as naming, sampling, security, deployment, and validation.

In plain words
What is it for?
Use it to add traces, custom metrics, structured logs, exporters, sampling, database-query details, and telemetry checks to Node.js, Go, Python, and other applications.
Why use it?
It helps teams collect useful monitoring data without excessive cost, inconsistent names, or accidental exposure of private information. It also provides checks for verifying that the setup works after deployment.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the dash0-agent-skills plugin — 4 skills shipped together

Good fit Use it to add traces, custom metrics, structured logs, exporters, sampling, database-query details, and telemetry checks to Node.js, Go, Python, and other applications.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dash0hq/agent-skills/otel-instrumentation
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add dash0hq/agent-skills --skill otel-instrumentation
Clone the repo
git clone --depth 1 https://github.com/dash0hq/agent-skills

Made for: Claude Code.

Or install dash0-agent-skills, the plugin that ships this one along with the rest of its 4 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for otel-instrumentation

README.md
[![agentmods](https://agentmods.dev/badge/skills/dash0hq/agent-skills/otel-instrumentation/github.svg)](https://agentmods.dev/skills/dash0hq/agent-skills/otel-instrumentation)
Your own site
<a href="https://agentmods.dev/skills/dash0hq/agent-skills/otel-instrumentation"><img src="https://agentmods.dev/badge/skills/dash0hq/agent-skills/otel-instrumentation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for otel-instrumentation

Your own site · 80×15
<a href="https://agentmods.dev/skills/dash0hq/agent-skills/otel-instrumentation"><img src="https://agentmods.dev/badge/skills/dash0hq/agent-skills/otel-instrumentation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,364 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 19 May 2026
  • Snyk warn 19 May 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00065 $0.01364
Opus 5 $0.00032 $0.00682
Sonnet 5 $0.00013 $0.00273
Haiku 4.5 $0.00006 $0.00136

Measured 11d ago against content hash e79c66b5f75c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

otel-instrumentation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/otel-instrumentation/SKILL.md · 118 lines

How it starts

The opening of the file, as written. The whole thing — 118 lines — stays where its author put it; the contents beside it link to each section on GitHub.

OpenTelemetry Instrumentation Guide

Expert guidance for implementing high-quality, cost-efficient OpenTelemetry telemetry.

Rules & Quick Reference

Use Case / Rule Description
telemetry Entrypoint — signal types, correlation, and navigation
resolve-values Resolving configuration values from the codebase
verify-dependencies Verifying instrumentation packages and versions exist before adding them
resources Resource attributes — service identity and environment
k8s Kubernetes deployment — downward API, pod spec
spans Spans — naming, kind, status, and hygiene
logs Logs — structured logging, severity, trace correlation
metrics Metrics — instrument types, naming, units, cardinality
sensitive-data Sensitive data — PII prevention, sanitization, redaction
capture-database-query-parameters Prepared-statement parameter capture per language (Java, .NET, Python, Node.js, Go)
validation Telemetry validation — post-deployment verification checklist
nodejs Node.js instrumentation setup
go Go instrumentation setup
python Python instrumentation setup
java Java instrumentation setup
scala Scala instrumentation setup
dotnet .NET instrumentation setup
ruby Ruby instrumentation setup
php PHP instrumentation setup
browser Browser instrumentation setup
nextjs Next.js full-stack instrumentation (App Router)

Read the full file on GitHub · 118 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 118 lines · 65 tokens per session scan A e79c66b5f75c

Subscribe to this mod's changes

otel-instrumentation is a skill published in the GitHub repository dash0hq/agent-skills (89 stars, last pushed 10d ago), licensed Apache-2.0. It adds 65 tokens to every session and 1,364 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

opentelemetry-docs

OpenTelemetry — vendor-neutral observability: traces, metrics, logs, OTLP, Collector, SDKs, semantic conventions.

pledgeandgrow/pledge-skills · 32 tokens

analyzing-kubernetes-audit-logs

Use when parses Kubernetes API server audit logs (JSON lines) to detect exec-into-pod, secret access, RBAC modifications, privileged pod creation, and anonymous API access. Builds threat detection rules from audit event patterns. Use when investigating Kubernetes cluster compromise or building k8s-specific SIEM…

oyi77/1ai-skills · 72 tokens

speicherbereinigung

Evidenzbasierte Windows-Speicherbereinigung mit kontrolliertem Notfallmodus, physischer Belegungsmessung, Prozess- und Entstehungsforensik sowie reversiblen Maßnahmen gegen wiederkehrende Speicherfüller.

ellmos-ai/skills · 54 tokens

log-error-digest

Analyze log files to troubleshoot errors, identify peak error periods, and produce error clustering, frequency statistics, and time distribution reports. Supports JSON, syslog, and Nginx formats with automatic detection. Use when a user uploads a .log file and asks to analyze errors, find patterns, debug issues, or…

zebbern/claude-code-guide · 71 tokens

happiness-skill

A Chinese-language guide to happiness based on reducing unmet wants, focusing on the present, and treating happiness as a trainable skill.

kangarooking/cangjie-skill · 136 tokens

traceway-setup

Analyze and instrument repositories for Traceway observability. Use when the user wants to plan, add, migrate, or verify Traceway or OpenTelemetry monitoring for backend, browser, full-stack, mobile or iOS, or AI-agent software, including project topology and user-approved setup-plan creation. Backends use OTLP/HTTP…

tracewayapp/traceway · 134 tokens