Skip to content

DOCS

OpenTelemetry Collector

Use a Collector when several services should share one export path, or when you want to filter attributes before they leave your network. Creating a key in Settings shows the same origin and x-balerx-key header the exporter needs.

  1. Receivers stay as they are. An OTLP receiver on 4318 is the usual HTTP port.
  2. Add an otlphttp exporter whose endpoint is the site origin. The exporter posts to /v1/traces.
  3. Put the ingest key in the exporter headers as x-balerx-key.
  4. Add that exporter to the traces pipeline next to any exporter you already have.
  5. Send one trace and confirm Runs.
exporters:
  otlphttp/balerx:
    endpoint: https://balerxgate.com
    headers:
      x-balerx-key: YOUR_INGEST_KEY
service:
  pipelines:
    traces:
      receivers: [otlp]
      exporters: [otlphttp/balerx]

If you already export to another backend, list both exporters in exporters. See fan-out.

The Collector retries HTTP 429 by default. Honor Retry-After (whole seconds, at least 1) rather than dropping the batch. Accepted traces still return HTTP 202.

Keep content attributes out of the pipeline until the project setting is on. A Collector attribute processor is a good place to drop gen_ai.input.messages and gen_ai.output.messages if a library adds them by default.