dsh-grafana
Grafana dashboard editor for DeepSeek Harness: paste a dashboard URL, edit JSON via conversation, push back via HTTP API
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:guhanfei-ai/dsh-grafana说明文档
阅读完整 README ↗配置
| 配置项 | 默认值 | 说明 |
|---|---|---|
baseUrl | http://grafana.example.com | Grafana 根地址 |
tokenRef | GRAFANA_TOKEN | 凭证引用名,对应 ~/.dsh/.credentials.yaml 中的键 |
可在 DSH Web 设置界面(插件页)或 profile 的 cordis.patch.yml 中覆盖。
凭证配置
- 在 Grafana 中创建 Service Account(Editor 权限)并生成 token(
glsa_...) - 把 token 写入本机凭证文件(权限 600,仅本机用户可读):
echo 'GRAFANA_TOKEN: glsa_xxxxxxxx' >> ~/.dsh/.credentials.yaml
chmod 600 ~/.dsh/.credentials.yaml
- 聊天记录、插件配置、日志中永远只出现引用名
GRAFANA_TOKEN,不出现 token 明文