metrics-tool-guide

Guide Prometheus/Thanos cluster monitoring with kubectl-metrics queries and PromQL.

Updated Mar 8, 2026
One-click install
npx skills add https://github.com/yaacov/mtv-agent --skill metrics-tool-guide
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: metrics-tool-guide
Source: https://github.com/yaacov/mtv-agent/tree/main/mtv_agent/data/skills/metrics-tool-guide
Command: npx skills add https://github.com/yaacov/mtv-agent --skill metrics-tool-guide

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides comprehensive guidance on using the kubectl-metrics MCP server tools for querying and understanding cluster metrics, simplifying complex data retrieval.

Core Features & Use Cases

  • Tool Usage: Explains how to use metrics_read for querying and metrics_help for understanding commands and PromQL.
  • Querying Techniques: Covers instant queries, range queries, and using presets.
  • Data Presentation: Emphasizes clear presentation rules and output formats.
  • Use Case: When a user asks about network traffic in a specific namespace, you can use this guide to construct the correct metrics_read command with appropriate filters and present the results clearly.

Quick Start

Use the metrics_help command to get an overview of all available subcommands and presets.

Frequently Asked Questions about metrics-tool-guide

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query Prometheus metrics for a specific namespace in a Kubernetes cluster?

To query Prometheus metrics for a specific namespace, use the `metrics_read` command with appropriate filters. This Skill guides you in constructing the correct query syntax to retrieve and present cluster monitoring data clearly.

What is the best way to understand PromQL syntax for cluster monitoring queries?

The best way to understand PromQL syntax is by using the `metrics_help` command. It provides a comprehensive reference for query commands, available presets, and metric discovery to facilitate effective cluster observability.

Can I perform range queries and batch queries using kubectl-metrics?

Yes, you can perform range queries and batch queries using `kubectl-metrics`. This Skill details how to execute instant queries, range queries, and utilize presets for retrieving complex cluster metrics data effectively.

Does kubectl-metrics work with Thanos for cluster observability?

Yes, `kubectl-metrics` works with Thanos for cluster observability. This Skill provides guidance on leveraging both Prometheus and Thanos metrics tools via the MCP server for querying and understanding cluster data.

How do I format metric output and understand presentation rules when querying cluster data?

To format metric output correctly, follow the presentation rules detailed in this Skill. It explains output formatting for `metrics_read` results, ensuring clear data presentation and effective cluster observability for your queries.