Commit 0abf63a
nfs: Add inflight request depth instrumentation
Summary:
Add lightweight instrumentation to measure NFS thread pool queue depth at
request arrival time. A new `nfs.inflight_at_request` counter records the
number of requests currently inside dispatchRpc as each new request enters.
This produces `nfs.inflight_at_request.avg.60` (average queue depth at
request arrival), `.count.60` (request arrival rate), and `.sum.60` in ODS.
These signals are needed to validate the JUKEBOX backpressure threshold
during rollout — specifically to detect false positives (JUKEBOX firing
during low queue depth) and confirm the threshold is well-calibrated.
Reviewed By: giorgidze
Differential Revision: D100398610
fbshipit-source-id: 9c485a4e7606e47e6364922a29a0a087789a75401 parent 6966a21 commit 0abf63a
2 files changed
+11
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
| 221 | + | |
221 | 222 | | |
222 | 223 | | |
223 | 224 | | |
| |||
2246 | 2247 | | |
2247 | 2248 | | |
2248 | 2249 | | |
| 2250 | + | |
| 2251 | + | |
| 2252 | + | |
| 2253 | + | |
2249 | 2254 | | |
2250 | 2255 | | |
2251 | 2256 | | |
| |||
2301 | 2306 | | |
2302 | 2307 | | |
2303 | 2308 | | |
2304 | | - | |
2305 | | - | |
| 2309 | + | |
| 2310 | + | |
| 2311 | + | |
| 2312 | + | |
| 2313 | + | |
2306 | 2314 | | |
2307 | 2315 | | |
2308 | 2316 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
| 353 | + | |
353 | 354 | | |
354 | 355 | | |
355 | 356 | | |
| |||
0 commit comments