DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Prometheus Plugin — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
P

@local/dsh-prometheus-plugin

Prometheus Plugin

PromQL plugin for dsh: exposes the Prometheus HTTP API as agent tools

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:HuckOps/dsh-prometheus-plugin#fe6c819b825c9aebb4ed294921412e399e05b1ed
READMECompatibilityVersions

Compatibility and provenance

Prometheus Plugin is published as @local/dsh-prometheus-plugin and currently resolves to version 0.1.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
github
Registry updated
10/18/2026

Versions

0.1.0stable
10/18/2026

Related plugins

Loading related plugins…

Latest
0.1.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
any
License
MIT
Source
github
GitHub
★ 0
Weekly downloads
0
Last push
10/18/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in integrations-communication.

Acp App@deepseek-ai/dsh-acp-appThe dsh ACP profile bundle: automation-only JSON-RPC stdio and process lifecycle over dsh-baseExperimental Plugin Market Bundle@deepseek-ai/dsh-experimental-plugin-market-bundleExperimental custom plugin markets: a Discover tab that browses and installs bundles from plugin market indexesAb Wechat Scrapedsh-ab-wechat-scrape--- description: "The out-of-tree wechat_scrape tool: retrieves WeChat official-account articles, filters promotional blocks, and saves each as a Markdown file, for maintainers of this machine's dsh profiles." kind: "package-reference" ---Im@xmanrui/dsh-im把微信、飞书、企微、钉钉、QQ、Telegram、WhatsApp、Slack、Discord、Matrix接入DSH。 Connect Telegram, WhatsApp, Slack, Discord, Matrix, WeChat, Feishu, WeCom, DingTalk, and QQ to DSH.

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 at an older server returns an HTTP error from Prometheus itself.

Usage

Install the bundle into your dsh profile:

git clone https://github.com/HuckOps/dsh-prometheus-plugin
# In dsh (agent or Plugin Manager), install the bundle:
# plugin_manager install_bundle /path/to/dsh-prometheus-plugin

The bundle declares cordis.patch.yml, which registers the promql-plugin entry with the package @local/dsh-prometheus-plugin (resolved via the dsh.bundle.patch field in package.json). No manual cordis.yml editing is needed.

The patch ships a default config:

- insert:
    - id: promql-plugin
      name: '@local/dsh-prometheus-plugin'
      config:
        prometheusEndpoint: http://127.0.0.1:9090

Edit the patch (or override the entry's config) to point at your Prometheus instance. prometheusEndpoint defaults to http://127.0.0.1:9090 when omitted.

To build from source:

npm install        # postinstall runs tsc, output to lib/

Note: runtime dependencies (@deepseek-ai/dsh-tools, @deepseek-ai/cordis, @deepseek-ai/schemastery) are declared as peer dependencies matching the DSH host runtime; they are not bundled into the plugin.

Tools

All tools are registered with the promql- prefix.

Query

ToolPrometheus endpoint
promql-queryGET /api/v1/query
promql-query-rangeGET /api/v1/query_range
promql-format-queryGET /api/v1/format_query
promql-parse-queryGET /api/v1/parse_query
promql-query-exemplarsGET /api/v1/query_exemplars

Metadata & series

ToolPrometheus endpoint
promql-seriesGET /api/v1/series
promql-labelsGET /api/v1/labels
promql-label-valuesGET /api/v1/label/{name}/values
promql-metadataGET /api/v1/metadata

Targets

ToolPrometheus endpoint
promql-targetsGET /api/v1/targets
promql-targets-metadataGET /api/v1/targets/metadata
promql-scrape-poolsGET /api/v1/scrape_pools

Rules / alerts / alertmanagers

ToolPrometheus endpoint
promql-rulesGET /api/v1/rules
promql-alertsGET /api/v1/alerts
promql-alertmanagersGET /api/v1/alertmanagers

Status

ToolPrometheus endpoint
promql-status-configGET /api/v1/status/config
promql-status-flagsGET /api/v1/status/flags
promql-status-runtimeinfoGET /api/v1/status/runtimeinfo
promql-status-buildinfoGET /api/v1/status/buildinfo
promql-status-tsdbGET /api/v1/status/tsdb (3.6.0+)
promql-status-tsdb-blocksGET /api/v1/status/tsdb/blocks
promql-status-walreplayGET /api/v1/status/walreplay
promql-status-self-metricsGET /api/v1/status/self_metrics
promql-featuresGET /api/v1/features

Search (experimental, requires --enable-feature=search-api)

ToolPrometheus endpoint
promql-search-metric-namesGET /api/v1/search/metric_names
promql-search-label-namesGET /api/v1/search/label_names
promql-search-label-valuesGET /api/v1/search/label_values

Admin (requires --web.enable-admin-api)

ToolPrometheus endpoint
promql-admin-snapshotPOST /api/v1/admin/tsdb/snapshot
promql-admin-delete-seriesPOST /api/v1/admin/tsdb/delete_series
promql-admin-clean-tombstonesPOST /api/v1/admin/tsdb/clean_tombstones

Project layout

.
├── cordis.patch.yml    # dsh bundle patch: registers the promql-plugin entry
├── package.json        # bundle manifest (dsh.bundle.patch) + peer deps
├── icon.svg            # bundle display icon
├── locale/
│   ├── en.json
│   └── zh.json
├── tsconfig.json
├── README.md
├── LICENSE
└── src/
    ├── index.ts        # package entry: re-exports apply/inject/Config
    ├── client.ts       # shared HTTP client + error handling + timeout
    ├── query.ts        # query / query_range / format_query / parse_query / query_exemplars
    ├── metadata.ts     # series / labels / label_values / metadata
    ├── targets.ts      # targets / targets_metadata / scrape_pools
    ├── rules.ts        # rules / alerts / alertmanagers
    ├── status.ts       # config / flags / runtimeinfo / buildinfo / tsdb / tsdb_blocks / walreplay / self_metrics / features
    ├── search.ts       # search/metric_names / search/label_names / search/label_values
    ├── admin.ts        # admin/tsdb/snapshot / delete_series / clean_tombstones
    └── plugin.ts       # entry: imports and registers all tools

License

MIT © 2026 HuckOps