You need to enable JavaScript to run this app.
导航
DescribeBizFlowAndConnCount-查询业务流量数据
最近更新时间:2024.11.27 21:51:41首次发布时间:2024.07.19 19:17:47

查询实例在固定时段内的业务流量数据,包括业务带宽、包速率和连接数。

请求说明

  • 请求方式:POST
  • 请求地址:https://open.volcengineapi.com/?Action=DescribeBizFlowAndConnCount&Version=2023-03-08

调试

请求参数

Query

参数类型是否必选示例值描述
ActionStringDescribeBizFlowAndConnCount接口名称。当前 API 的名称为 DescribeBizFlowAndConnCount
VersionString2023-03-08接口版本。当前 API 的版本为 2023-03-08

Body

参数类型是否必选示例值描述
EndTimeInteger1718852880结束时间,秒级时间戳,结束时间应大于起始时间。
BeginTimeInteger1718849280起始时间,秒级时间戳,结束时间应大于起始时间。
InstanceIpsArray of String["1.1.1.1"]实例 IP 地址列表。

返回参数

参数类型示例值描述
BizInKbpsFlowObject of BizFlowTerm--入向业务带宽,单位:Kbps。
BizInPpsFlowObject of BizFlowTerm--入向包速率,单位:pps。
BizOutKbpsFlowObject of BizFlowTerm--出向业务带宽,单位:Kbps。
BizOutPpsFlowObject of BizFlowTerm--出向包速率,单位:pps。
ConcurrConnFlowObject of BizFlowTerm--并发连接数,单位:个。
NewConnFlowObject of BizFlowTerm--新建连接数,单位:个。

BizFlowTerm

参数类型示例值描述
AvgFlowsArray of BizFlowPoint--均值曲线
PeakFlowsArray of BizFlowPoint--峰值曲线
PeakValueInteger298峰值
MaxAvgValueInteger298均值的最大值

BizFlowPoint

参数类型示例值描述
ValueInteger3258数值
TimestampInteger1718849280时间节点,秒级时间戳。

请求示例

POST https://open.volcengineapi.com/?Action=DescribeBizFlowAndConnCount&Version=2023-03-08
Host: https://open.volcengineapi.com
Content-Type: application/json; charset=UTF-8
X-Date: 20240610T082509Z
X-content-Sha256: 287e874e******d653b44d21e
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20240610/cn-beijing/AdvDefence/request, SignedHeaders=host;x-content-sha256;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f
{
    "BeginTime": 1718849280,
    "EndTime": 1718852880,
    "InstanceIps": [
        "1.1.1.1"
    ]
}

返回示例

{
    "ResponseMetadata": {
        "RequestId": "20230604110420****100232280022D31",
        "Action": "DescribeBizFlowAndConnCount",
        "Version": "2023-03-08",
        "Service": "AdvDefence",
        "Region": "cn-beijing"
    },
    "Result": {
        "BizInKbpsFlow": {
            "AvgFlows": [
                {
                    "Timestamp": 1720773120,
                    "Value": 23
                },
                {}
            ],
            "PeakFlows": [
                {
                    "Timestamp": 1720773120,
                    "Value": 23
                },
                {}
            ],
            "PeakValue": 97,
            "MaxAvgValue": 97
        },
        "BizInPpsFlow": {
            "AvgFlows": [
                {
                    "Timestamp": 1720773120,
                    "Value": 50
                },
                {}
            ],
            "PeakFlows": [
                {
                    "Timestamp": 1720773120,
                    "Value": 50
                },
                {}
            ],
            "PeakValue": 241,
            "MaxAvgValue": 241
        },
        "BizOutKbpsFlow": {
            "AvgFlows": [
                {
                    "Timestamp": 1720773120,
                    "Value": 272
                },
                {}
            ],
            "PeakFlows": [
                {
                    "Timestamp": 1720773120,
                    "Value": 272
                },
                {}
            ],
            "PeakValue": 574,
            "MaxAvgValue": 574
        },
        "BizOutPpsFlow": {
            "AvgFlows": [
                {
                    "Timestamp": 1720773120,
                    "Value": 46
                },
                {}
            ],
            "PeakFlows": [
                {
                    "Timestamp": 1720773120,
                    "Value": 46
                },
                {}
            ],
            "PeakValue": 156,
            "MaxAvgValue": 156
        },
        "ConcurrConnFlow": {
            "AvgFlows": [
                {
                    "Timestamp": 1720773120,
                    "Value": 46
                },
                {}
            ],
            "PeakFlows": [
                {
                    "Timestamp": 1720773120,
                    "Value": 46
                },
                {}
            ],
            "PeakValue": 52,
            "MaxAvgValue": 52
        },
        "NewConnFlow": {
            "AvgFlows": [
                {
                    "Timestamp": 1720773120,
                    "Value": 0
                },
                {}
            ],
            "PeakFlows": [
                {
                    "Timestamp": 1720773120,
                    "Value": 0
                },
                {}
            ],
            "PeakValue": 44,
            "MaxAvgValue": 44
        }
    }
}