Commit 4d6937d
committed
client: clean up demand RU gauge and clarify its semantics
Address review feedback on #10582:
- Delete `DemandRUPerSecGauge` label series in `cleanUpResourceGroup`
so the new gauge does not leak labels when a resource group is
deleted. Add a TODO tracking the remaining per-group metrics that
still leak (TokenConsumedHistogram, GroupRunningKVRequestCounter,
SuccessfulRequestDuration, FailedRequestCounter,
ResourceGroupTokenRequestCounter, RequestRetryCounter,
FailedLimitReserveDuration).
- Clarify the metric Help text and doc comment to make the
pre-throttling semantics explicit: the EMA includes requests
rejected by the token bucket, which is the whole reason this
metric is exposed separately from the consumption-based
`avg_ru_per_sec`.
Signed-off-by: JmPotato <github@ipotato.me>1 parent 38190e7 commit 4d6937d
File tree
2 files changed
+8
-2
lines changed- client/resource_group/controller
- metrics
2 files changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
634 | 634 | | |
635 | 635 | | |
636 | 636 | | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
637 | 642 | | |
638 | 643 | | |
639 | 644 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
79 | | - | |
| 80 | + | |
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| |||
0 commit comments