Emit every runtime error to SigNoz Exceptions #73

Closed
opened 2026-08-01 23:20:06 +00:00 by coilyco-ops · 1 comment
Member

Goal

Make every runtime error visible on the SigNoz Exceptions page, even when the first version can expose only a vague closed-set category.

Baseline acceptance

  • Every handled runtime failure records an OpenTelemetry exception event on an error span.
  • Exception grouping uses a static service-local type.
  • Exception messages use closed-set error codes only. Raw member, prompt, model, tool, URL, token, and response content remain excluded.
  • Repository tests prove the event and error status are emitted.

Legibility, richer tags, and further redaction policy can improve progressively after coverage is complete.

## Goal Make every runtime error visible on the SigNoz Exceptions page, even when the first version can expose only a vague closed-set category. ## Baseline acceptance * Every handled runtime failure records an OpenTelemetry `exception` event on an error span. * Exception grouping uses a static service-local type. * Exception messages use closed-set error codes only. Raw member, prompt, model, tool, URL, token, and response content remain excluded. * Repository tests prove the event and error status are emitted. Legibility, richer tags, and further redaction policy can improve progressively after coverage is complete.
Author
Member

Baseline deployed and verified.

  • Source commit: d6e9d10c7c286206296cf52b140ad92ea3b4cbef.
  • Source CI: Forgejo Actions run 51.
  • Trusted image publication: deploy Actions run 3539.
  • Live workload: 1/1 Ready on the exact source image in LiteLLM mode.
  • Body-safe proof: a request for fixed nonexistent model ops/exception-probe returned 404 without reaching the tower.
  • SigNoz trace: 6f7ea10b34511af9d39f1d17f6e0d656, error status model_not_found.
  • The deployed path uses Python span.record_exception plus error status, which is the documented SigNoz Exceptions ingestion contract.

Presentation improvements continue in #74.

Baseline deployed and verified. * Source commit: `d6e9d10c7c286206296cf52b140ad92ea3b4cbef`. * Source CI: Forgejo Actions run 51. * Trusted image publication: deploy Actions run 3539. * Live workload: 1/1 Ready on the exact source image in LiteLLM mode. * Body-safe proof: a request for fixed nonexistent model `ops/exception-probe` returned 404 without reaching the tower. * SigNoz trace: `6f7ea10b34511af9d39f1d17f6e0d656`, error status `model_not_found`. * The deployed path uses Python `span.record_exception` plus error status, which is the documented SigNoz Exceptions ingestion contract. Presentation improvements continue in #74.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
coilyco-flight-deck/agent-proxy#73
No description provided.