otel-collector

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

A technical guide for configuring and running the OpenTelemetry Collector, a service that receives, processes, and forwards application monitoring data. It covers traces, metrics, and logs, including sending data to Dash0.

In plain words
What is it for?
Use it to configure data receivers, processors, exporters, sampling, and pipelines; deploy the Collector; set up automatic instrumentation; and create Kubernetes or Docker configurations.
Why use it?
It removes guesswork from choosing Collector components and assembling a working monitoring pipeline. It also helps select deployment methods for Docker or Kubernetes.

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 configure data receivers, processors, exporters, sampling, and pipelines; deploy the Collector; set up automatic instrumentation; and create Kubernetes or Docker configurations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dash0hq/agent-skills/otel-collector
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-collector
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-collector

README.md
[![agentmods](https://agentmods.dev/badge/skills/dash0hq/agent-skills/otel-collector/github.svg)](https://agentmods.dev/skills/dash0hq/agent-skills/otel-collector)
Your own site
<a href="https://agentmods.dev/skills/dash0hq/agent-skills/otel-collector"><img src="https://agentmods.dev/badge/skills/dash0hq/agent-skills/otel-collector/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-collector

Your own site · 80×15
<a href="https://agentmods.dev/skills/dash0hq/agent-skills/otel-collector"><img src="https://agentmods.dev/badge/skills/dash0hq/agent-skills/otel-collector.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,769 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 pass 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.00067 $0.01769
Opus 5 $0.00034 $0.00885
Sonnet 5 $0.00013 $0.00354
Haiku 4.5 $0.00007 $0.00177

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

Security

Grade A, and why

otel-collector 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-collector/SKILL.md · 138 lines

How it starts

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

OpenTelemetry Collector configuration guide

Expert guidance for configuring and deploying the OpenTelemetry Collector to receive, process, and export telemetry.

Rules

Rule Description
receivers Receivers — OTLP, Prometheus, filelog, hostmetrics
exporters Exporters — OTLP/gRPC to Dash0, debug, authentication
processors Processors — memory limiter, resource detection, ordering, sending queue
pipelines Pipelines — service section, per-signal configuration, connectors
deployment Deployment — agent vs gateway patterns, deployment method selection
dash0-operator Dash0 Kubernetes Operator — automated instrumentation, Collector management, Dash0 export
collector-helm-chart Collector Helm chart — presets, modes, image selection
opentelemetry-operator OpenTelemetry Operator — Collector CRD, auto-instrumentation, sidecar
raw-manifests Raw Kubernetes manifests — DaemonSet, Deployment, RBAC, Docker Compose
sampling Sampling — head, tail, load balancing
red-metrics RED metrics — span-derived request rate, error rate, duration histograms
custom-distributions Custom distributions — building a stripped-down Collector binary with OCB

Key principles

  • Processor ordering matters. Place memory_limiter first in every pipeline. Use the exporter's sending_queue with file_storage instead of the batch processor. Incorrect ordering causes memory exhaustion or data loss.
  • One pipeline per signal type. Define separate pipelines for traces, metrics, and logs. Mixing signals in a single pipeline breaks processing and causes runtime errors.
  • Every declared component must appear in a pipeline. The Collector rejects configurations that declare receivers, processors, or exporters not referenced by any pipeline.
  • Consistent resource enrichment across pipelines. Apply processors that enrich resource attributes like resourcedetection and k8sattributes to every signal pipeline (traces, metrics, and logs), not just one. If one pipeline enriches telemetry with k8s.namespace.name or host.name but another does not, correlation between signals is compromised by incomplete metadata.
  • Memory safety is non-negotiable. Always configure memory_limiter in production. Without it, a burst of telemetry can cause the Collector to OOM and crash.

Read the full file on GitHub · 138 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 · 138 lines · 67 tokens per session scan A 1724a5fccf6c

Subscribe to this mod's changes

otel-collector is a skill published in the GitHub repository dash0hq/agent-skills (89 stars, last pushed 10d ago), licensed Apache-2.0. It adds 67 tokens to every session and 1,769 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