Skip to content
Agentmart
Submit a tool

byted-volcengine-cloudmonitor

火山引擎云监控技能,用于查询云资源的监控时序数据。

Skill by bytedanceOfficial

IndexedApache-2.0★ 473
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/bytedance-byted-volcengine-cloudmonitor

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

火山引擎云监控技能,用于查询云资源的监控时序数据。

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/byted-volcengine-cloudmonitor

What's inside

Skill name
byted-volcengine-cloudmonitor
Description
火山引擎云监控技能,用于查询云资源的监控时序数据。
License
Apache-2.0
Instructions
207 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts
  • Instructions call the network

Files (3)

  • SKILL.md
  • supported-cloud-products.md · references/
  • get_metric_data.py · scripts/

SKILL.md (first lines)

# 火山引擎云监控 Skill

这个 Skill 用于查询火山引擎云监控的监控时序数据。

## 何时使用此 Skill

当用户要求:

- 通过云监控查询产品监控数据的时候

## 主要功能

### 1. 监控时序数据查询

- 完全控制所有参数
- 灵活的时间范围查询
- 支持多种监控指标
- 默认查询最近 5 分钟数据

### 2. 配置与调用方式

- 支持环境变量配置 `AK/SK`
- 支持 `.env` 文件配置
- 支持命令行直接使用
- 支持 Python 代码调用
- 支持 JSON 格式输出

## 处理逻辑

### 监控时序数据查询处理流程:

1. **根据客户提供的实例信息确定产品**
   - 识别产品类型(ECS、云服务器等)
2. **通过产品确定 namespace**
   - 自动映射到对应的产品命名空间
3. **通过监控指标确定 metric\_name/sub\_namespace**
   - 根据监控指标关键词自动确定
4. **结合 dimension 查询监控时序数据**
   - 如果没有指定时间范围,则按照默认**五分钟**查询

## 前置要求

需要安装火山引擎 Python SDK:

```bash
pip install --upgrade "volcengine-python-sdk>=5.0.21"
```

## 配置方式

需要配置火山引擎的 Access Key 和 Secret Key。推荐使用以下三种方式之一:

### 方式 1:环境变量

```bash
export VOLCENGINE_AK="your-ak"
export VOLCENGINE_SK="your-sk"
```

### 方式 2:`.env` 文件

在 `~/.openclaw/workspace/.env` 中配置:

```env
VOLCENGINE_AK=your-ak
VOLCENGINE_SK=your-sk
```

## 监控参数说明

### 监控时序数据查询核心参数

- **namespace**: 产品命名空间(如 VCM\_ECS)
- **metric\_name**: 监控指标名称(如 DiskUsageUtilization)
- **sub\_namespace**: 子命名空间(如 Instance)
- **dimension\_name**: 维度名称(如 ResourceID)
- **dimension\_value**: 维度值(如实例 ID)
- **start\_time**: 开始时间戳(可选,默认 5 分钟前)
- **end\_time**: 结束时间戳(可选,默认当前时间)
- **duration**: 查询时长(分钟,默认 5 分钟)

### 监控时序数据查询参数表

| 参数                  | 简写   | 说明          | 必填 | 默认值                        |
| ------------------- | ---- | ----------- | -- | -------------------------- |
| `--namespace`       | `-n` | 产品命名空间      | 是  | -                          |
| `--metric-name`     | `-m` | 监控指标名称      | 是  | -                          |
| `--sub-namespace`   | `-s` | 子命名空间       | 是  | -                          |
| `--dimension-name`  | `-d` | 维度名称        | 是  | -                          |
| `--dimension-value` | `-v` | 维度值         | 是  | -                          |
| `--start-time`      | -    | 开始时间戳       | 否  | `end_time - duration * 60` |
| `--end-time`        | -    | 结束时间戳       | 否  | 当前时间                       |
| `--duration`        | -    | 查询时长(分钟)    | 否  | `5`                        |
| `--ak`              | -    | Access Key  | 否  | 从配置读取                      |
| `--sk`              | -    | Secret Key  | 否  | 从配置读取                      |
| `--region`          | -    | 区域          | 否  | `cn-beijing`               |
| `--json`            | -    | 以 JSON 格式输出 | 否  | `False`                    |

### 时间参数说明

- 如果不指定 `--start-time` 和 `--end-time`,默认查询最近 **5 分钟**的数据。
- 可以使用 `--duration` 参数指定查询时长,单位为分钟。
- 时间戳格式为 Unix 时间戳,单位为秒。

## 如何获取监控参数

### 1. 获取产品命名空间(namespace)

可通过以下接口查询支持的监控产品:

```bash
curl 'https://cloudmonitor-api.console.volcengine.com/external/api/documents?Action=ListMetricProducts&Version=2018-01-01' \
  -H 'Content-Type: application/json' \
  --data-raw '{}'
```

### 2. 获取监控指标(metric\_name / sub\_namespace / dimension\_name)

在确定 `namespace` 后,可通过以下接口查询该产品的指标定义:

From bytedance/agentkit-samples, Apache-2.0.

More from bytedance/agentkit-samples

Signals

Stars
473
Forks
101
Open issues
14
Last commit (this folder)
May 21, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from bytedance

Cite this page

byted-volcengine-cloudmonitor skill. Agent Mart. https://agentmart.dev/skills/bytedance-byted-volcengine-cloudmonitor (last updated 2026-10-24)