← All extensions
OTel Export banner

OTel Export

ivyx✓

Ships run traces to an OpenTelemetry collector so your existing tracing tools can read them

OTel Export

Every governed call and every agent turn already produces an OpenTelemetry-shaped span. This sends them to a collector you name, so the tools your team already uses for tracing can read a run from outside the app.

What you can do

  • Send traces to a collector you already run, such as an OpenTelemetry Collector, Grafana Tempo, Jaeger, Langfuse, Phoenix or Datadog, with no adapter in between.
  • Read an agent run as a tree, with the model call and every tool the model asked for under the turn that made them.
  • See a call the policy stopped as an error span carrying the rule's own reason, so a blocked run reads as blocked.
  • Follow the token counts a model reported, under the standard OpenTelemetry names.
  • Check what was sent, what is waiting, what was dropped and the last error with OTel Export: Show Export Status from the command palette.

Getting started

  1. Have a collector that accepts OTLP over HTTP running, or use one you already have.
  2. Open Settings and enter its address under OTel Export. Nothing is queued and nothing is sent while that field is empty.
  3. Drive something, such as a governed call. On the first send, Studio asks you to confirm the address the traces will go to.
  4. Run OTel Export: Show Export Status to see what arrived.

If your collector needs a token, keep it in the SECRETS panel and name that entry in the Endpoint secret ref setting, because settings travel with the workspace. The header name and auth scheme settings cover vendor endpoints whose header is the key itself.

Requirements

  • The desktop app. The browser build cannot reach a collector, and the status says so.
  • A collector that accepts OTLP over HTTP as JSON. One configured for protobuf only refuses the batches, and the status tells you it did.

Good to know

  • What leaves your machine: call names, timings, failures with their reason, who or what made each call, token counts, and the id of the file, dataset or model each call touched. Call inputs and outputs are not sent.
  • Events on the Event names list are also sent with their body, already redacted, flattened and capped. Narrow the list if your collector is outside your machine, or clear it to send calls only, which also drops agent token counts.
  • You are asked once per session per address. Declining turns the export off for that session. Where no dialog can be shown, such as a run with no window, the send goes ahead and is recorded.
  • A model name is sent only when the call itself named one, never taken from your configured model, because a fallback can answer with a different one.
  • The last batch of a session can be lost if the window closes within a few seconds of a run. Lower the flush interval, or run OTel Export: Flush Queued Spans.