maxmilian/dsh-grafana-query ↗★ 1
dsh-grafana-query
为 DeepSeek Harness 提供的只读 Grafana 指标与告警查询工具插件。
AI 分析
核心用途是让智能体能够读取 Grafana 的监控指标和告警状态。适合运维工程师或 SRE,便于通过对话让 AI 辅助排查系统故障。需要配置 Grafana 实例地址及 Token。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:maxmilian/dsh-grafana-query说明文档
阅读完整 README ↗Configuration
export GRAFANA_URL='https://grafana.example.com'
export GRAFANA_TOKEN='glsa_your_service_account_token'
| Field | Environment variable | Default | Range |
|---|---|---|---|
baseUrl | GRAFANA_URL | required | HTTP(S) URL, no credentials, no query or fragment; a sub-path is fine |
token | GRAFANA_TOKEN | required | non-empty |
locale | — | en | en, zh-TW, zh-CN, ja |
requestTimeoutMs | — | 30000 | 1 – 300000 |
maxResponseBytes | — | 5242880 | 1 – 52428800 |
maxSeries | — | 100 | 1 – 1000 |
Plugin configuration takes precedence over the environment variables.