tjhop/prometheus-mcp-server/investigate-error-rates

Claude Code and agent skill by tjhop/prometheus-mcp-server

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Investigate elevated error rates and failing requests. Use when errors or 5xx/gRPC failures spike, SLOs burn, or an error alert fires; quantifies error ratios with rate(), compares to baseline, and isolates affected jobs and instances.

Install

npx vskill@latest install tjhop/prometheus-mcp-server/investigate-error-rates

SKILL.md

Investigating High Error Response Rates

Figure out how bad the errors are, when they started, and where they are concentrated. Error metrics vary by system, so discover what actually exists before querying.

Getting oriented

  • Error signals are usually counters: HTTP status codes (http_requests_total{code=~"5.."}), gRPC codes (grpc_server_handled_total{grpc_code!="OK"}), or dedicated _errors_total / _failures_total metrics.
  • Discover what this system exposes with series or label_values on __name__ using regex matchers, and confirm semantics with metric_metadata.
  • list_alerts shows whether an error-related alert is already firing and carries useful labels to start from.
  • The ALERTS{alertstate="firing"} series Prometheus generates is the queryable form of the same information: range_query it to see when alerts started firing and line their history up against the error timeline.

Topics worth exploring

Treat these as starting points and follow what the data shows:

  • Current error rate: counters need rate() before aggregating, e.g. with query:

sum by (job) (rate(http_requests_total{code=~"5.."}[5m]))

  • Error ratio vs raw count: a ratio against total traffic distinguishes "more errors" from "more traffic":

sum(rate(http_requests_total{code=~"5.."}[5m])) / sum(rate(http_requests_total[5m]))

  • When it started: range_query the same expression over hours or days and look for the inflection point; compare against a known-good baseline window.
  • Where it is concentrated: aggregate by job, instance, handler, or method; topk(10, ...) keeps output manageable.
  • What else changed at that time: deploys and restarts (process_start_time_seconds), saturation (CPU, memory, connection pools), and latency histograms for the same services.

Reporting findings

Aim for a clear statement of impact (error ratio and affected traffic), onset time, and the narrowest scope (service, instance, or route) that explains the errors, backed by the queries you ran.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
89
Repository forks
21
7-day trend score
22

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 25 Aug 2026, 2 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/tjhop/prometheus-mcp-server/investigate-error-rates/badge)](https://verified-skill.com/skills/tjhop/prometheus-mcp-server/investigate-error-rates)

Something wrong with this skill or its page? Tell us.