Foam will be at DASH in NYC, June 9–10. Book a chat with us ›
Docs
Set up

Add Foam to your pipeline

If your services are already sending traces, logs, or metrics through an OpenTelemetry collector, Datadog agent, FluentBit, or anything that speaks OTLP, add Foam as a second destination. Your existing setup stays exactly as-is. Foam runs alongside it.

OpenTelemetry Collector

Add Foam as an exporter in your collector config alongside other collectors:

exporters:
  otlphttp/foam:
    endpoint: https://otel.api.foam.ai
    headers:
      Authorization: "Bearer ${FOAM_API_KEY}"

service:
  pipelines:
    traces:
      exporters: [otlphttp/foam, <your-existing-exporter>]
    logs:
      exporters: [otlphttp/foam, <your-existing-exporter>]
    metrics:
      exporters: [otlphttp/foam, <your-existing-exporter>]

Environment variables

If your app exports OTLP directly (no collector):

OTEL_EXPORTER_OTLP_ENDPOINT=https://otel.api.foam.ai
OTEL_EXPORTER_OTLP_HEADERS=Authorization=Bearer <YOUR_API_KEY>