Security with OpenTelemetry is mostly correct, boring defaults applied consistently. Here is the short list that removes most of the risk.
Safe defaults
- Terminate and authenticate OTLP; don't expose the Collector openly
- Strip PII in processors before export
Wire it into the pipeline
Validate Collector config in CI.
- run: otelcol validate --config otel.yamlReinforcing habits
- Send everything to a Collector, then fan out to backends
- Use tail-based sampling for traces to keep the interesting ones
- Propagate context across services with W3C tracecontext
Want senior help putting OpenTelemetry to work - or a team bootcamp on it? CodeWizard runs Israel's largest DevOps community and embeds named senior engineers with a transparent hours log. Book a free consult or explore the Academy.