Elinpf/dsh-ops-plugins--packages-ops-tool-prometheus ↗★ 1
@elinpf/dsh-ops-tool-prometheus
prometheus tool consumer of the ops-access seam — resolves prometheus profiles and runs PromQL instant/range queries over the Prometheus HTTP API, injecting the bearer token automatically. 适合需要让 AI 代理安全执行 PromQL 查询并自动注入凭据的场景。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Elinpf/dsh-ops-plugins#64b1d76649bf24155173c74254d0fb61d12815d5&path:packages/ops-tool-prometheusドキュメント
README 全文を読む ↗Configuration
Schemastery schema, one option:
| Key | Default | Meaning |
|---|---|---|
timeoutMs | 30000 | Per-call HTTP timeout for Prometheus queries (ms). Slow queries may need more. |