What is Oodle?
Oodle is a managed observability platform for metrics, logs, traces and agent traces. It is OpenTelemetry-native: one OTLP endpoint accepts every signal, with the same two headers on every request.Key capabilities
- Agent traces: Spans that follow the OpenTelemetry GenAI semantic conventions show up as agent traces, with the transcript, token counts and cost. The AI Gateway emits these
gen_ai.*attributes on its spans. - Trace Explorer: Search and inspect AI Gateway traces next to the rest of your services’ traces.
- Metrics: OTLP metrics are stored as Prometheus-compatible series and queried with PromQL.
Prerequisites
Before integrating Oodle with TrueFoundry, ensure you have:- TrueFoundry account: Create a TrueFoundry account and follow our Gateway Quick Start Guide.
- Oodle account: Sign up at Oodle and note your deployment, the subdomain of the URL you use to open Oodle (for example
ap1inhttps://ap1.oodle.ai).
Understanding the Oodle Endpoint
You need three values from Oodle:
The TrueFoundry tile on the Integrations page in Oodle shows all three values filled in for you.
Every request to Oodle must carry two headers,
X-OODLE-INSTANCE and X-API-KEY. Oodle rejects requests without them with 401 Unauthorized.
TrueFoundry does not auto-append signal paths, so you must supply the full path: https://<OTLP_ENDPOINT>/v1/traces for traces and https://<OTLP_ENDPOINT>/v1/metrics for metrics.
Integration Steps
1
Get your Oodle values
- Log in to Oodle and open Settings → API Keys.
- Copy your Instance ID, and create or copy an API key.
- Open Integrations, select the Open Telemetry tile, and copy the OTLP endpoint.
2
Configure traces export in TrueFoundry
- Go to AI Gateway → Controls → Settings in the TrueFoundry dashboard.
- Scroll down to the OTEL Config section and click the edit button.
- Enable the Otel Traces Exporter Configuration toggle and fill in:
- Click + Add Headers and add both headers:
3
Configure metrics export (optional)
To send gateway metrics too, enable the Otel Metrics Exporter Configuration toggle and fill in:
Keep Export Delta Metrics off. Oodle reads cumulative counters and histograms.
4
Save and verify
- Click Save.
- Send a few requests through the TrueFoundry AI Gateway.
- In Oodle, open the trace explorer at
https://<deployment>.oodle.ai/tracesand look for traces from the AI Gateway. - Open
https://<deployment>.oodle.ai/genai/tracesto see the same requests as agent traces, with the transcript, token counts and cost.
Send Traces from the Gateway Plane
In hybrid and self-hosted deployments, the OTEL buffer next to the AI Gateway can send traces to Oodle directly from your cluster, even when the control plane is briefly unreachable. The buffer sends traces only; keep the control-plane metrics export above for metrics. See Exporting traces via Gateway Plane for how the buffer works.1
Store the Oodle API key in a Secret
OODLE_API_KEY key to it instead.2
Add Oodle as a sink
truefoundry-values.yaml
compression: gzip. An AI Gateway span holds the full prompt and response, so an uncompressed batch can be larger than Oodle accepts in one request.3
Apply the values and restart the buffer
Apply the values with your usual
helm upgrade, then restart the buffer so it reads the new Secret:Troubleshooting
No traces in Oodle
No traces in Oodle
- Check that the endpoint is the full signal URL, ending in
/v1/tracesfor traces and/v1/metricsfor metrics. - Check that both
X-OODLE-INSTANCEandX-API-KEYare set. Oodle answers401without them. - Check that
X-OODLE-INSTANCEis your instance ID, not your deployment name.
Gateway plane traces stopped after a key change
Gateway plane traces stopped after a key change
The buffer reads the Secret only when it starts. After you add or rotate a key, run
kubectl rollout restart statefulset tfy-otel-buffer -n truefoundry.Configuration Reference
For more, see Oodle’s TrueFoundry guide and Oodle’s OpenTelemetry docs.