CtrlK
BlogDocsLog inGet started
Tessl Logo
PluginPublic

dash0/agent-skills

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.

1.15x
Quality

88%

Does it follow best practices?

Impact

97%

1.15x

Average score across 14 eval scenarios

SecuritybySnyk

Low

Low-risk findings worth noting

Overview
Quality
Evals
Security
Files

deployment.mdskills/otel-collector/rules/

title:
Deployment
impact:
HIGH
tags:
deployment, kubernetes, docker, agent, gateway

Deployment

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.

Decision process

Follow these steps in order. Stop at the first match.

1. Is the target environment AWS Lambda?

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.

2. Is the target environment Kubernetes?

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.

3. Is Dash0 the observability backend?

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).

4. Do you need automatic SDK instrumentation injected into application pods?

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.

5. Is Helm available in the cluster?

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.

Summary

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 manifests

Deployment method comparison

The 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.

CapabilityDash0 OperatorOTel OperatorHelm chartRaw manifests
Automatic Collector deploymentYesYes (via CRD)YesManual
Auto-instrumentation injectionYes (automatic)Yes (per-workload annotation)NoNo
Custom Collector pipelinesNoYesYesYes
Sidecar Collector modeNoYesNoManual
Dashboard and alert syncYesNoNoNo
Prometheus CRD support (ServiceMonitor)Yes (opt-in)YesNoNo
Requires HelmYesNoYesNo
Requires cert-managerNoYesNoNo

Agent vs gateway

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.

References

LICENSE

README.md

tile.json