LJH-snow/dsh-tool-monitoring0

@libai168/dsh-tool-monitoring

Monitoring and alerting tools for DeepSeek Harness: Prometheus queries, targets, alerts, rules, label discovery, TSDB status, and Alertmanager silences, alerts, and receivers

AI 分析

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

パッケージ
@libai168/dsh-tool-monitoring
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/08/28

インストール

検証済み bundle がないか、互換性チェックに失敗しています。先にリポジトリの説明を読んでください。 README 全文を読む ↗

ドキュメント

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.