GET/v1/monitor/stream/realtime
type
string
required
可选值为stream-bandwidth、stream-traffic
port
string
监听的端口,多个端口空格分隔
start
string
起始时间,如2021-12-19 10:22:26
end
string
终止时间,如2021-11-27 11:22:26
返回结果
{
	"code": 0,
	"data": [
		[
			1637983500000,
			1.56
		],
		[
			1637983800000,
			0
		],
		[
			1637984100000,
			0
		],
		[
			1637984400000,
			0
		],
		[
			1637984700000,
			0
		],
		[
			1637985000000,
			0
		],
		[
			1637985300000,
			0
		],
		[
			1637985600000,
			0
		],
		[
			1637985900000,
			0
		],
		[
			1637986200000,
			0
		],
		[
			1637986500000,
			23.4
		]
	],
	"msg": ""
}

类型为带宽时,单位是字节/s,为流量时,单位为字节
© 版权声明
评论 抢沙发

请登录后发表评论

    暂无评论内容