Retrieves a queue's statistics.

Changed on

Retrieves a queue's statistics.

get/routing/queues/{queueId}/statistics

Request

  • Base URL
    {endpoint}
  • Auth
    OAuth 2
    Authorization codehttps://login.microsoftonline.com/common/oauth2/authorize
    Token URLhttps://login.microsoftonline.com/common/oauth2/token
    Scopeshttps://communication.azure.com/.default

Path parameters

queueIdstring required

Id of the queue to retrieve statistics.

Query parameters

api-versionstring required

The API version to use for this operation.

Response

The request has succeeded.

queueIdstring required

Id of the queue these details are about.

lengthinteger required

Length of the queue: total number of enqueued jobs.

estimatedWaitTimeMinutesobject

The estimated wait time of this queue rounded up to the nearest minute, grouped by job priority.

longestJobWaitTimeMinutesnumber double

The wait time of the job that has been enqueued in this queue for the longest.

Changes

    • warning

      the optional response header x-ms-error-code removed for the status default

    • info

      api operation id JobRouterOperations_GetQueueStatistics removed and replaced with JobRouter_GetQueueStatistics

    • info

      api tag Queues added