Repository navigation
Commit 3688dd0
committed
fix(run-engine): sample the combined gauge after batch admission
The dequeue gauge ran before the loop, so a queue's first batch from idle
and its final drain were never sampled with their runs in flight and the
combined chart under-reported. The successful path now re-samples after
admissions; early returns keep the entry sample. Also documents that
combined.current is the declared cap, clamped at admit time.1 parent e2c7982 commit 3688dd0
2 files changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5277 | 5277 | | |
5278 | 5278 | | |
5279 | 5279 | | |
| 5280 | + | |
| 5281 | + | |
| 5282 | + | |
| 5283 | + | |
5280 | 5284 | | |
5281 | 5285 | | |
5282 | 5286 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
0 commit comments