victoriametrics-unused-metrics-analysis
OfficialIdentify unused metrics to shrink VictoriaMetrics.
System Documentation
What problem does it solve?
Find unused and rarely-queried metrics in VictoriaMetrics using the metric_names_stats API, then suggest optimization actions (drop rules, relabel configs). Use this skill when the user wants to find unused metrics, identify wasted storage, optimize metric ingestion, reduce cardinality by dropping unneeded metrics, clean up scrape targets, or asks about which metrics are never queried. Also trigger when the user mentions "metric cleanup", "unused series", "what metrics can I drop", "metric optimization", "wasted ingestion", or wants to reduce VictoriaMetrics resource consumption by eliminating unnecessary metrics.
Core Features & Use Cases
- Identify metrics with queryRequests: 0 and lastRequestTimestamp to determine truly unused metrics
- Group unused metrics by prefix and provide precise counts per specific metric names to enable safe drops
- Recommend concrete actions for removal or relabeling (vmagent relabel_configs, or -relabelConfig) and caution about dependencies with dashboards/alerts
Quick Start
Run the skill to identify unused and rarely queried metrics in your VictoriaMetrics deployment and receive actionable optimization steps.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: victoriametrics-unused-metrics-analysis Download link: https://github.com/VictoriaMetrics/skills/archive/main.zip#victoriametrics-unused-metrics-analysis Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.