Consulta a classificação das durações de execução das instâncias.
Experimente agora
Testar
Autorização RAM
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| ProjectId |
integer |
Sim |
O ID do espaço de trabalho do DataWorks. Você pode fazer login no console do DataWorks e acessar a página Workspace para consultar o ID. |
1000001 |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
Os parâmetros de resposta. |
||
| RequestId |
string |
O ID da solicitação. |
6347364dadsfadf**** |
| InstanceConsumeTimeRank |
object |
O registro de classificação das durações de execução das instâncias. |
|
| UpdateTime |
integer |
O timestamp em que a classificação das durações de execução das instâncias foi atualizada. |
1600963200000 |
| ConsumeTimeRank |
array<object> |
Os dados de classificação das durações de execução das instâncias. |
|
|
object |
Os dados retornados. |
||
| Owner |
string |
The ID of the Alibaba Cloud account used by the node owner. |
952795279527 |
| NodeName |
string |
The name of the node. |
Node name |
| BusinessDate |
integer |
The data timestamp of the instance. |
1600963200000 |
| ProgramType |
integer |
The type of the node. Valid values: 6 (Shell), 10 (ODPS SQL), 11 (ODPS MR), 23 (Data Integration), 24 (ODPS Script), 99 (zero load), 221 (PyODPS 2), 225 (ODPS Spark), 227 (EMR Hive), 228 (EMR Spark), 229 (EMR Spark SQL), 230 (EMR MR), 239 (OSS object inspection), 257 (EMR Shell), 258 (EMR Spark Shell), 259 (EMR Presto), 260 (EMR Impala), 900 (real-time synchronization), 1089 (cross-tenant collaboration), 1091 (Hologres development), 1093 (Hologres SQL), 1100 (assignment), and 1221 (PyODPS 3) |
10 |
| InstanceId |
integer |
The instance ID. |
95279527 |
| NodeId |
integer |
The node ID. |
9527 |
| Consumed |
integer |
The run time length of the instance. Unit: seconds. |
1000 |
Exemplos
Resposta de sucesso
JSON formato
{
"RequestId": "6347364dadsfadf****",
"InstanceConsumeTimeRank": {
"UpdateTime": 1600963200000,
"ConsumeTimeRank": [
{
"Owner": "952795279527",
"NodeName": "Node name",
"BusinessDate": 1600963200000,
"ProgramType": 10,
"InstanceId": 95279527,
"NodeId": 9527,
"Consumed": 1000
}
]
}
}
Códigos de erro
|
Código de status HTTP |
Código de erro |
Mensagem de erro |
Descrição |
|---|---|---|---|
| 500 | Forbidden.Not.Server | The dataworksAPI service is not available in this area. Please try it in another area. | |
| 500 | InternalError.System | An internal system error occurred. Try again later. | |
| 500 | InternalError.UserId.Missing | An internal system error occurred. Try again later. | |
| 500 | Forbidden.Wkbench.ProjectNoPermission | You are not authorized to access the workspace. | |
| 403 | ResourceNotAuthorized.Api | You are not authorized to access the resources. | |
| 403 | Forbidden.Access | Access is forbidden. Please first activate DataWorks Enterprise Edition or Flagship Edition. | No permission, please authorize |
| 429 | Throttling.Api | The request for this resource has exceeded your available limit. | |
| 429 | Throttling.Api.Risk | The request for this resource has exceeded your daily available limit. | |
| 429 | Throttling.Resource | You have reached the limit for the resource. Please contact us by submitting a ticket. | |
| 429 | Throttling.System | The DataWorks system is busy. Try again later. | |
| 429 | Throttling.User | Your request is too frequent. Try again later. |
Consulte Códigos de Erro para uma lista completa.
Notas de versão
Consulte Notas de Versão para uma lista completa.