全部产品
专有网络 VPC

查询共享带宽包监控信息

更新时间:2017-06-07 13:26:11   分享:   

描述

查询指定共享带宽包的监控信息。

  • 所有监控项的信息,均为该共享带宽包上所有IP的汇总信息。

  • 如果要查询共享带宽包中某个IP的监控信息,请使用“查询共享带宽包公网IP监控信息”接口。

支持的监控项包括:

  • RX :接收流量,单位为Bytes;
  • TX :发送流量,单位为Bytes;
  • Flow: 总流量(包含发送和接收) (=RX + TX),单位为Bytes;
  • ReceivedBandwidth : 接收数据平均带宽 (=RX/Period),单位为Bytes/s;
  • TransportedBandwidth:发送数据平均带宽 (=TX/Period),单位为Bytes/s;
  • Bandwidth: 平均带宽(包含发送和接收) (=Flow/Period),单位为Bytes/s;
  • Packets:发送和接收的总报文数,单位为个;

支持的查询时间精度(一条数据包含多长时间的监控数据):

  • 60s
  • 600s
  • 3600s

查询的时间范围:

  • StartTime:
    • 必须小于当前时间
    • 必须在最近一个月之内
  • EndTime:
    • 必须小于当前时间
    • (EndTime – StartTime)/ Period 必须<= 200

请求参数

名称 类型 是否必须 描述
Action String 系统规定参数,取值:DescribeBandwidthPackageMonitorData
RegionId String Region ID
BandwidthPackageId String 共享带宽包Id
StartTime String 获取数据的起始时间点:按照 ISO8601 标准表示,并需要使用 UTC 时间。格式为:YYYY-MM-DDThh:mm:ssZ。
如果秒不是 00,则自动取为下一分钟开始时
UTC时间并非北京时区,国内用户调用时,请注意时区转换问题。
EndTime String 获取数据的结束时间点:按照 ISO8601 标准表示,并需要使用 UTC 时间。格式为:YYYY-MM-DDThh:mm:ssZ。
如果秒不是 00,则自动取为下一分钟开始时
Period String 获取监控数据的精度;单位为秒;含义是,一个监控数据点对应多大时间范围内的数据。
可选值:60 | 600 | 3600
默认 60 秒。

返回参数

名称 类型 描述
MonitorData BandwidthPackageMonitorDataSetType 实例监控数据BandwidthPackageMonitorDataItemType组成的集合

错误码

TODO

示例

请求示例

  1. https://vpc.aliyuncs.com/SignatureVersion=1.0&BandwidthPackageId=bwp-81xh1di38&Format=json&TimeStamp=2016-08-18T08%3A51%3A29Z&RegionId=cn-shanghai&Period=600&AccessKeyId=jZgi0oyrQ6ihgKp9&SignatureMethod=HMAC-SHA1&Version=2016-04-28&StartTime=2016-08-17T14%3A00%3A00Z&Signature=APpm%2FPaUhSJO0R1wvOS0KZ01DFU%3D&Action=DescribeBandwidthPackageMonitorData&SignatureNonce=f41d0419-6520-11e6-bf20-2cf0ee28adf2&EndTime=2016-08-18T17%3A00%3A00Z

返回示例

XML格式

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <DescribeBandwidthPackageMonitorDataResponse>
  3. <MonitorDatas>
  4. <MonitorData>
  5. <TimeStamp>2016-08-17T14:50:00Z</TimeStamp>
  6. <Flow>9085899</Flow>
  7. <RX>8887353</RX>
  8. <TransportedBandwidth>330</TransportedBandwidth>
  9. <Packets>9571</Packets>
  10. <TX>198546</TX>
  11. <ReceivedBandwidth>14812</ReceivedBandwidth>
  12. <Bandwidth>15143</Bandwidth>
  13. </MonitorData>
  14. <MonitorData>
  15. <TimeStamp>2016-08-17T16:30:00Z</TimeStamp>
  16. <Flow>1155920880</Flow>
  17. <RX>1113608740</RX>
  18. <TransportedBandwidth>70520</TransportedBandwidth>
  19. <Packets>2600097</Packets>
  20. <TX>42312140</TX>
  21. <ReceivedBandwidth>1856014</ReceivedBandwidth>
  22. <Bandwidth>1926534</Bandwidth>
  23. </MonitorData>
  24. <MonitorData>
  25. <TimeStamp>2016-08-17T15:40:00Z</TimeStamp>
  26. <Flow>1518176786</Flow>
  27. <RX>1457792760</RX>
  28. <TransportedBandwidth>100640</TransportedBandwidth>
  29. <Packets>3473975</Packets>
  30. <TX>60384026</TX>
  31. <ReceivedBandwidth>2429654</ReceivedBandwidth>
  32. <Bandwidth>2530294</Bandwidth>
  33. </MonitorData>
  34. <MonitorData>
  35. <TimeStamp>2016-08-17T15:30:00Z</TimeStamp>
  36. <Flow>1311199334</Flow>
  37. <RX>1257142436</RX>
  38. <TransportedBandwidth>90094</TransportedBandwidth>
  39. <Packets>3024269</Packets>
  40. <TX>54056898</TX>
  41. <ReceivedBandwidth>2095237</ReceivedBandwidth>
  42. <Bandwidth>2185332</Bandwidth>
  43. </MonitorData>
  44. <MonitorData>
  45. <TimeStamp>2016-08-17T16:10:00Z</TimeStamp>
  46. <Flow>1467241462</Flow>
  47. <RX>1404549020</RX>
  48. <TransportedBandwidth>104487</TransportedBandwidth>
  49. <Packets>3414563</Packets>
  50. <TX>62692442</TX>
  51. <ReceivedBandwidth>2340915</ReceivedBandwidth>
  52. <Bandwidth>2445402</Bandwidth>
  53. </MonitorData>
  54. <MonitorData>
  55. <TimeStamp>2016-08-17T15:10:00Z</TimeStamp>
  56. <Flow>1397196626</Flow>
  57. <RX>1343216687</RX>
  58. <TransportedBandwidth>89966</TransportedBandwidth>
  59. <Packets>3174834</Packets>
  60. <TX>53979939</TX>
  61. <ReceivedBandwidth>2238694</ReceivedBandwidth>
  62. <Bandwidth>2328661</Bandwidth>
  63. </MonitorData>
  64. <MonitorData>
  65. <TimeStamp>2016-08-17T15:50:00Z</TimeStamp>
  66. <Flow>1181829700</Flow>
  67. <RX>1132902659</RX>
  68. <TransportedBandwidth>81545</TransportedBandwidth>
  69. <Packets>2727233</Packets>
  70. <TX>48927041</TX>
  71. <ReceivedBandwidth>1888171</ReceivedBandwidth>
  72. <Bandwidth>1969716</Bandwidth>
  73. </MonitorData>
  74. <MonitorData>
  75. <TimeStamp>2016-08-17T16:00:00Z</TimeStamp>
  76. <Flow>1614655244</Flow>
  77. <RX>1552210194</RX>
  78. <TransportedBandwidth>104075</TransportedBandwidth>
  79. <Packets>3671315</Packets>
  80. <TX>62445050</TX>
  81. <ReceivedBandwidth>2587016</ReceivedBandwidth>
  82. <Bandwidth>2691092</Bandwidth>
  83. </MonitorData>
  84. <MonitorData>
  85. <TimeStamp>2016-08-17T15:00:00Z</TimeStamp>
  86. <Flow>2321834295</Flow>
  87. <RX>2272180130</RX>
  88. <TransportedBandwidth>82756</TransportedBandwidth>
  89. <Packets>2894617</Packets>
  90. <TX>49654165</TX>
  91. <ReceivedBandwidth>3786966</ReceivedBandwidth>
  92. <Bandwidth>3869723</Bandwidth>
  93. </MonitorData>
  94. <MonitorData>
  95. <TimeStamp>2016-08-17T16:20:00Z</TimeStamp>
  96. <Flow>1259175750</Flow>
  97. <RX>1208380090</RX>
  98. <TransportedBandwidth>84659</TransportedBandwidth>
  99. <Packets>2887019</Packets>
  100. <TX>50795660</TX>
  101. <ReceivedBandwidth>2013966</ReceivedBandwidth>
  102. <Bandwidth>2098626</Bandwidth>
  103. </MonitorData>
  104. <MonitorData>
  105. <TimeStamp>2016-08-17T15:20:00Z</TimeStamp>
  106. <Flow>1373888354</Flow>
  107. <RX>1303132001</RX>
  108. <TransportedBandwidth>117927</TransportedBandwidth>
  109. <Packets>3351008</Packets>
  110. <TX>70756353</TX>
  111. <ReceivedBandwidth>2171886</ReceivedBandwidth>
  112. <Bandwidth>2289813</Bandwidth>
  113. </MonitorData>
  114. </MonitorDatas>
  115. <RequestId>E3A8FAA0-CA52-4F5E-9852-70F4B355A519</RequestId>
  116. </DescribeBandwidthPackageMonitorDataResponse>

JSON格式

  1. {
  2. "MonitorDatas": {
  3. "MonitorData": [
  4. {
  5. "Bandwidth": 15143,
  6. "Flow": 9085899,
  7. "Packets": 9571,
  8. "RX": 8887353,
  9. "ReceivedBandwidth": 14812,
  10. "TX": 198546,
  11. "TimeStamp": "2016-08-17T14:50:00Z",
  12. "TransportedBandwidth": 330
  13. },
  14. {
  15. "Bandwidth": 1926534,
  16. "Flow": 1155920880,
  17. "Packets": 2600097,
  18. "RX": 1113608740,
  19. "ReceivedBandwidth": 1856014,
  20. "TX": 42312140,
  21. "TimeStamp": "2016-08-17T16:30:00Z",
  22. "TransportedBandwidth": 70520
  23. },
  24. {
  25. "Bandwidth": 2530294,
  26. "Flow": 1518176786,
  27. "Packets": 3473975,
  28. "RX": 1457792760,
  29. "ReceivedBandwidth": 2429654,
  30. "TX": 60384026,
  31. "TimeStamp": "2016-08-17T15:40:00Z",
  32. "TransportedBandwidth": 100640
  33. },
  34. {
  35. "Bandwidth": 2185332,
  36. "Flow": 1311199334,
  37. "Packets": 3024269,
  38. "RX": 1257142436,
  39. "ReceivedBandwidth": 2095237,
  40. "TX": 54056898,
  41. "TimeStamp": "2016-08-17T15:30:00Z",
  42. "TransportedBandwidth": 90094
  43. },
  44. {
  45. "Bandwidth": 2445402,
  46. "Flow": 1467241462,
  47. "Packets": 3414563,
  48. "RX": 1404549020,
  49. "ReceivedBandwidth": 2340915,
  50. "TX": 62692442,
  51. "TimeStamp": "2016-08-17T16:10:00Z",
  52. "TransportedBandwidth": 104487
  53. },
  54. {
  55. "Bandwidth": 2328661,
  56. "Flow": 1397196626,
  57. "Packets": 3174834,
  58. "RX": 1343216687,
  59. "ReceivedBandwidth": 2238694,
  60. "TX": 53979939,
  61. "TimeStamp": "2016-08-17T15:10:00Z",
  62. "TransportedBandwidth": 89966
  63. },
  64. {
  65. "Bandwidth": 1969716,
  66. "Flow": 1181829700,
  67. "Packets": 2727233,
  68. "RX": 1132902659,
  69. "ReceivedBandwidth": 1888171,
  70. "TX": 48927041,
  71. "TimeStamp": "2016-08-17T15:50:00Z",
  72. "TransportedBandwidth": 81545
  73. },
  74. {
  75. "Bandwidth": 2691092,
  76. "Flow": 1614655244,
  77. "Packets": 3671315,
  78. "RX": 1552210194,
  79. "ReceivedBandwidth": 2587016,
  80. "TX": 62445050,
  81. "TimeStamp": "2016-08-17T16:00:00Z",
  82. "TransportedBandwidth": 104075
  83. },
  84. {
  85. "Bandwidth": 3869723,
  86. "Flow": 2321834295,
  87. "Packets": 2894617,
  88. "RX": 2272180130,
  89. "ReceivedBandwidth": 3786966,
  90. "TX": 49654165,
  91. "TimeStamp": "2016-08-17T15:00:00Z",
  92. "TransportedBandwidth": 82756
  93. },
  94. {
  95. "Bandwidth": 2098626,
  96. "Flow": 1259175750,
  97. "Packets": 2887019,
  98. "RX": 1208380090,
  99. "ReceivedBandwidth": 2013966,
  100. "TX": 50795660,
  101. "TimeStamp": "2016-08-17T16:20:00Z",
  102. "TransportedBandwidth": 84659
  103. },
  104. {
  105. "Bandwidth": 2289813,
  106. "Flow": 1373888354,
  107. "Packets": 3351008,
  108. "RX": 1303132001,
  109. "ReceivedBandwidth": 2171886,
  110. "TX": 70756353,
  111. "TimeStamp": "2016-08-17T15:20:00Z",
  112. "TransportedBandwidth": 117927
  113. }
  114. ]
  115. },
  116. "RequestId": "72283F57-D5E6-4DD8-8976-33D453E994B0"
  117. }
本文导读目录
本文导读目录
以上内容是否对您有帮助?