Skip to content

Structure debug dumps as OpenTelemetry-compatible traces #1343

@bug-ops

Description

@bug-ops

Research

Step-level tracing (each agent loop iteration gets a trace span with input/output/tool-calls/latency) provides much better observability than flat file dumps. Zeph already has the otel feature flag for OTLP export.

Proposal

Extend debug dumps to emit structured trace data compatible with OpenTelemetry span format. Each agent loop iteration, tool call, and LLM request becomes a span with parent-child relationships. Can be viewed in Jaeger/Grafana when otel is enabled, or saved as JSON traces when not.

Sources

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestresearchResearch-driven improvement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions