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. 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.