Get aggregated metrics with time series for any aggregation level

View as Markdown

Returns historical chart data for customer, node group, compute zone, or node level. The service selects the appropriate query path for each metric and aggregation level. Aggregation functions are determined by metric configuration in base-config.yaml.

Query parameters

groupByenumRequired
The aggregation level to group metrics by
Allowed values:
groupIdstringOptional
Entity ID for node, nodegroup, or computezone queries.
groupNamestringOptional
Legacy generic entity name. Prefer nodeGroupName for nodegroup and computeZoneName for computezone.
nodeGroupNamestringOptional
The node group name for nodegroup level when computeZoneId or computeZoneName is also provided.
computeZoneIdstringOptional
The compute zone ID disambiguator when querying nodegroup by name.
computeZoneNamestringOptional
The compute zone name for computezone level, or disambiguator with nodeGroupName.
metricNameslist of stringsRequired

Comma-separated list of metric names to query (e.g., dcgm_fi_dev_gpu_util,cpu_used_percent,memory_used_percent)

startTimestringOptional

Start time in RFC3339 format (required for absolute mode, e.g., 2024-01-01T00:00:00Z)

endTimestringOptional

End time in RFC3339 format (required for absolute mode, e.g., 2024-01-01T01:00:00Z)

timeModeenumOptional
Time mode for range selection. Defaults to absolute.
Allowed values:
windowstringOptional

Relative duration window (required for relative mode). Uses Go duration syntax — valid units: h, m, s (e.g. 24h, 1h30m, 90m). ‘d’ is not supported; use hours instead (e.g. 168h for 7 days)

stepstringRequired

Query resolution step width in duration format (e.g., 1m, 5m, 1h). Minimum step width is 1 minute.

Response

Metrics with time series for the requested aggregation level
metricslist of objectsOptional
stepstringOptional
Query resolution step width from request
timeRangeobjectOptional

Errors

499
Client Closed Request Error