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
`stats.ProxiedRequestCount` is calculated directly from the networking `pkg` stats for the given reporting duration.
41
-
|
42
-
43
-
// New row
44
-
|`queue_average_concurrent_requests`
45
-
46
-
Metric unit: dimensionless
47
-
48
-
Metric type: gauge
49
-
a|Number of requests currently being handled by this pod.
50
-
51
-
Average concurrency is calculated at the networking `pkg` side as follows:
52
-
53
-
* When a `req` change happens, the time delta between changes is calculated. Based on the result, the current concurrency number over delta is computed and added to the current computed concurrency. Additionally, a sum of the deltas is kept.
54
-
+
55
-
Current concurrency over delta is computed as follows:
56
-
+
57
-
`global_concurrency` × delta
58
-
59
-
* Each time a reporting is done, the sum and current computed concurrency are reset.
60
-
61
-
* When reporting the average concurrency the current computed concurrency is divided by the sum of deltas.
62
-
63
-
* When a new request comes in, the global concurrency counter is increased. When a request is completed, the counter is decreased.
0 commit comments