Available via: Cloudflare’s built-in OpenTelemetry exporter (any language calling through the gateway). This is not a Zespan SDK wrapper — see Send traces from any OTel-instrumented app for how the underlying endpoint works. Configuration is dashboard-based, not code.
Setup
1
Open your gateway's Settings
In the Cloudflare dashboard, go to your AI Gateway, then the Settings tab.
2
Add an OTEL exporter
Add a new exporter and set:
- URL:
https://api.zespan.com/v1/traces - Headers:
x-api-key: zsp_... - Content type:
json(Zespan accepts bothjsonandprotobuf—jsonneeds no extra setup)
3
Save
Every subsequent request through this gateway is exported as an OTel trace.

