Mengkueri queries per second (QPS) dari nama domain yang dipercepat dengan granularitas 5 menit. Data dari 90 hari terakhir didukung.
Deskripsi operasi
Saat ini, operasi ini hanya didukung di wilayah China (Shanghai).
Frekuensi panggilan maksimum per pengguna: 100 panggilan per detik.
Jika Anda tidak menentukan StartTime dan EndTime, operasi ini mengembalikan data dari 24 jam terakhir. Jika Anda menentukan StartTime dan EndTime, operasi ini mengembalikan data untuk rentang waktu yang ditentukan.
Granularitas waktu yang didukung
Parameter permintaan Interval mendukung granularitas waktu data yang berbeda berdasarkan rentang waktu maksimum per kueri. Tabel berikut menjelaskan rentang waktu data historis yang dapat dikueri dan latensi data untuk setiap granularitas waktu:
| Granularitas waktu | Pengatur waktu maksimum per kueri | Pengatur waktu data historis yang dapat dikueri | Latensi data |
| 5 menit | 3 hari | 93 hari | 15 menit |
| 1 jam | 31 hari | 186 hari | Biasanya 3-4 jam |
| 1 hari | 366 hari | 366 hari | Biasanya 4 jam, tidak lebih dari 24 jam |
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:DescribeVodDomainQpsData |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DomainName |
string |
No |
Nama domain yang dipercepat. Pisahkan beberapa nama domain dengan koma (,). Anda dapat menentukan hingga 500 nama domain dalam satu permintaan. Secara default, semua nama domain yang dipercepat dikueri. |
example.com. |
| StartTime |
string |
No |
Waktu mulai. Tentukan waktu dalam format yyyy-MM-ddTHH:mm:ssZ (UTC). |
2024-05-02T15:50:00Z |
| EndTime |
string |
No |
Waktu akhir. Tentukan waktu dalam format yyyy-MM-ddTHH:mm:ssZ (UTC). |
2024-05-02T15:59:00Z |
| Interval |
string |
No |
Granularitas waktu dari data yang dikueri. Unit: detik. Nilai valid: 300, 3600, dan 86400. |
300 |
| IspNameEn |
string |
No |
Nama penyedia layanan Internet (ISP). Nilai default: semua ISP. |
unicom. |
| LocationNameEn |
string |
No |
Nama wilayah. Jika Anda tidak menentukan parameter ini, semua wilayah akan dikueri. |
beijing. |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| EndTime |
string |
Waktu akhir. Tentukan waktu dalam format yyyy-MM-ddTHH:mm:ssZ (UTC). |
2024-05-02T15:59:00Z |
| StartTime |
string |
Waktu mulai. Tentukan waktu dalam format yyyy-MM-ddTHH:mm:ssZ (UTC). |
2024-05-02T15:50:00Z |
| RequestId |
string |
ID permintaan. |
25818875-5F78-4AF6-D7393642CA58***** |
| DomainName |
string |
Nama domain yang dipercepat. |
example.com. |
| DataInterval |
string |
Interval waktu antar entri. Unit: detik. |
300 |
| QpsDataInterval |
object |
||
| DataModule |
array<object> |
Data QPS untuk setiap interval waktu. |
|
|
object |
QPS untuk setiap interval waktu. |
||
| AccValue |
string |
The total number of requests. |
0 |
| AccDomesticValue |
string |
The number of requests in the Chinese mainland. |
0 |
| AccOverseasValue |
string |
The number of requests outside the Chinese mainland. |
0 |
| HttpsValue |
string |
The QPS that is calculated based on the HTTPS requests sent to points of presence (POPs). |
1 |
| HttpsOverseasValue |
string |
The QPS that is calculated based on the HTTPS requests sent to POPs outside the Chinese mainland. |
1 |
| DomesticValue |
string |
The QPS data in the Chinese mainland. |
0 |
| HttpsAccOverseasValue |
string |
The number of HTTPS requests sent to POPs outside the Chinese mainland. |
1 |
| HttpsDomesticValue |
string |
The QPS that is calculated based on the HTTPS requests sent to POPs in the Chinese mainland. |
1 |
| HttpsAccValue |
string |
The number of HTTPS requests sent to POPs. |
1 |
| Value |
string |
The total QPS. |
0 |
| OverseasValue |
string |
The QPS data outside the Chinese mainland. |
0 |
| TimeStamp |
string |
The timestamp of the data returned. The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mm:ss format. The time is displayed in UTC. |
2023-06-27 10:10:58 |
| HttpsAccDomesticValue |
string |
The QPS that is calculated based on the HTTPS requests sent to POPs in the Chinese mainland. |
1 |
Contoh
Respons sukses
JSONformat
{
"EndTime": "2024-05-02T15:59:00Z",
"StartTime": "2024-05-02T15:50:00Z",
"RequestId": "25818875-5F78-4AF6-D7393642CA58*****",
"DomainName": "example.com",
"DataInterval": "300",
"QpsDataInterval": {
"DataModule": [
{
"AccValue": "0",
"AccDomesticValue": "0",
"AccOverseasValue": "0",
"HttpsValue": "1",
"HttpsOverseasValue": "1",
"DomesticValue": "0",
"HttpsAccOverseasValue": "1",
"HttpsDomesticValue": "1",
"HttpsAccValue": "1",
"Value": "0",
"OverseasValue": "0",
"TimeStamp": "2023-06-27 10:10:58",
"HttpsAccDomesticValue": "1"
}
]
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingTimeParameter | The StartTime and EndTime must be both specified. | |
| 400 | InvalidStartTime.Malformed | The specified StartTime is invalid. | |
| 400 | InvalidEndTime.Malformed | The specified EndTime is invalid. | |
| 400 | InvalidEndTime.Mismatch | The specified EndTime is earlier than the StartTime. | |
| 400 | InvalidStartTime.ValueNotSupported | The specified StartTime is invalid. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.