Skip to main content

Home

GET /celery/analyze-queue-data

Generates a Queue Analysis report.

Request
GET http://<unravel-host>:3000/celery/analyze-queue-data?start_time={startTime in millisecond}&end_time={endtime in millisecond}&cluster_id={clusterUid}&version={version}&max_size={max_size}
Path parameters

None.

Query parameters

Required parameters are highlighted.

Name

Type

Description

start_time

string

Start date and time. Format YYYY-MM-DD

end_time

string

End date and time. Format YYYY-MM-DD

clusterUid

string

Cluster unique ID.

version

integer

Report version.

The default is 3, which is backward compatible with version 2.

max_size

integer

The maximum number of time-series data points in the report.

Examples

Request:

curl -X GET "http://myserver.com:3000/api/v1/celery/analyze-queue-data?start_time=1648060200000&end_time=1648664999000&cluster_id=3c599cf8-aa69-11ec-9173-1e0036001415&version=2&max_size=1000" -H "accept: application/json"  -H "Content-Type:application/json" -H  "Authorization: JWT <token>"

Response:

{"task_id": "05f4fddd-cfb1-465d-a0d5-125e007b718e"}