Pcornel
Observability · Telemetry Pipelines

Collector Processors

Cheat sheet · https://pcornel.dk/topic.php?topic=6229

Back to the Topic

Answer

OpenTelemetry Collector processors transform data in pipelines: memory_limiter, batch, attributes/resource, filter, transform (OTTL), k8sattributes, tail_sampling.

Remember

Order matters: memory_limiter first, batch near the end. Test transforms on sample data. Filtering early saves cost.

First checks

  • otelcol validate --config config.yaml — first check for this topic
  • curl -s localhost:9090/-/ready — Prometheus ready
  • curl -s 'localhost:9090/api/v1/query?query=up' — scrape targets up/down
  • promtool check config prometheus.yml — config valid

Commands

debug

Verify in this order

receiver → memory_limiter → enrich/filter/transform → batch → exporter

Where it usually breaks

Batch before memory_limiter weakens protection.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=6229

Confirmation

Confirm action

Continue?