worktree-ai-observability #1

Merged
tral merged 2 commits from worktree-ai-observability into master 2026-07-22 17:10:13 -07:00
Owner
No description provided.
Wraps all three call sites that leave the process (classify_transcript,
classify_entity_subtypes, audit's run_llm_review) with structured logging
plus vibekanka_ai_calls_total / _duration_seconds / _tokens_total metrics,
served over an opt-in /metrics endpoint (settings.metrics_port / --metrics-port).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Adds vibekanka_http_requests_total/_duration_seconds/_retries_total for
every KankaClient/FoundryClient call (operation-labeled, not raw URLs, to
bound cardinality), plus business-level counters/gauges for facts
classified, sessions processed, Foundry sync/retract outcomes, and Discord
clarification posted/answered/outstanding -- rounding out observability.py
into full coverage of everything that leaves the process or marks
pipeline/bot progress, not just the Anthropic calls from the prior commit.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
tral merged commit a24e86635e into master 2026-07-22 17:10:13 -07:00
tral deleted branch worktree-ai-observability 2026-07-22 17:10:18 -07:00
Sign in to join this conversation.
No reviewers
No labels
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
tral/vibekanka!1
No description provided.