dis__ShowStreamMetrics
Queries monitoring data for a specified DIS stream to track traffic, latency, and request success metrics across a chosen time range.
Instructions
[DIS] 本接口用于查询指定通道的监控数据。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"end_time": "<end_time>",
"project_id": "<project_id>",
"start_time": "<start_time>",
"stream_name": "<stream_name>"
},
"name": "dis__ShowStreamMetrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | 通道监控指标。(label与label_list必须二选一,label_list与label同时存在时,以label_list为准) | |
| end_time | Yes | 监控结束时间点,10位时间戳。 | |
| label_list | No | 使用label用逗号拼接组成,用于批量查询多个label的指标。(label与label_list必须二选一,label_list与label同时存在时,以label_list为准) | |
| project_id | Yes | 项目ID。 | |
| start_time | Yes | 监控开始时间点,10位时间戳。 | |
| stream_name | Yes | 通道名称。 |