worker

get the queue metrics of a time window, as a bounded line per tag

Changed on
get/workers/queue_metrics_series

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/workers/queue_metrics_series
  • Auth
    • HTTP bearer
    • or API key in cookie token

Query parameters

window_secsinteger

how far back to read, in seconds (defaults to one day, capped at the 14-day retention)

Response

jobs waiting and queue delay per tag, as the vertices of lines joined by straight segments

frominteger required

start of the window, in epoch milliseconds

tointeger required

end of the window, in epoch milliseconds

Changes