[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-prometheus-find-top-resource-consumers":3,"mdc--ig2jg9-key":35,"related-org-prometheus-find-top-resource-consumers":160,"related-repo-prometheus-find-top-resource-consumers":246},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":24,"repoUrl":25,"updatedAt":26,"license":27,"forks":28,"topics":29,"repo":30,"sourceUrl":33,"mdContent":34},"find-top-resource-consumers","identify top resource consumers in Prometheus","Find the top CPU, memory, or disk consumers. Use for capacity reviews, noisy-neighbor hunts, and top-N questions about which jobs, pods, or instances use the most resources or drive TSDB growth; builds topk() queries over discovered metrics.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"prometheus","Prometheus (CNCF)","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fprometheus.png",[12,16,19,21],{"name":13,"slug":14,"type":15},"Observability","observability","tag",{"name":17,"slug":18,"type":15},"Performance","performance",{"name":20,"slug":8,"type":15},"Prometheus",{"name":22,"slug":23,"type":15},"Monitoring","monitoring",65,"https:\u002F\u002Fgithub.com\u002Fprometheus\u002Fprometheus-mcp","2026-07-23T06:05:56.351716","Apache-2.0",18,[],{"repoUrl":25,"stars":24,"forks":28,"topics":31,"description":32},[],"MCP server for LLMs to interact with Prometheus","https:\u002F\u002Fgithub.com\u002Fprometheus\u002Fprometheus-mcp\u002Ftree\u002FHEAD\u002Fpkg\u002Fmcp\u002Fassets\u002Fskills\u002Ffind-top-resource-consumers","---\nname: find-top-resource-consumers\ndescription: Find the top CPU, memory, or disk consumers. Use for capacity reviews, noisy-neighbor hunts, and top-N questions about which jobs, pods, or instances use the most resources or drive TSDB growth; builds topk() queries over discovered metrics.\nlicense: Apache-2.0\ncompatibility: Requires the tools of a connected Prometheus MCP server\n---\n\n# Finding Top Resource Consumers\n\nIdentify which services, pods, or instances consume the most CPU, memory, or disk -- or drive the most TSDB growth. Resource metrics vary by environment (node_exporter, cadvisor, kubelet, ...), so discover what exists before querying.\n\n## Getting oriented\n\n- label_values on __name__ (or series with regex matchers) reveals which resource metrics exist: node_cpu_seconds_total, container_memory_working_set_bytes, process_resident_memory_bytes, and so on.\n- metric_metadata confirms the type and meaning of whatever discovery turns up.\n- tsdb_stats answers the \"who produces the most metrics\" version of the question via seriesCountByMetricName.\n- Prometheus's own metrics exposes monitoring cost per target: query topk(10, scrape_samples_scraped) to find the heaviest targets, and a persistently high scrape_series_added means a target keeps minting new series.\n\n## Topics worth exploring\n\nTreat these as starting points, adapting metric names to what discovery found:\n\n- Top CPU: CPU counters need rate() before ranking, e.g. with query:\n  topk(10, sum by (pod) (rate(container_cpu_usage_seconds_total[5m])))\n- Top memory: gauges rank directly:\n  topk(10, sum by (instance) (container_memory_working_set_bytes))\n- Top disk: node_filesystem_avail_bytes vs node_filesystem_size_bytes for fullness; rate(node_disk_written_bytes_total[5m]) for write churn.\n- Trend vs snapshot: range_query the same expressions to see whether a top consumer is growing, cyclic, or stable; a stable hog and a leak need different responses.\n- TSDB growth: the top metric and label names from tsdb_stats show what is inflating storage, often more actionable than any single consumer.\n\n## Reporting findings\n\nRank the top consumers with numbers and units, note whether each is growing or stable, and flag anything disproportionate to its peers as a candidate for follow-up.\n",{"data":36,"body":38},{"name":4,"description":6,"license":27,"compatibility":37},"Requires the tools of a connected Prometheus MCP server",{"type":39,"children":40},"root",[41,50,56,63,96,102,107,149,155],{"type":42,"tag":43,"props":44,"children":46},"element","h1",{"id":45},"finding-top-resource-consumers",[47],{"type":48,"value":49},"text","Finding Top Resource Consumers",{"type":42,"tag":51,"props":52,"children":53},"p",{},[54],{"type":48,"value":55},"Identify which services, pods, or instances consume the most CPU, memory, or disk -- or drive the most TSDB growth. Resource metrics vary by environment (node_exporter, cadvisor, kubelet, ...), so discover what exists before querying.",{"type":42,"tag":57,"props":58,"children":60},"h2",{"id":59},"getting-oriented",[61],{"type":48,"value":62},"Getting oriented",{"type":42,"tag":64,"props":65,"children":66},"ul",{},[67,81,86,91],{"type":42,"tag":68,"props":69,"children":70},"li",{},[71,73,79],{"type":48,"value":72},"label_values on ",{"type":42,"tag":74,"props":75,"children":76},"strong",{},[77],{"type":48,"value":78},"name",{"type":48,"value":80}," (or series with regex matchers) reveals which resource metrics exist: node_cpu_seconds_total, container_memory_working_set_bytes, process_resident_memory_bytes, and so on.",{"type":42,"tag":68,"props":82,"children":83},{},[84],{"type":48,"value":85},"metric_metadata confirms the type and meaning of whatever discovery turns up.",{"type":42,"tag":68,"props":87,"children":88},{},[89],{"type":48,"value":90},"tsdb_stats answers the \"who produces the most metrics\" version of the question via seriesCountByMetricName.",{"type":42,"tag":68,"props":92,"children":93},{},[94],{"type":48,"value":95},"Prometheus's own metrics exposes monitoring cost per target: query topk(10, scrape_samples_scraped) to find the heaviest targets, and a persistently high scrape_series_added means a target keeps minting new series.",{"type":42,"tag":57,"props":97,"children":99},{"id":98},"topics-worth-exploring",[100],{"type":48,"value":101},"Topics worth exploring",{"type":42,"tag":51,"props":103,"children":104},{},[105],{"type":48,"value":106},"Treat these as starting points, adapting metric names to what discovery found:",{"type":42,"tag":64,"props":108,"children":109},{},[110,123,128,139,144],{"type":42,"tag":68,"props":111,"children":112},{},[113,115,121],{"type":48,"value":114},"Top CPU: CPU counters need rate() before ranking, e.g. with query:\ntopk(10, sum by (pod) (rate(container_cpu_usage_seconds_total",{"type":42,"tag":116,"props":117,"children":118},"span",{},[119],{"type":48,"value":120},"5m",{"type":48,"value":122},")))",{"type":42,"tag":68,"props":124,"children":125},{},[126],{"type":48,"value":127},"Top memory: gauges rank directly:\ntopk(10, sum by (instance) (container_memory_working_set_bytes))",{"type":42,"tag":68,"props":129,"children":130},{},[131,133,137],{"type":48,"value":132},"Top disk: node_filesystem_avail_bytes vs node_filesystem_size_bytes for fullness; rate(node_disk_written_bytes_total",{"type":42,"tag":116,"props":134,"children":135},{},[136],{"type":48,"value":120},{"type":48,"value":138},") for write churn.",{"type":42,"tag":68,"props":140,"children":141},{},[142],{"type":48,"value":143},"Trend vs snapshot: range_query the same expressions to see whether a top consumer is growing, cyclic, or stable; a stable hog and a leak need different responses.",{"type":42,"tag":68,"props":145,"children":146},{},[147],{"type":48,"value":148},"TSDB growth: the top metric and label names from tsdb_stats show what is inflating storage, often more actionable than any single consumer.",{"type":42,"tag":57,"props":150,"children":152},{"id":151},"reporting-findings",[153],{"type":48,"value":154},"Reporting findings",{"type":42,"tag":51,"props":156,"children":157},{},[158],{"type":48,"value":159},"Rank the top consumers with numbers and units, note whether each is growing or stable, and flag anything disproportionate to its peers as a candidate for follow-up.",{"items":161,"total":245},[162,175,182,197,210,221,232],{"slug":163,"name":163,"fn":164,"description":165,"org":166,"tags":167,"stars":24,"repoUrl":25,"updatedAt":174},"check-system-health","health-check Prometheus server and targets","Health-check the Prometheus server and its targets. Use for status, uptime, or is-monitoring-OK questions; reviews readiness, active alerts, target health, TSDB stats, and runtime info.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[168,169,170,173],{"name":22,"slug":23,"type":15},{"name":13,"slug":14,"type":15},{"name":171,"slug":172,"type":15},"Operations","operations",{"name":20,"slug":8,"type":15},"2026-07-23T06:05:55.322773",{"slug":4,"name":4,"fn":5,"description":6,"org":176,"tags":177,"stars":24,"repoUrl":25,"updatedAt":26},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[178,179,180,181],{"name":22,"slug":23,"type":15},{"name":13,"slug":14,"type":15},{"name":17,"slug":18,"type":15},{"name":20,"slug":8,"type":15},{"slug":183,"name":183,"fn":184,"description":185,"org":186,"tags":187,"stars":24,"repoUrl":25,"updatedAt":196},"investigate-error-rates","investigate elevated Prometheus error rates","Investigate elevated error rates and failing requests. Use when errors or 5xx\u002FgRPC failures spike, SLOs burn, or an error alert fires; quantifies error ratios with rate(), compares to baseline, and isolates affected jobs and instances.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[188,191,194,195],{"name":189,"slug":190,"type":15},"Alerting","alerting",{"name":192,"slug":193,"type":15},"Debugging","debugging",{"name":22,"slug":23,"type":15},{"name":20,"slug":8,"type":15},"2026-07-23T06:05:51.762762",{"slug":198,"name":198,"fn":199,"description":200,"org":201,"tags":202,"stars":24,"repoUrl":25,"updatedAt":209},"optimize-high-cardinality","reduce high-cardinality Prometheus metrics","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.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[203,206,207,208],{"name":204,"slug":205,"type":15},"Metrics","metrics",{"name":22,"slug":23,"type":15},{"name":17,"slug":18,"type":15},{"name":20,"slug":8,"type":15},"2026-07-23T06:05:51.227756",{"slug":211,"name":211,"fn":212,"description":213,"org":214,"tags":215,"stars":24,"repoUrl":25,"updatedAt":220},"review-prometheus-rules","audit and improve Prometheus alerting rules","Audit and improve recording and alerting rules. Use when reviewing alert coverage or rule health, drafting new alerts or recording rules, investigating flapping or noisy alerts, or speeding up slow dashboards with pre-computed expressions; produces complete rule-group YAML.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[216,217,218,219],{"name":189,"slug":190,"type":15},{"name":22,"slug":23,"type":15},{"name":13,"slug":14,"type":15},{"name":20,"slug":8,"type":15},"2026-07-23T06:05:55.853937",{"slug":222,"name":222,"fn":223,"description":224,"org":225,"tags":226,"stars":24,"repoUrl":25,"updatedAt":231},"troubleshoot-missing-data","diagnose missing Prometheus metrics and gaps","Diagnose missing metrics, absent series, or scrape gaps. Use when queries unexpectedly return empty, a metric stopped reporting, a target is down or unscraped, or dashboards show no data; walks target health, metadata, and config checks.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[227,228,229,230],{"name":192,"slug":193,"type":15},{"name":204,"slug":205,"type":15},{"name":22,"slug":23,"type":15},{"name":20,"slug":8,"type":15},"2026-07-23T06:05:52.251401",{"slug":233,"name":233,"fn":234,"description":235,"org":236,"tags":237,"stars":24,"repoUrl":25,"updatedAt":244},"tune-prometheus-config","tune Prometheus configuration and performance","Review and tune Prometheus configuration and performance. Use for scrape interval, retention, storage, relabeling, flag, and capacity questions, or when Prometheus itself is slow or resource-hungry; recommends concrete config changes.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[238,241,242,243],{"name":239,"slug":240,"type":15},"Configuration","configuration",{"name":22,"slug":23,"type":15},{"name":17,"slug":18,"type":15},{"name":20,"slug":8,"type":15},"2026-07-23T06:05:50.729808",7,{"items":247,"total":245},[248,255,262,269,276,283,290],{"slug":163,"name":163,"fn":164,"description":165,"org":249,"tags":250,"stars":24,"repoUrl":25,"updatedAt":174},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[251,252,253,254],{"name":22,"slug":23,"type":15},{"name":13,"slug":14,"type":15},{"name":171,"slug":172,"type":15},{"name":20,"slug":8,"type":15},{"slug":4,"name":4,"fn":5,"description":6,"org":256,"tags":257,"stars":24,"repoUrl":25,"updatedAt":26},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[258,259,260,261],{"name":22,"slug":23,"type":15},{"name":13,"slug":14,"type":15},{"name":17,"slug":18,"type":15},{"name":20,"slug":8,"type":15},{"slug":183,"name":183,"fn":184,"description":185,"org":263,"tags":264,"stars":24,"repoUrl":25,"updatedAt":196},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[265,266,267,268],{"name":189,"slug":190,"type":15},{"name":192,"slug":193,"type":15},{"name":22,"slug":23,"type":15},{"name":20,"slug":8,"type":15},{"slug":198,"name":198,"fn":199,"description":200,"org":270,"tags":271,"stars":24,"repoUrl":25,"updatedAt":209},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[272,273,274,275],{"name":204,"slug":205,"type":15},{"name":22,"slug":23,"type":15},{"name":17,"slug":18,"type":15},{"name":20,"slug":8,"type":15},{"slug":211,"name":211,"fn":212,"description":213,"org":277,"tags":278,"stars":24,"repoUrl":25,"updatedAt":220},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[279,280,281,282],{"name":189,"slug":190,"type":15},{"name":22,"slug":23,"type":15},{"name":13,"slug":14,"type":15},{"name":20,"slug":8,"type":15},{"slug":222,"name":222,"fn":223,"description":224,"org":284,"tags":285,"stars":24,"repoUrl":25,"updatedAt":231},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[286,287,288,289],{"name":192,"slug":193,"type":15},{"name":204,"slug":205,"type":15},{"name":22,"slug":23,"type":15},{"name":20,"slug":8,"type":15},{"slug":233,"name":233,"fn":234,"description":235,"org":291,"tags":292,"stars":24,"repoUrl":25,"updatedAt":244},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[293,294,295,296],{"name":239,"slug":240,"type":15},{"name":22,"slug":23,"type":15},{"name":17,"slug":18,"type":15},{"name":20,"slug":8,"type":15}]