Obtaining the Pipeline Running Statistics Trend
Function
Obtaining the Pipeline Running Statistics Trend
Calling Method
For details, see Calling APIs.
URI
POST /v5/{tenant_id}/api/dashboard/stats-trend
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| tenant_id | Yes | String | Definition Tenant ID. Constraints N/A Range 32 characters. Default Value N/A |
Request Parameters
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| pipeline_id | No | String | Definition Pipeline ID. Constraints This parameter is mandatory when type is set to 3. In other scenarios, this parameter is left empty. |
| project_id | No | String | Definition Project ID. Constraints This parameter is mandatory when type is set to 2. In other scenarios, this parameter is left empty. |
| start_time | No | Long | Definition Timestamp when statistics collection starts. Constraints A timestamp in milliseconds |
| end_time | No | Long | Definition Timestamp when statistics collection ends. Constraints A timestamp in milliseconds |
| type | No | Integer | Definition Query type. Range |
Response Parameters
Status code: 200
| Parameter | Type | Description |
|---|---|---|
| ts | Long | Definition Timestamp. |
| runningTotal | Integer | Definition Total number of executions. |
| queueTotal | Integer | Definition Total number of queues. |
Example Requests
None
Example Responses
None
Status Codes
| Status Code | Description |
|---|---|
| 200 | Statistics obtained successfully. |
Error Codes
See Error Codes.
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot