Skip to content

Expose prompt size metrics - #19

Merged
phaedrus-on-git merged 1 commit into
mainfrom
feat/prompt-size-metrics
Sep 26, 2026
Merged

phaedrus-on-git merged 1 commit into
mainfrom
feat/prompt-size-metrics

Conversation

@phaedrus-on-git

Copy link
Copy Markdown
Collaborator

Adds a DevRail Router prompt-size histogram so large-prompt guardrail behavior can be tuned from observed request sizes instead of only route_rule counts.\n\nWhat changed:\n- Adds devrail_router_prompt_chars histogram with existing request labels.\n- Carries extracted routing features into request telemetry paths.\n- Logs prompt_chars with completed backend response telemetry.\n- Documents the metric in README/changelog.\n\nValidation:\n- go test ./internal/server\n- make check

@phaedrus-on-git
phaedrus-on-git merged commit cc461fd into main Sep 26, 2026
8 checks passed
@phaedrus-on-git
phaedrus-on-git deleted the feat/prompt-size-metrics branch September 26, 2026 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant