Switch it on
OpenRouter’s observability is configured in its web UI. The steps below match the UI as of the verified date; for the current version, see OpenRouter’s documentation.
- Open the OpenRouter settings and pick your workspace, or stay on Default Workspace.
- Click Observability in the sidebar.
- Turn Broadcast on.
- Scroll down to OpenTelemetry Collector and click Add Destination.
- Fill in Endpoint and Headers with the values below.
- Under Additional generation metadata, tick Cost and Request context. Both are off by default, and Request context carries the routing data.
- Click Add.
Endpoint:
https://ingestion.eu.bronto.io/v1/traces
Headers:
{"x-bronto-api-key": "$BRONTO_API_KEY"}
Endpoint:
https://otel.your-company.com/v1/traces
OpenRouter sends from its own servers, so the Collector needs a public HTTPS address. The Local Collector setup shows the Collector side.
This uses the endpoint and auth header you saved in the setup guide.
Endpoint:
YOUR_OTLP_ENDPOINT/v1/traces
Headers:
{"YOUR_AUTH_HEADER": "YOUR_AUTH_VALUE"}