This API is used to query job monitoring information. You can query monitoring information about multiple jobs at the same time.
This API has been discarded and is not recommended.
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
job_ids |
Yes |
Array of Long |
List of job IDs. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
is_success |
No |
Boolean |
Indicates whether the request is successful. |
message |
No |
String |
Message content. |
metrics |
No |
Object |
Information about a job list. For details, see Table 4. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
jobs |
No |
Array of objects |
Monitoring information about all jobs. For details, see Table 5. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
job_id |
No |
Long |
Job ID. |
metrics |
No |
Object |
All input and output monitoring information about a job. For details, see Table 6. |
{ "job_ids": [298765, 298766] }
{ "is_success": true, "message": "Message content", "metrics": { "jobs": [ { "job_id": 0, "metrics": { "sources": [ { "name": "Source: KafKa_6070_KAFKA_SOURCE", "records": 0, "corrupted_records": 0 } ], "sinks": [ { "name": "Source: KafKa_6070_KAFKA_SOURCE", "records": 0, "corrupted_records": 0 } ], "total_read_rate": 100, "total_write_rate": 100 } } ] } }
Status Code |
Description |
---|---|
200 |
The query of job monitoring information succeeds. |
400 |
The input parameter is invalid. |
If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.