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
Copy file name to clipboardExpand all lines: docs/metrics.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -112,12 +112,12 @@ Label `{name}` (the pool name).
112
112
113
113
### EPP processing overhead
114
114
115
-
Unlabelled. Together these cover the EPP's own cost on the request and response paths.
115
+
Unlabelled.
116
116
117
117
| Name | Type | Notes |
118
118
|---|---|---|
119
-
|`request_processing_duration_seconds`| Histogram |Request orchestration latency, from receipt through endpoint selection and request preparation; excludes admission control. |
120
-
|`response_processing_duration_seconds`| Histogram |Response handling latency, accumulated across the response handlers; excludes model-server generation time. |
119
+
|`request_processing_duration_seconds`| Histogram |Time from request receipt until the request body has been handled. Includes admission control, so under the flow control feature gate this covers queue wait; `flow_control_request_queue_duration_seconds` separates it out. |
120
+
|`response_processing_duration_seconds`| Histogram |Sum of the per-chunk handler slices for a streamed response, so model-server generation time between chunks is excluded. For a non-streaming response, the interval from response headers to completion. |
Copy file name to clipboardExpand all lines: pkg/epp/metrics/llm_d_router_metrics.go
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -284,9 +284,9 @@ var (
284
284
prometheus.HistogramOpts{
285
285
Subsystem: LLMDRouterEndpointPickerSubsystem,
286
286
Name: "request_processing_duration_seconds",
287
-
Help: metricsutil.HelpMsgWithStability("EPP request orchestration latency distribution in seconds, from request receipt through endpoint selection and request preparation, excluding admission-control time.", compbasemetrics.ALPHA),
287
+
Help: metricsutil.HelpMsgWithStability("EPP request processing latency distribution in seconds, from request receipt until the request body has been handled, including admission control.", compbasemetrics.ALPHA),
Help: metricsutil.HelpMsgWithStability("EPP response processing latency distribution in seconds, accumulated across response handlers and excluding model server generation time.", compbasemetrics.ALPHA),
299
+
Help: metricsutil.HelpMsgWithStability("EPP response processing latency distribution in seconds: the sum of per-chunk handler time for a streamed response, or the interval from response headers to completion for a non-streaming response.", compbasemetrics.ALPHA),
# HELP llm_d_epp_request_processing_duration_seconds [ALPHA] EPP request orchestration latency distribution in seconds, from request receipt through endpoint selection and request preparation, excluding admission-control time.
1
+
# HELP llm_d_epp_request_processing_duration_seconds [ALPHA] EPP request processing latency distribution in seconds, from request receipt until the request body has been handled, including admission control.
2
2
# TYPE llm_d_epp_request_processing_duration_seconds histogram
# HELP llm_d_epp_response_processing_duration_seconds [ALPHA] EPP response processing latency distribution in seconds, accumulated across response handlers and excluding model server generation time.
1
+
# HELP llm_d_epp_response_processing_duration_seconds [ALPHA] EPP response processing latency distribution in seconds: the sum of per-chunk handler time for a streamed response, or the interval from response headers to completion for a non-streaming response.
2
2
# TYPE llm_d_epp_response_processing_duration_seconds histogram
0 commit comments