Pcornel
Observability

Telemetry Pipelines

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

Back to the Topic

Answer

Telemetry pipelines collect, process and route telemetry between sources and backends — OpenTelemetry Collector, Fluent Bit, Vector, Logstash — adding batching, filtering, enrichment and buffering.

Remember

Watch the pipeline's own metrics: received, sent, dropped, queue size. Put memory limits and batching in place. Route by type and tenant.

First checks

  • curl -s localhost:8888/metrics | grep -E 'otelcol_(receiver_accepted|exporter_sent|exporter_send_failed)' — 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

Verify in this order

sources → receivers → processors → exporters → backends

Where it usually breaks

Failures include hidden queue growth, retry storms, backpressure causing memory/disk exhaustion, sampling/filter processors dropping needed signals, protocol/TLS mismatches and a healthy collector process that is not successfully exporting.

Telemetry Pipelines verification boundary matrix

BoundaryInspectHealthy interpretationDo not infer
IntentSource → collector → processor → transport → backend → queryIntended object/scope is explicit and versioned where relevantIntent is already effective
Owning runtime/control planeBuffering / BackpressureOwner accepts and reports the expected object stateDownstream dependencies are healthy
Effective stateBatchingIndependent read-back matches the intended stateEvery client sees the same result
Consumer outcomeRetryThe original bounded check succeeds in the same time windowProduction correctness outside this scope

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

Confirmation

Confirm action

Continue?