worker
get resource usage per runnable and worker group over a time window (require devops role)
Changed onget/workers/runnable_stats
Request
- Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/workers/runnable_stats
- Auth: one of:
- HTTP bearer
- API key in cookie token
Query parameters
window_secsinteger
how far back to read, in seconds (defaults to one day, capped at the 30-day retention)
worker_groupstring
only the jobs run by this worker group
workspacestring
only the jobs of this workspace
order_by'total_duration' | 'max_memory' | 'cpu'
what the rows are ranked by, descending (default: total_duration)
limitinteger
number of rows to return (default 100, at most 1000)
Response
resource usage per runnable and worker group, heaviest first
Changes
- info
endpoint added
- info