Call DescribeLiveDomainPushTrafficData to query monitoring data on stream ingest traffic for ingest domains.
Operation description
The traffic monitoring data is measured in bytes.
You can query multiple domain names in a single request. Separate the domain names with commas (,).
If you do not specify StartTime and EndTime, data from the last 24 hours is returned. You can also query data for a specific time range by specifying both the start and end times.
You can query data from the last 90 days.
QPS limit
The queries per second (QPS) limit for this operation is 100 for each user. If you exceed this limit, throttling is triggered. This may affect your business. To avoid this, call this operation at a reasonable rate.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:DescribeLiveDomainPushTrafficData |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-shanghai |
| DomainName |
string |
No |
The ingest domain name. You can query multiple domain names in a single request. Separate the domain names with commas (,). If you leave this parameter empty, data for all ingest domains is merged and returned. |
demo.aliyundoc.com |
| StartTime |
string |
No |
The start of the time range to query. Specify the time in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. If you do not set this parameter, data from the last 24 hours is returned. |
2017-12-10T20:00:00Z |
| EndTime |
string |
No |
The end of the time range to query. Specify the time in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. |
2017-12-10T21:00:00Z |
| Interval |
string |
No |
The time granularity of the data to query. Unit: seconds. Valid values:
If you do not set this parameter or specify an invalid value, the default value of 300 is used. |
300 |
| IspNameEn |
string |
No |
The name of the carrier in English. You can call the DescribeCdnRegionAndIsp operation to obtain the name of the carrier. If you do not set this parameter, data for all carriers is returned. |
alibaba |
| LocationNameEn |
string |
No |
The name of the region in English. You can call the DescribeCdnRegionAndIsp operation to obtain the name of the region. If you do not set this parameter, data for all regions is returned. |
tianjin |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| EndTime |
string |
The end of the time range. |
2017-12-10T21:00:00Z |
| StartTime |
string |
The start of the time range. |
2017-12-10T20:00:00Z |
| RequestId |
string |
The request ID. |
3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F |
| DomainName |
string |
The ingest domain name. |
demo.aliyundoc.com |
| DataInterval |
string |
The time granularity of the data. |
300 |
| TrafficDataPerInterval |
object |
||
| DataModule |
array<object> |
The traffic data for each time interval. |
|
|
object |
The data for a time interval. |
||
| TrafficValue |
string |
The traffic. Unit: byte. |
1288111 |
| TimeStamp |
string |
The start of the time interval. |
2017-12-10T20:05:00Z |
Examples
Success response
JSON format
{
"EndTime": "2017-12-10T21:00:00Z",
"StartTime": "2017-12-10T20:00:00Z",
"RequestId": "3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F",
"DomainName": "demo.aliyundoc.com",
"DataInterval": "300",
"TrafficDataPerInterval": {
"DataModule": [
{
"TrafficValue": "1288111",
"TimeStamp": "2017-12-10T20:05:00Z"
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidStartTime.Malformed | Specified StartTime is malformed. | |
| 400 | InvalidEndTime.Malformed | Specified EndTime is malformed. | |
| 400 | InvalidEndTime.Mismatch | Specified end time does not math the specified start time. | The end time does not match the start time. Make sure that the start and end times match. |
| 400 | InvalidStartTime.ValueNotSupported | The specified value of parameter StartTime is not supported. | The value specified for the StartTime parameter is invalid. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.