All Products
Search
Document Center

DescribeDcdnDomainQpsData

Last Updated: Mar 01, 2019

Description

You can call this operation to obtain the number of queries per second (QPS) for DCDN domain names.

By default, you can obtain data for the last 24 hours.

  • You can specify multiple domain names separated by commas (,).

  • You can obtain data for the last 90 days at most.

Request parameters

Name Type Required Description
Action String Yes The operation that you want to perform.
Set the value to DescribeDcdnDomainQpsData.
DomainName String No If this is left blank, you obtain QPS data of all DCDN domain names.
You can specify a DCDN domain name that you want to query.
You can also specify multiple domain names separated by commas (,).
StartTime String No The start time of the data sampling.
The time must be in UTC and the date must follow the ISO8601 format.
Format: YYYY-MM-DDThh:mm:ssZ.
The finest granularity is 5 minutes.
If this is left blank, you will obtain data for the last 24 hours.
EndTime String No The end time of the data sampling. The end time must be later than the start time.
The time must be in UTC and the date must follow the ISO8601 format.
The format is YYYY-MM-DDThh:mm:ssZ.
Interval String No The sampling interval.
If you obtain data for less than 3 days, a sampling interval of 300, 3,600, and 86,400 seconds is supported.
If you obtain data for 3-30 days, a sampling interval of 3,600 and 86,400 seconds is supported.
If you obtain data for 31-90 days, a sampling interval of 86400 seconds is supported.
If the parameter is left blank or the value you specified is invalid, the default sampling interval is 300 seconds.
LocationNameEn String No The name of the region.
You can obtain the name of the region by calling the DescribeCdnRegionAndIsp operation. If the parameter is left blank, you will obtain QPS data for all regions.
IspNameEn String No The name of the Internet service provider (ISP).
You can call the DescribeCdnRegionAndIsp operation to obtain the ISP. If the parameter is left blank, you will obtain QPS data for all the ISPs.

Response parameters

Name Type Description
DomainName String The DCDN domain name.
DataInterval String The sampling interval. Unit: seconds.
StartTime DateTime The start time of data sampling.
EndTime DateTime The end time of data sampling.
QpsDataPerInterval DataModule[] The QPS at each interval.

DataModule

Name Type Description
TimeStamp String The start time of the interval.
Qps FLoat The total number of queries per second.
DynamicHttpQps Long The number of queries for dynamic content over HTTP per second.
DynamicHttpsQps Long The number of queries for dynamic content over HTTPS per second.
StaticHttpQps Long The number of queries for static content over HTTP per second.
StaticHttpsQps Long The number of queries for static content over HTTPS per second.
Acc Long The total number of queries.
DynamicHttpAcc Long The number of queries for dynamic content over HTTP.
DynamicHttpsAcc Long The number of queries for dynamic content over HTTPS.
StaticHttpAcc Long The number of queries for static content over HTTP.
StaticHttpsAcc Long The number of queries for static content over HTTPS.

Examples

Sample requests

  1. http://dcdn.aliyuncs.com?Action=DescribeDcdnDomainQpsData&DomainName=test.com
  2. &StartTime=2017-12-10T20:00:00Z
  3. &EndTime=2017-12-10T21:00:00Z
  4. &<Common request parameters>

Sample responses

JSON format

  1. {
  2. "QpsDataPerInterval": {
  3. "DataModule": [
  4. {
  5. "TimeStamp": "2017-12-10T21:00:00Z",
  6. "Qps": 0.56,
  7. "DynamicHttpQps": 0.28,
  8. "DynamicHttpsQps": 0.28,
  9. "StaticHttpQps": 0,
  10. "StaticHttpsQps": 0,
  11. "Acc": 100,
  12. "DynamicHttpAcc": 50,
  13. "DynamicHttpsAcc": 50,
  14. "StaticHttpAcc": 0,
  15. "StaticHttpsAcc": 0
  16. }
  17. ]
  18. },
  19. "DomainName": "test.com",
  20. "DataInterval": "300",
  21. "RequestId": "BEA5625F-8FCF-48F4-851B-CA63946DA664",
  22. "StartTime": "2017-12-10T20:00:00Z",
  23. "EndTime": "2017-12-10T21:00:00Z"
  24. }

Error codes

Error code Description HTTP status code Description
Throttling Request was denied due to request throttling. 503 The error message returned when the request is denied due to throttling.
InvalidDomain.NotFound The domain provided does not belong to you. 404 The error message returned when the domain name does not exist or does not belong to the current user.