描述
获取加速域名天粒度监控统计数据
不指定StartTime和EndTime时,默认读取过去7的数据,同时支持按指定的起止时间查询,两者需要同时指定。
- 只支持一个域名,或当前用户下所有域名
- 最多可获取最近90天的数据
请求参数
返回参数
UsageByDay
UsageTotal
特殊错误码
示例
请求示例:
http://cdn.aliyuncs.com?Action=DescribeDomainsUsageByDay&DomainName=test.com
&StartTime=2015-11-29
&EndTime=2015-11-30
&<公共请求参数>
返回示例:
JSON格式
{
"UsageTotal": {
"RequestHitRate": "69.92610837438424",
"MaxSrcBpsTime": "2015-12-02 17:20",
"MaxBps": "1.0747912780000001E8",
"MaxSrcBps": "2108177.5",
"TotalTraffic": "1117711832100",
"TotalAccess": "1319500",
"MaxBpsTime": "2015-12-02 23:55",
"BytesHitRate": "97.03110726801242"
},
"DataInterval": "86400",
"UsageByDays": {
"UsageByDay": [
{
"TimeStamp": "2015-12-01",
"RequestHitRate": "70.24770071912111",
"MaxSrcBpsTime": "2015-12-01 22:30",
"MaxSrcBps": "1044521.5000000001",
"MaxBps": "1.050307709E8",
"TotalTraffic": "564300099309",
"TotalAccess": "645093",
"MaxBpsTime": "2015-12-01 01:20",
"Qps": "7.466354166666667",
"BytesHitRate": "97.46250599529726"
},
{
"TimeStamp": "2015-12-02",
"RequestHitRate": "69.61849446995657",
"MaxSrcBpsTime": "2015-12-02 17:20",
"MaxSrcBps": "2108177.5",
"MaxBps": "1.0747912780000001E8",
"TotalTraffic": "553411732791",
"TotalAccess": "674407",
"MaxBpsTime": "2015-12-02 23:55",
"Qps": "7.805636574074074",
"BytesHitRate": "96.59122077803737"
}
]
},
"RequestId": "C88EF8ED-72F0-45EA-9E86-95114E224FC5",
"DomainName": "test.com"
"EndTime": "2015-12-02",
"StartTime": "2015-12-01"
}
XML格式:
<DescribeDomainsUsageByDayResponse>
<UsageTotal>
<RequestHitRate>69.92610837438424</RequestHitRate>
<MaxSrcBpsTime>2015-12-02 17:20</MaxSrcBpsTime>
<MaxBps>1.0747912780000001E8</MaxBps>
<MaxSrcBps>2108177.5</MaxSrcBps>
<TotalTraffic>1117711832100</TotalTraffic>
<TotalAccess>1319500</TotalAccess>
<MaxBpsTime>2015-12-02 23:55</MaxBpsTime>
<BytesHitRate>97.03110726801242</BytesHitRate>
</UsageTotal>
<DataInterval>86400</DataInterval>
<UsageByDays>
<UsageByDay>
<TimeStamp>2015-12-01</TimeStamp>
<RequestHitRate>70.24770071912111</RequestHitRate>
<MaxSrcBpsTime>2015-12-01 22:30</MaxSrcBpsTime>
<MaxSrcBps>1044521.5000000001</MaxSrcBps>
<MaxBps>1.050307709E8</MaxBps>
<TotalTraffic>564300099309</TotalTraffic>
<TotalAccess>645093</TotalAccess>
<MaxBpsTime>2015-12-01 01:20</MaxBpsTime>
<Qps>7.466354166666667</Qps>
<BytesHitRate>97.46250599529726</BytesHitRate>
</UsageByDay>
<UsageByDay>
<TimeStamp>2015-12-02</TimeStamp>
<RequestHitRate>69.61849446995657</RequestHitRate>
<MaxSrcBpsTime>2015-12-02 17:20</MaxSrcBpsTime>
<MaxSrcBps>2108177.5</MaxSrcBps>
<MaxBps>1.0747912780000001E8</MaxBps>
<TotalTraffic>553411732791</TotalTraffic>
<TotalAccess>674407</TotalAccess>
<MaxBpsTime>2015-12-02 23:55</MaxBpsTime>
<Qps>7.805636574074074</Qps>
<BytesHitRate>96.59122077803737</BytesHitRate>
</UsageByDay>
</UsageByDays>
<RequestId>C9AA00F5-C194-4A84-B11E-C7B6D442E613</RequestId>
<DomainName>test.com</DomainName>
<EndTime>2015-12-02</EndTime>
<StartTime>2015-12-01</StartTime>
</DescribeDomainsUsageByDayResponse>