HuckOps/dsh-prometheus-plugin

HuckOps★ 0TypeScript最后同步: 2026-08-17

在 GitHub 打开

README 摘要

dsh-prometheus-plugin A DeepSeek Harness ( dsh ) plugin that exposes the Prometheus HTTP API as a set of tools an LLM agent can call. Built on the Cordis framework and @deepseek-ai/dsh-tools . Features - 30 tools covering the full Prometheus HTTP API: instant / range queries, metadata & series discovery, targets, rules / alerts / alertmanagers, server status, the experimental Search API, and the admin TSDB endpoints. - A single shared HTTP client ( src/client.ts ) with consistent error formatting and a configurable request timeout ( AbortController , default 30s). - Declarative tool definitions via @deepseek-ai/dsh-tools , friendly for agent use. Prerequisites - A running Prometheus instance reachable over HTTP. - Some endpoints require extra Prometheus launch flags: - Admin tools ( admin-snapshot , admin-delete-series , admin-clean-tombstones ) require --web.enable-admin-api . - Search tools ( search-metric-names , search-label-names , search-label-values ) require --enable-feature=search-api . - Some endpoints are only available in newer Prometheus versions ( format-query , parse-query , query-exemplars , status-tsdb (3.6.0+), status-self-metrics , features , …). Pointing a tool …

在 GitHub 查看完整 README →
工具/开发dsh-plugindsh-plugin-marketdsh-pluginsagentsearch

分类