DOCS
Fan-out with Langfuse or Datadog
Monitor is another OTLP destination. It does not replace Langfuse, Datadog, or a Collector you already run.
In the app
Register two exporters. One is the vendor exporter. The other is OTLP/HTTP aimed at https://balerxgate.com/v1/traces with header x-balerx-key. If Balerx returns HTTP 429, wait Retry-After whole seconds (at least 1) and retry; a successful export is still HTTP 202.
For Langfuse's OTLP intake, leave that exporter on the Langfuse base URL and headers. Add the Balerx exporter beside it. The same spans can go to both.
For Datadog, keep the Datadog exporter or Agent. Add the Balerx OTLP/HTTP exporter in the same process, or add a second exporter in the Collector.
In a Collector
exporters:
otlphttp/langfuse:
endpoint: https://cloud.langfuse.com/api/public/otel
headers:
Authorization: Basic YOUR_LANGFUSE_TOKEN
otlphttp/balerx:
endpoint: https://balerxgate.com
headers:
x-balerx-key: YOUR_INGEST_KEY
service:
pipelines:
traces:
receivers: [otlp]
exporters: [otlphttp/langfuse, otlphttp/balerx]The Datadog exporter is the Collector datadog exporter you already configured. Put its name in the same exporters list as otlphttp/balerx.
Vendor headers stay on the vendor exporter. The Balerx key stays on the Balerx exporter. Content capture in Balerx is independent of whether Langfuse or Datadog stores prompts.
