Skip to content

Add OpenTelemetry trace export support #3

@irparent

Description

@irparent

Iris currently stores traces in SQLite. Many teams already have observability stacks (Datadog, Grafana, New Relic) that ingest OpenTelemetry spans.

Goal: Add an optional OTel exporter that converts Iris traces to OTel spans and sends them to any OTLP-compatible endpoint.

Acceptance criteria:

  • New CLI flag --otel-endpoint to configure the OTLP endpoint
  • Traces logged via log_trace are also exported as OTel spans
  • Spans include GenAI semantic conventions (model, token counts, cost)
  • Existing SQLite storage continues to work alongside export

Resources:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions