metrics-analysis

Analyzes Prometheus/Grafana metrics with PromQL queries to identify latency, error rates, and resource usage.

654|77|Updated Jan 20, 2026
One-click install
npx skills add https://github.com/incidentfox/incidentfox --skill metrics-analysis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: metrics-analysis
Source: https://github.com/incidentfox/incidentfox/tree/main/sre-agent/.claude/skills/metrics-analysis
Command: npx skills add https://github.com/incidentfox/incidentfox --skill metrics-analysis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires httpx, and includes scripts (resource) components.

What problem does it solve?

Prometheus/Grafana metrics analysis and PromQL querying to identify latency, error rates, and resource usage for incident investigation and performance tuning.

Core Features & Use Cases

  • PromQL queries to extract actionable insights from time-series data.
  • Dashboard & alerts checks with Grafana to quickly identify issues across services.
  • Use Case: Investigate latency spikes by querying Prometheus, cross-check dashboards, and isolate problematic endpoints.

Quick Start

Install the required Python dependencies and run the provided scripts to query Prometheus metrics and Grafana dashboards.

Frequently Asked Questions about metrics-analysis

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

FAQPage Schema
How do I query Prometheus metrics to investigate latency spikes?

Query Prometheus metrics to investigate latency spikes by executing PromQL queries against your time-series data. This skill isolates problematic endpoints and extracts actionable insights for incident investigation and performance tuning.

Can I check Grafana dashboards and alerts to identify service issues?

You can check Grafana dashboards and alerts to identify service issues by listing available dashboards and retrieving their data. This cross-checks Prometheus metric queries to quickly pinpoint anomalies across workloads.

What's the best way to diagnose error rates and resource usage across services?

Diagnose error rates and resource usage across services by running PromQL queries through a credential-proxy aware API client. This approach supports error-rate diagnostics and capacity planning for distributed workloads.

Do I need Python and httpx to run PromQL queries for incident investigation?

You need Python and the httpx dependency installed to run the provided scripts for PromQL queries. The scripts use a credential-proxy aware API client to execute queries and retrieve Grafana dashboard data.

Does this Prometheus analysis tool support capacity planning for workloads?

This Prometheus analysis tool supports capacity planning for workloads by querying resource usage metrics with PromQL. It helps identify baseline consumption patterns and potential bottlenecks across services.

Why are my Grafana dashboard queries not returning expected metric data?

Grafana dashboard queries may not return expected metric data if the credential-proxy aware API client lacks proper access. Ensure your Prometheus data source credentials are configured correctly before executing PromQL queries.