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

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

请求说明

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

调试

请求参数

Query

参数类型是否必选示例值描述
ActionStringDescBizFlowAndConnCount接口名称。当前 API 的名称为 DescBizFlowAndConnCount
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=DescBizFlowAndConnCount&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/origin_defence/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": "DescBizFlowAndConnCount",
        "Version": "2023-03-08",
        "Service": "origin_defence",
        "Region": "cn-beijing"
    },
    "Result": {
        "PageInfo": {
            "Count": 56609684,
            "PageSize": -37348665,
            "TotalCount": 92152988,
            "CurrentPage": -15589052
        },
        "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
            }
        }
    }
}