Get vLLM latency metrics for a model endpoint version
Get vLLM latency metrics time series data for a specific model endpoint version from Prometheus. Returns smoothed averages for time to first token, end-to-end latency, and time per output token.
Authorizations
Path Parameters
The ID of the model endpoint to get vLLM latency metrics for
"62313ce67a0af0281c01a6a5"
The version number of the model endpoint to get vLLM latency metrics for
1
Query Parameters
Start time for the metrics query in ISO 8601 format. Defaults to 24 hours ago.
"2024-01-15T10:00:00Z"
End time for the metrics query in ISO 8601 format. Defaults to current time.
"2024-01-16T10:00:00Z"
Optional aggregation window for metrics data points. When provided, uses the specified window (5min, hourly, or daily) for step size. When omitted, uses adaptive step sizing based on the time range to optimize data point count.
hourly, daily "hourly"
Maximum number of historical executions to include in metrics aggregation. Defaults to 3 if not specified.
1 <= x <= 103
Response
Success
Average end-to-end latency across the entire queried time period in seconds
1.234
Average time per output token across the entire queried time period in seconds
0.056
Average time to first token across the entire queried time period in seconds
0.245
Smoothed average end-to-end latency in seconds
Smoothed average time per output token in seconds
Smoothed average time to first token in seconds