GET Worker Statistics

Description

Retrieve essential information about worker statistics.

Note: This endpoint is accessible only to self-hosted customers.

Request

HTTP Method: GET

curl -X GET \
  https://<<META.tenant.domain>>/api/v1/info/worker_stats \
  -H 'Authorization: Bearer <<CREDENTIAL.tines_api_key>>'

Response

A successful request will return a JSON object containing the information related to worker statistics.

Field description

Parameter Description
current_workers The number of active workers.
max_workers The maximum number of workers allowed.
queue_count The total count of items in the queue.
queue_latency The latency of the default queue.

Sample Response

{
  "current_workers": 10,
  "max_workers": 20,
  "queue_count": 100,
  "queue_latency": 500
}
Was this helpful?