v1

latestOpenAPI 3.1.02026-07-26157321426.3 KB

Gets metrics for a Loops trainer deployment

Returns per-node GPU/CPU/memory utilization and Knative queue-proxy request rate / concurrency / latency for the trainer pods. The sampler half of a Loops deployment is an OracleVersion and uses the existing model-metrics endpoint.

post/v1/loops/deployments/{deployment_id}/metrics

Request body

end_epoch_millisinteger nullable

Epoch millis to end fetching metrics.

start_epoch_millisinteger nullable

Epoch millis to start fetching metrics.

step_secondsinteger nullable

Resolution of the returned series, in seconds. When omitted, a step is derived from the time range so large windows return fewer points.

time_divisor_secondsinteger nullable

Unit of time for request-volume metrics, in seconds (e.g. 60 for requests/minute). Defaults to per-second.

Response

deployment_idstring required

The trainer deployment ID.