Skip to content

feat(server-ng): enforce PAT limits and expose Prometheus metrics - #3773

Open
hubcio wants to merge 1 commit into
masterfrom
feat/server-ng-pat-metrics
Open

feat(server-ng): enforce PAT limits and expose Prometheus metrics#3773
hubcio wants to merge 1 commit into
masterfrom
feat/server-ng-pat-metrics

Conversation

@hubcio

@hubcio hubcio commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Enforce max_tokens_per_user at PAT create ingress on both planes and
add a real /metrics endpoint with legacy gauge parity. Binary-plane
PAT rewrite errors used to be dropped silently (the client hung until
timeout); they now return a typed deny. The segments gauge reports the
correct scrape-time count instead of reproducing the legacy drift
bug.

Enforce max_tokens_per_user at PAT create ingress on both planes and
add a real /metrics endpoint with legacy gauge parity. Binary-plane
PAT rewrite errors used to be dropped silently (the client hung until
timeout); they now return a typed deny. The segments gauge reports the
correct scrape-time count instead of reproducing the legacy drift
bug.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review PR is waiting on a reviewer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant