Mengkueri data deret waktu untuk tugas sinkronisasi.
Deskripsi operasi
This API operation is available for all DataWorks editions.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DIJobId |
integer |
No |
ID tugas sinkronisasi. |
11265 |
| StartTime |
integer |
Yes |
Awal rentang pengatur waktu untuk kueri. |
1586509407 |
| EndTime |
integer |
Yes |
Akhir rentang pengatur waktu untuk kueri. |
1712205941 |
| MetricName |
array |
Yes |
Data deret waktu yang ingin Anda kueri. |
|
|
string |
No |
The name of the metric. The following six metrics are supported:
|
delayTime |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. You can use the ID to query logs and troubleshoot issues. |
691CA452-D37A-4ED0-9441 |
| PagingInfo |
object |
The pagination information. |
|
| JobMetrics |
array<object> |
The metrics returned. |
|
|
array<object> |
The information about a single metric. |
||
| Name |
string |
The name of the metric. |
JobDelay |
| SeriesList |
array<object> |
The metric data. |
|
|
object |
The metric data. |
||
| Time |
integer |
The point in time at which data is sampled based on the metric. |
1716881141 |
| Value |
number |
The sample value. |
10 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "691CA452-D37A-4ED0-9441",
"PagingInfo": {
"JobMetrics": [
{
"Name": "JobDelay",
"SeriesList": [
{
"Time": 1716881141,
"Value": 10
}
]
}
]
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.