/dash0-agent-skills:otel-collectorfrom dash0-agent-skills
Configures and deploys OpenTelemetry Collector pipelines with receivers, exporters, processors, and deployment patterns for Kubernetes, Docker, and AWS Lambda.
Ships in dash0-agent-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Expert guidance for configuring and deploying the OpenTelemetry Collector to receive, process, and export telemetry.
| 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 |
| aws-lambda | AWS Lambda Collector layer — configuration layer, telemetryapi receiver, decouple processor |
| 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 |
memory_limiter first in every pipeline.
Enable exporter batching with sending_queue: { batch: {} } and persist the queue with file_storage instead of using the batch processor.
Incorrect ordering causes memory exhaustion or data loss.resource_detection and k8s_attributes 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.otlp_grpc, otlp_http, load_balancing, span_metrics, log_dedup, signal_to_metrics, k8s_attributes, and resource_detection as config keys.
The older names otlp (exporter only), otlphttp, loadbalancing, spanmetrics, logdedup, signaltometrics, k8sattributes, and resourcedetection still work as deprecated aliases and log a deprecation warning at startup.load_balancing and resource_detection exist only from v0.153.0, and sending_queue.batch: {} only from v0.138.0.
An older Collector rejects them at startup: unknown type for a new name, and for batch: {} either 'sending_queue' has invalid keys: batch or `batch` supports only `items` or `bytes` sizer.
When you pin an image, pin the version the examples are written against, v0.163.1.memory_limiter in production.
Without it, a burst of telemetry can cause the Collector to OOM and crash.Minimal working configuration: OTLP receiver → memory limiter → OTLP/gRPC exporter to Dash0.
receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
http:
endpoint: 0.0.0.0:4318
processors:
memory_limiter:
check_interval: 1s
limit_mib: 400
spike_limit_mib: 100
exporters:
otlp_grpc:
endpoint: ingress.eu-west-1.aws.dash0.com:4317
headers:
Authorization: "Bearer ${env:DASH0_TOKEN}"
sending_queue:
enabled: true
storage: file_storage
batch: {}
extensions:
file_storage:
directory: /var/lib/otelcol/queue
create_directory: true
service:
extensions: [file_storage]
pipelines:
traces:
receivers: [otlp]
processors: [memory_limiter]
exporters: [otlp_grpc]
metrics:
receivers: [otlp]
processors: [memory_limiter]
exporters: [otlp_grpc]
logs:
receivers: [otlp]
processors: [memory_limiter]
exporters: [otlp_grpc]
The Collector user must be able to write to the file_storage directory; in a container, mount a persistent volume at /var/lib/otelcol.
See exporters for full authentication and queue configuration, and processors for adding resource detection.
service.pipelines.otelcol validate --config=config.yaml to catch structural errors before deployment.debug exporter to a pipeline temporarily and inspect stdout to confirm telemetry is flowing; then remove it before going to production.| What do you need? | Rule |
|---|---|
| Accept OTLP telemetry from applications | receivers |
| Scrape Prometheus endpoints | receivers |
| Collect log files or host metrics | receivers |
| Send telemetry to Dash0 | exporters |
| Configure retry, queue, or compression | exporters |
| Set processor ordering | processors |
| Add Kubernetes or cloud metadata | processors |
| Wire receivers → processors → exporters | pipelines |
| Complete working configuration | pipelines |
| Validate the pipeline with the debug exporter | collector-helm-chart, opentelemetry-operator, raw-manifests, or dash0-operator |
| Deploy as DaemonSet or Deployment | raw-manifests |
| Deploy with Helm | collector-helm-chart |
| Deploy with the OTel Operator | opentelemetry-operator |
| Deploy with the Dash0 Operator | dash0-operator |
| Auto-instrument applications in Kubernetes | opentelemetry-operator or dash0-operator |
| Local development with Docker Compose | raw-manifests |
| Run a Collector inside an AWS Lambda function | aws-lambda |
| Reduce trace volume | sampling |
| Keep errors and slow traces, drop the rest | sampling |
| Redact sensitive data in the pipeline | processors |
| Generate RED metrics from traces | red-metrics |
| Build a custom Collector binary | custom-distributions |
README.md (opens in a new tab)rules/custom-distributions.md (opens in a new tab)rules/deployment.md (opens in a new tab)rules/deployment/aws-lambda.md (opens in a new tab)rules/deployment/collector-helm-chart.md (opens in a new tab)rules/deployment/dash0-operator.md (opens in a new tab)rules/deployment/opentelemetry-operator.md (opens in a new tab)rules/deployment/raw-manifests.md (opens in a new tab)rules/exporters.md (opens in a new tab)rules/pipelines.md (opens in a new tab)rules/processors.md (opens in a new tab)rules/receivers.md (opens in a new tab)rules/red-metrics.md (opens in a new tab)rules/sampling.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
dash0-agent-skills@dash0 is listed by dash0hq/claude-marketplace — review the source before installing
npx claudepluginhub dash0hq/claude-marketplace --plugin dash0-agent-skills4 skills in this plugin
/otel-instrumentationConfigures trace spans, defines custom metrics, sets up log exporters, and optimizes sampling strategies for OpenTelemetry instrumentation. Use when instrumenting applications with traces, metrics, or logs. Triggers on requests for observability, telemetry, tracing, metrics collection, logging integration, or OTel setup./otel-ottlOpenTelemetry Transformation Language (OTTL) expert. Use when writing or debugging OTTL expressions for any OpenTelemetry Collector component that supports OTTL (processors, connectors, receivers, exporters). Triggers on tasks involving telemetry transformation, filtering, attribute manipulation, data redaction, sampling policies, routing, or Collector configuration. Covers syntax, contexts, functions, error handling, and performance./otel-semantic-conventionsOpenTelemetry Semantic Conventions expert. Use when selecting, applying, or reviewing telemetry attributes. Triggers on tasks involving attribute selection, semantic convention compliance, attribute migration, or custom attribute decisions. Covers the attribute registry, naming patterns, attribute placement, and versioning. For span names, span kinds, and span status codes, see the otel-instrumentation skill.Other plugins' skills for the same job