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 B2B SaaS company's platform engineering team manages a high-traffic API gateway that processes around 2,000 requests per second. Their observability setup exports every trace to their backend, which is generating significant storage costs. The team wants to implement sampling to reduce trace volume by roughly 90%, while retaining all error traces, traces for requests slower than 1 second, and a 10% random baseline of healthy traffic.
The team also runs service-level dashboards and alerts based on request rate, error rate, and duration (RED metrics). They previously tried head sampling but discovered that their dashboards were showing incorrect error rates because sampled traces underrepresented errors. A colleague suggested computing RED metrics from spans before any sampling decision is made.
The platform team needs a gateway Collector configuration that:
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 the gateway Collector configuration.
Also produce a file named notes.md that explains: