LJH-snow/dsh-tool-monitoring0

@libai168/dsh-tool-monitoring

DeepSeek Harness 的监控与告警工具包:支持 Prometheus 查询与 Alertmanager 告警管理

AI 分析

为 DSH 提供监控系统对接能力。适合需要让 Agent 查询 Prometheus 指标、分析 TSDB 状态或管理 Alertmanager 告警的运维人员,支持配置读写权限。

套件
@libai168/dsh-tool-monitoring
版本
0.1.0
授權
MIT
最近更新
2026年8月28日

安裝

此插件尚未提供可驗證的 bundle,或相容性檢查未通過。請先閱讀倉庫說明。 閱讀完整 README ↗

Configuration

Load the plugin in a dsh composition config (cordis.yml):

- name: 'github:LJH-snow/dsh-tool-monitoring'
  config:
    prometheusBaseUrl: 'http://prometheus:9090'       # optional, default http://localhost:9090
    prometheusToken: 'plain_token_or_Bearer_token'    # optional
    alertmanagerBaseUrl: 'http://alertmanager:9093'   # optional, default http://localhost:9093
    alertmanagerToken: 'plain_token_or_Bearer_token'  # optional
    timeoutMs: 15000                                  # optional, default 15000
    allowWrite: false                                 # optional, write tools are disabled by default

Full example: examples/cordis.yml.

Each component can also use HTTP Basic Auth with prometheusUsername/prometheusPassword or alertmanagerUsername/alertmanagerPassword. Set a base URL to an empty string to disable that component and return an explicit connected: false business value.

Security: write tools are gated by allowWrite. Keep it false unless the dsh runtime is explicitly allowed to delete Prometheus series, create or delete Alertmanager silences, or send alerts.