You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds async_gate_decisions_total{queue_id,queue_name,pool_name,reason}
(llm-d#217), counting messages a gate prevented from being dispatched, by
reason:
- gate_closed: dispatch budget exhausted (gate returned Refuse)
- quota_exhausted: per-attribute quota overflow (Refuse + overflow class)
- dropped: gate permanently rejected the request (Drop)
- error: gate evaluation failed
Emitted at the gate-application branches in both the redis sorted-set
and gcp-pubsub flows. Documented in the README metrics table; unit
tested.
Related: llm-d#217
Signed-off-by: Shimi Bandiel <shimib@google.com>
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -536,6 +536,7 @@ The Async Processor exposes Prometheus metrics under the `llm_d_async` subsystem
536
536
|`llm_d_async_async_queue_residence_time_millis`| Histogram | Time in milliseconds a message spent buffered in-process, from broker ingestion until a worker pulled it for processing. Measures the async delay introduced by the system (queue time). Always registered. |
537
537
|`llm_d_async_async_dispatch_budget`| Gauge | Current dispatch budget [0.0–1.0] returned by the queue's gate; the fraction of system capacity available for new requests (0.0 = gate fully closed). Useful for diagnosing why throughput is throttled. |
538
538
| `llm_d_async_async_pool_worker_limit` | Gauge | Configured worker concurrency limit for a pool (carries only the `pool_name` label). Compare against `llm_d_async_async_inflight_requests` to compute worker utilization. |
539
+
| `llm_d_async_async_gate_decisions_total` | Counter | Count of gate decisions that prevented a message from being dispatched, by `reason`: `gate_closed` (no dispatch budget), `quota_exhausted` (per-attribute quota overflow), `dropped` (gate permanently rejected the request), `error` (gate evaluation failed). |
539
540
540
541
**Labels:**
541
542
@@ -544,6 +545,7 @@ The Async Processor exposes Prometheus metrics under the `llm_d_async` subsystem
544
545
| `queue_id` | Transport-level queue identifier |
545
546
| `queue_name` | Logical queue name from the queue configuration |
546
547
| `pool_name` | Worker pool the queue routes to (`async_pool_worker_limit` carries only this label) |
0 commit comments