Skip to content

feat: export inference and routing observability - #9

Merged
github-actions[bot] merged 4 commits into
mainfrom
feat/06-observability
Aug 30, 2026
Merged

github-actions[bot] merged 4 commits into
mainfrom
feat/06-observability

Conversation

@Yash-Chindam

Copy link
Copy Markdown
Owner

Implements section 15 of the design specification.

  • Prometheus collectors for latency, TTFT, time-per-output-token, tokens, queue and in-flight depth, routing attribution, fallback frequency, queue-delay prediction error, cache outcomes, and model load duration.
  • /metrics endpoint served unauthenticated for in-cluster scraping; restrict by network policy.
  • Rejection counters for quota, overload, and policy outcomes.

Tests: 7 new unit tests, 3 new integration tests, 1 new Playwright end-to-end test. Local suite 27 passed, 96% branch coverage.

Implements the section 15 metric surface: latency, time-to-first-token,
time-per-output-token, token counters, queue and in-flight gauges,
routing attribution, fallback frequency, queue-delay prediction error,
cache outcomes, and model load duration.
Records routing attribution, queue and in-flight depth, completion
latency and tokens, and rejection counts, and serves them from an
unauthenticated /metrics endpoint intended for in-cluster scraping.
Confirms a live server publishes routed request counters, latency
histograms, token totals, and predicted quality after a real completion.
@github-actions github-actions Bot added documentation Improvements or additions to documentation area/api area/tests dependencies labels Aug 30, 2026
@github-actions
github-actions Bot merged commit 487172f into main Aug 30, 2026
6 checks passed
@github-actions
github-actions Bot deleted the feat/06-observability branch August 30, 2026 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/api area/tests dependencies documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant