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
FinTech startup Meridian Payments runs an OpenTelemetry Collector that forwards traces and logs from their payment processing services to a third-party observability vendor. A recent security audit revealed that spans contain raw user email addresses in user.email, authorization headers in http.request.header.authorization, and session cookies in http.request.header.cookie. Some log records carry raw credit card numbers embedded in their body text. Occasionally, application misconfigurations cause RSA private keys to appear in log bodies.
The engineering team wants to harden the pipeline before the next release. They want sensitive attributes scrubbed, partial values masked where possible, and records containing cryptographic key material dropped entirely before telemetry leaves the Collector. The pipeline already includes enrichment processors that add Kubernetes and environment metadata upstream; any redaction must happen after these enrichment stages so that the enriched attributes are available but no sensitive data reaches the exporter.
Produce a complete OpenTelemetry Collector configuration file named collector-config.yaml. The config must define:
traces pipeline and a logs pipeline, both starting from an otlp receiver, passing through any enrichment and redaction processors, and exiting through a debug exporter (use verbosity: detailed)redaction-notes.md file explaining which strategy was applied to each type of sensitive data and whyThe pipelines must be realistic enough that a reviewer can confirm correct processor ordering, correct redaction strategy per field type, and correct error handling configuration.