Query metric range
Query parameters
Start time in RFC3339 format (required for absolute mode, e.g., 2024-01-01T01:00:00Z). Cannot be more than 1 year in the past.
End time in RFC3339 format (required for absolute mode, e.g., 2024-01-01T01:00:00Z)
Relative duration window (required for relative mode). Valid units: h, m, s (e.g. 24h, 1h30m, 90m). ‘d’ is not supported; use hours instead (e.g. 168h for 7 days)
Query resolution step width in duration format (e.g. 1h, 1m). Minimum step width is 1 minute.
Component name (e.g., accelerator-nvidia-clock-speed)
Name of the metric to query (e.g., accelerator_nvidia_clock_speed_graphics_mhz)
Response
Successful response” (NOTE: the result fields will be JSON objects and JSON arrays in the actual response, not strings)
e.g. omitted invalid metric points; null when no issues
NodeAggregationFunction string json:"nodeAggregationFunction" example:"avg" // TODO: add this in later