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.
95
93%
Does it follow best practices?
Impact
96%
1.39xAverage score across 12 eval scenarios
Advisory
Suggest reviewing before use
A fintech company runs a payments platform composed of a dozen microservices. Each service is already instrumented with OpenTelemetry SDKs that export traces, metrics, and logs via OTLP. The platform team has been asked to deploy a centralized OpenTelemetry Collector that aggregates telemetry from all services and forwards it to their Dash0 observability account.
The team has had incidents in the past caused by Collector crashes during deployment peaks — telemetry was lost because buffered data disappeared when the process restarted. They also discovered that a previous config accidentally logged full telemetry payloads to stdout in production, consuming significant disk I/O. The platform team wants a configuration that survives restarts without data loss, does not leak credentials, and is safe to leave running permanently in production.
The Collector will be deployed as a container with a 512 MiB memory limit. It must accept OTLP telemetry from other containers on the same network. The Dash0 OTLP endpoint is ingress.eu-west-1.aws.dash0.com:4317 and the auth token will be injected as an environment variable named DASH0_AUTH_TOKEN.
Produce a file named collector-config.yaml containing a complete, production-ready OpenTelemetry Collector configuration that:
Do not include any placeholder tokens or credentials in the configuration file itself.