Mengambil data terperinci untuk nama domain yang diakselerasi berdasarkan jenis protokol.
Deskripsi operasi
The maximum call frequency for a single user is 20 calls per second.
Supported time granularities
The supported time granularity for a query depends on the maximum time span specified in the query. The following table describes the time granularity, the time range of historical data that you can query, and the data latency.
| Time granularity | Maximum time span per query | Queryable historical data range | Data latency |
| 5 minutes | 1 hour | 93 days | 15 minutes |
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cdn:DescribeDomainDetailDataByLayer |
none |
*Domain
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Field |
string |
Yes |
Metrik yang akan dikueri. Anda dapat mengkueri beberapa metrik dalam satu pengatur waktu. Pisahkan beberapa metrik dengan koma (,). Nilai valid: bps, qps, traf, acc, ipv6_traf, ipv6_bps, ipv6_acc, ipv6_qps, dan http_code. |
bps,ipv6_traf,traf,http_code,qps |
| DomainName |
string |
Yes |
Nama domain yang diakselerasi untuk dikueri. Anda dapat mengkueri beberapa nama domain dalam satu permintaan. Untuk melakukannya, pisahkan nama domain dengan koma (,). Anda dapat menentukan hingga 30 nama domain. |
example.com |
| StartTime |
string |
Yes |
Awal rentang waktu yang akan dikueri. Tentukan pengatur waktu dalam standar ISO 8601. Formatnya adalah yyyy-MM-ddTHH:mm:ssZ. Pengatur waktu dalam UTC. |
2020-07-05T22:00:00Z |
| EndTime |
string |
Yes |
Akhir pengatur waktu yang akan dikueri. Tentukan waktu dalam standar ISO 8601. Formatnya adalah yyyy-MM-ddTHH:mm:ssZ. Waktu dalam UTC. Catatan
Waktu akhir harus lebih lambat dari waktu mulai. Pengatur waktu tidak boleh melebihi 1 jam. |
2020-07-05T22:05:00Z |
| IspNameEn |
string |
No |
Nama penyedia layanan. Anda dapat memanggil operasi DescribeCdnRegionAndIsp untuk mengkueri nama penyedia layanan. Jika Anda tidak mengatur parameter ini, data untuk semua penyedia layanan akan dikembalikan. |
telecom |
| LocationNameEn |
string |
No |
Nama wilayah. Anda dapat memanggil operasi DescribeCdnRegionAndIsp untuk mengkueri nama wilayah. Jika Anda tidak mengatur parameter ini, data untuk semua wilayah akan dikembalikan. |
hangzhou |
| Layer |
string |
No |
Dimensi yang akan dikueri. Nilai valid adalah http, https, dan quic untuk lapisan aplikasi, atau all. Nilai default adalah all. |
all |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
BEA5625F-8FCF-48F4-851B-CA63946DA664 |
| Data |
object |
||
| DataModule |
array<object> |
The data returned for the accelerated domain name. |
|
|
object |
|||
| Traf |
integer |
The traffic. Unit: bytes. |
789756701818 |
| Qps |
number |
The number of queries per second (QPS). |
5998.47 |
| Ipv6Qps |
number |
The QPS of IPv6 requests. |
0 |
| Ipv6Bps |
number |
The IPv6 bandwidth. Unit: bps. |
0 |
| Acc |
integer |
The number of requests. |
2 |
| Ipv6Traf |
integer |
The IPv6 traffic. Unit: bytes. |
141718944482 |
| Ipv6Acc |
integer |
The number of IPv6 requests. |
1 |
| TimeStamp |
string |
The start of the time slice. |
2020-07-05T22:00:00Z |
| HttpCode |
string |
The distribution of HTTP status codes. |
200:44349|206:1753719|304:45|403:1095|416:1|499:332 |
| Bps |
number |
The bandwidth. Unit: bps. |
21060178715.146667 |
| DomainName |
string |
The domain name. |
example.com |
Contoh
Respons sukses
JSONformat
{
"RequestId": "BEA5625F-8FCF-48F4-851B-CA63946DA664",
"Data": {
"DataModule": [
{
"Traf": 789756701818,
"Qps": 5998.47,
"Ipv6Qps": 0,
"Ipv6Bps": 0,
"Acc": 2,
"Ipv6Traf": 141718944482,
"Ipv6Acc": 1,
"TimeStamp": "2020-07-05T22:00:00Z",
"HttpCode": "200:44349|206:1753719|304:45|403:1095|416:1|499:332",
"Bps": 21060178715.146667,
"DomainName": "example.com"
}
]
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingTimeParameter | The StartTime and EndTime must be both specified. | You must set both the start time and the end time. |
| 400 | InvalidStartTime.Malformed | The specified value of parameter StartTime is malformed. | |
| 400 | InvalidEndTime.Malformed | The specified value of parameter EndTime is malformed. | |
| 400 | InvalidEndTime.Mismatch | Specified EndTime does not match the specified StartTime. | StartTime must be earlier than EndTime. |
| 400 | InvalidStartTime.ValueNotSupported | The specified value of parameter StartTime is not supported. | |
| 400 | InvalidDomainName.Malformed | The specified DomainName is invalid. | The specified domain name is invalid. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.