EUrouter
Broadcast (Beta)

OpenTelemetry Collector

Send LLM traces to any OTLP-compatible backend via an OpenTelemetry Collector.

OpenAPI JSON

The OpenTelemetry Collector is a vendor-agnostic proxy that can receive, process, and export telemetry data. Use this destination to forward EUrouter traces to any backend that supports OTLP, including Grafana Tempo, Jaeger, Zipkin, and more.


Setup

Configure your OpenTelemetry Collector

Make sure your collector is running and has an OTLP HTTP receiver enabled. A minimal config:

receivers:
  otlp:
    protocols:
      http:
        endpoint: 0.0.0.0:4318

exporters:
  # your backend exporter here

service:
  pipelines:
    traces:
      receivers: [otlp]
      exporters: [your-exporter]

Add the destination in EUrouter

  1. Go to Broadcast in your dashboard
  2. Click Add Destination next to OpenTelemetry Collector
  3. Enter your collector's Endpoint (e.g., https://otel.example.com:4318)
  4. Add an API key if your collector requires authentication
  5. Add Custom headers if needed
  6. Click Test Connection to verify
  7. Click Create

Configuration

FieldRequiredDescription
EndpointYesOTLP HTTP endpoint of your collector (default: http://localhost:4318)
API keyNoAuthentication key, if required
Custom headersNoAdditional HTTP headers (comma-separated key=value pairs)

Decision attributes

Every span carries the decision EUrouter made for the request. http.response.status_code and error.type follow the OpenTelemetry semantic conventions; the rest use the eurouter. namespace.

AttributeTypeDescription
eurouter.decisionstringallowed, redacted, blocked or error
eurouter.reason_codesstring[]Reason codes, such as pii.blocked or plan.rate_limited
eurouter.pii_counts.<type>intDetected PII per type, for example eurouter.pii_counts.email
eurouter.processing_countriesstring[]ISO country codes where the request was processed
http.response.status_codeintHTTP status EUrouter returned
error.typestringBlocked and failed requests only: the first reason code, or the decision

Blocked and rejected requests arrive too, with zero tokens, no cost and never a prompt. See the decision record for the values.


Learn more

Was this page helpful?

Still stuck? Contact support

On this page