Prometheus observation and test status checks. Used to query Doris cluster CPU usage, FE query latency jitter, and other metrics, or when you need to output PromQL or raw Prometheus responses.
使用内置脚本查询 Prometheus 指标,常用于测试期间观察 Doris 集群 CPU 与 FE 查询延迟抖动。
.env 中的 PROMETHEUS_URL(未设置时脚本使用示例地址)。--print-promql 或 --debug。脚本:.codex/skills/prom-checker/scripts/prometheus_cpu_usage.py
用法:
uv run python3 .codex/skills/prom-checker/scripts/prometheus_cpu_usage.py --be-cluster-id <BE_CLUSTER_ID>
常用参数:
--interval:PromQL 区间,默认 1m--prometheus-url:默认读取 PROMETHEUS_URL--print-promql:打印最终 PromQL--debug:打印 Prometheus 原始 JSON(stderr)输出:job instance value timestamp
脚本:.codex/skills/prom-checker/scripts/prometheus_query_latency_jitter.py
用法:
uv run python3 .codex/skills/prom-checker/scripts/prometheus_query_latency_jitter.py --fe-cluster-id <FE_CLUSTER_ID>
常用参数:
--window-seconds:时间窗口,默认 7200 秒--step-seconds:步长,默认 60 秒--start/--end:Unix 秒级时间戳--prometheus-url:默认读取 PROMETHEUS_URL--print-promql、--debug输出:窗口范围、序列数量、最大抖动点、前后采样值。
脚本:.codex/skills/prom-checker/scripts/prometheus_common.py
用途:封装 Prometheus 即时查询与区间查询,新脚本优先复用。
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer