prometheus/prometheus-mcp/optimize-high-cardinality
Find and reduce high-cardinality metrics and labels. Use when series counts or memory grow, queries slow down, or tsdb_stats shows label explosions; pinpoints offending labels and proposes relabeling, dropping, and aggregation fixes.
Agent skill · version 0.19.0-rc.0 · from prometheus/prometheus-mcp
Install
npx yarkr-cli add skill:prometheus/prometheus-mcp/optimize-high-cardinalityWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:prometheus/prometheus-mcp/optimize-high-cardinality
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:prometheus/prometheus-mcp/optimize-high-cardinalityOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:prometheus/prometheus-mcp/optimize-high-cardinalityWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.