Unifying app spans, Sentry errors and LLM calls into one trace for AI debugging

dank_as_fuck_ · reddit · 2026-09-27

The author found most AI bugs don't live in the model call: exceptions sit in app code, bad inputs come from tools, and the model call in between looks fine — forcing manual timestamp-stitching across Sentry, OTel backends, and LLM tools. He built axonpush.xyz: keep your existing OTel exporter or Sentry DSN, and app spans, DB/queue spans, exceptions, and model/tool calls land on one trace, with exceptions grouped into issues linked to their traces. Failed runs can be handed to Claude Code or Codex via MCP with the trace as context. Hard parts: aligning Sentry events and OTel spans on what one 'request' is, and deduplicating error groups.

Original post →

More from coding & agent

coding & agent channel →