Domain name for API request: teo.intl.tencentcloudapi.com.
This API is used to query layer-7 monitoring time series traffic Data. This API is to be deprecated. Please use the DescribeTimingL7AnalysisData API.
A maximum of 100 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: DescribeOverviewL7Data. |
| Version | Yes | String | Common Params. The value used for this API: 2022-09-01. |
| Region | No | String | Common Params. This parameter is not required. |
| StartTime | Yes | Timestamp ISO8601 | Start time. |
| EndTime | Yes | Timestamp ISO8601 | End time. |
| MetricNames.N | Yes | Array of String | Queried metric. Valid values:l7Flow_request: Access requests; |
| ZoneIds.N | No | Array of String | Site ID set. This parameter is required. |
| Domains.N | No | Array of String | Queried domain name set. This parameter has been deprecated. |
| Protocol | No | String | Protocol type of the query. Valid values:all is used. This parameter is not yet effective. |
| Interval | No | String | Time granularity of the query. Valid values: |
| Filters.N | No | Array of QueryCondition | Filter criteria. The detailed Key values of filter criteria are as follows:socket:Filter by the specified HTTP protocol type. Valid values: HTTP: HTTP protocol; HTTPS: HTTPS protocol;QUIC: QUIC protocol.?? Filter by [domain name]. ?? Filter by [tag key]. ?? Filter by [tag value]. |
| Area | No | String | Data ownership region. Valid values:global is used. |
| Parameter Name | Type | Description |
|---|---|---|
| TotalCount | Integer | Total number of entries in the query result. |
| Data | Array of TimingDataRecord | List of time series traffic data in L7 monitoring. |
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
Get request count metrics by tag criteria.
POST / HTTP/1.1
Host: teo.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeOverviewL7Data
<Common request parameters>
{
"EndTime": "2022-08-29T19:17:59+08:00",
"Interval": "day",
"Area": "mainland",
"StartTime": "2022-07-31T00:00:00+08:00",
"MetricNames": [
"l7Flow_request"
],
"Filters": [
{
"Key": "tagKey",
"Operator": "equals",
"Value": [
"test1"
]
},
{
"Key": "tagValue",
"Operator": "equals",
"Value": [
"a.com",
"b.com"
]
}
],
"ZoneIds": [
"zone-2mzegj4vln5f"
]
}
{
"Response": {
"RequestId": "6cc74d08-c174-413a-976b-abe7b851e0121",
"Data": [
{
"TypeKey": "251227260",
"TypeValue": [
{
"Avg": 1564,
"Detail": [
{
"Timestamp": 1659139200,
"Value": 100
},
{
"Timestamp": 1659225600,
"Value": 34
}
],
"Max": 8037,
"MetricName": "l7Flow_request",
"Sum": 48511
}
]
}
],
"TotalCount": 1
}
}
Query the request count metric of layer-7 monitoring data
POST / HTTP/1.1
Host: teo.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeOverviewL7Data
<Common request parameters>
{
"EndTime": "2022-08-29T19:17:59+08:00",
"Interval": "day",
"Area": "mainland",
"StartTime": "2022-07-31T00:00:00+08:00",
"MetricNames": [
"l7Flow_request"
],
"ZoneIds": [
"zone-2mzegj4vln5f"
]
}
{
"Response": {
"RequestId": "6cc74d08-c174-413a-976b-abe7b851e010",
"Data": [
{
"TypeKey": "251227260",
"TypeValue": [
{
"Avg": 1564,
"Detail": [
{
"Timestamp": 1659139200,
"Value": 0
},
{
"Timestamp": 1659225600,
"Value": 0
}
],
"Max": 8037,
"MetricName": "l7Flow_request",
"Sum": 48511
}
]
}
],
"TotalCount": 1
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| FailedOperation | Operation failed. |
| InternalError.RouteError | Backend service routing address error. |
| InvalidParameter | Parameter error. |
| InvalidParameterValue | Parameter value error. |
| LimitExceeded.QueryTimeLimitExceeded | Query time range exceeds the limit. |
| ResourceNotFound | The resource does not exist. |
| ResourceUnavailable | Resources are unavailable. |
| UnauthorizedOperation.CamUnauthorized | Unauthorized Cam operation. |
フィードバック