Expert guidance for configuring and deploying the OpenTelemetry Collector. Use when setting up a Collector pipeline, configuring receivers, exporters, or processors, deploying a Collector to Kubernetes or Docker, or forwarding telemetry to Dash0. Triggers on requests involving collector, pipeline, OTLP receiver, exporter, or Dash0 collector setup.
88%
Does it follow best practices?
Impact
97%
1.15xAverage score across 14 eval scenarios
Low
Low-risk findings worth noting
The OpenTelemetry Collector can be deployed in a variety of ways. Choose the pattern based on what telemetry you collect and how you process it.
Follow these steps in order. Stop at the first match.
If yes, answer one more question: is Dash0 the observability backend?
If yes and the runtime is Node.js, Python, or Java — use the Dash0 Lambda Extension.
It is a single layer that auto-instruments the function and exports to Dash0 directly, so no Collector runs in the function at all: there is no Collector layer, no configuration layer, and no Collector YAML to write or maintain.
Configure it with DASH0_ENDPOINT, DASH0_DATASET, and DASH0_TOKEN_SECRET_ARN on the function.
If no, or the runtime is Ruby, Go, or .NET, or telemetry must fan out to more than one backend — use the Collector Lambda layer. It runs as a Lambda extension inside the function and needs a different component set from a long-lived Collector.
Either way, the remaining steps do not apply.
If no — use Docker Compose or a binary for local development, or a system service for bare-metal hosts. The remaining steps apply only to Kubernetes.
If yes and you do not need custom Collector pipelines (custom processors, connectors, or non-standard receivers) — use the Dash0 Kubernetes Operator. It deploys and manages Collectors automatically, injects instrumentation without per-workload annotations, and synchronises dashboards and alert rules.
If yes but you need full control over the Collector pipeline — continue to step 4. Configure the Collector to export to Dash0 via OTLP (see exporters).
If yes — use the OpenTelemetry Operator.
It manages Collector instances via the OpenTelemetryCollector CRD and injects language-specific auto-instrumentation via the Instrumentation CRD.
If no — continue to step 5.
If yes — use the Collector Helm chart.
Presets handle RBAC, volumes, and common receivers automatically.
Set mode to daemonset for an agent or deployment for a gateway.
If no — use raw Kubernetes manifests.
Is the target AWS Lambda?
├─ Yes
│ └─ Is Dash0 the backend?
│ ├─ Yes, Node.js / Python / Java → Dash0 Lambda Extension (no Collector)
│ └─ No, or Ruby / Go / .NET → Collector Lambda layer
└─ No
└─ Is the target Kubernetes?
├─ No → Docker Compose / binary
└─ Yes
└─ Is Dash0 the backend?
├─ Yes, standard pipelines → Dash0 Operator
├─ Yes, custom pipelines → continue ↓
└─ No → continue ↓
└─ Need auto-instrumentation?
├─ Yes → OpenTelemetry Operator
└─ No
└─ Helm available?
├─ Yes → Collector Helm chart
└─ No → Raw manifestsThe methods below are the Kubernetes ones. AWS Lambda is not comparable on these axes: either the Collector runs as a Lambda extension in the function's own execution environment (see AWS Lambda Collector layer), or no Collector runs there at all because the Dash0 Lambda Extension exports directly.
| Capability | Dash0 Operator | OTel Operator | Helm chart | Raw manifests |
|---|---|---|---|---|
| Automatic Collector deployment | Yes | Yes (via CRD) | Yes | Manual |
| Auto-instrumentation injection | Yes (automatic) | Yes (per-workload annotation) | No | No |
| Custom Collector pipelines | No | Yes | Yes | Yes |
| Sidecar Collector mode | No | Yes | No | Manual |
| Dashboard and alert sync | Yes | No | No | No |
| Prometheus CRD support (ServiceMonitor) | Yes (opt-in) | Yes | No | No |
| Requires Helm | Yes | No | Yes | No |
| Requires cert-manager | No | Yes | No | No |
For agent vs gateway pattern selection (DaemonSet, Deployment, or both), see raw manifests. The same decision applies when deploying with the Collector Helm chart or the OpenTelemetry Operator. The Dash0 Kubernetes Operator manages this topology automatically.
.tessl-plugin
skills
otel-collector
otel-instrumentation
otel-ottl
otel-semantic-conventions