monitoring-check

Validate PostgreSQL monitoring stack health in Kubernetes and generate a structured report.

1|3|Updated Mar 23, 2026
One-click install
npx skills add https://github.com/IldarMinaev/troubleshooting-skill --skill monitoring-check
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: monitoring-check
Source: https://github.com/IldarMinaev/troubleshooting-skill/tree/main/skills/monitoring-check
Command: npx skills add https://github.com/IldarMinaev/troubleshooting-skill --skill monitoring-check

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps operators verify the health and configuration of the PostgreSQL monitoring stack, ensuring exporters, ServiceMonitors, PrometheusRules, and Grafana dashboards are functioning and correctly configured.

Core Features & Use Cases

  • Health verification: Validate the status of postgres-exporter, query-exporter, and metric-collector pods.
  • Resource validation: Check ServiceMonitors, PrometheusRules, and Grafana dashboard ConfigMaps for presence and correctness.
  • PromQL guidance: Generate example queries to assess database health and performance for day-to-day operations and incident response.

Quick Start

Run the checks against your cluster to generate a monitoring health report.

Frequently Asked Questions about monitoring-check

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

FAQPage Schema
How do I verify PostgreSQL monitoring health in a Kubernetes cluster?

To verify PostgreSQL monitoring health, inspect Kubernetes resources including postgres-exporter pods, ServiceMonitors, PrometheusRules, and Grafana dashboards to validate their configuration and surface operational issues.

What does a PostgreSQL monitoring health check include for Patroni deployments?

A PostgreSQL monitoring health check for Patroni deployments includes validating the status of postgres-exporter, query-exporter, and metric-collector pods alongside verifying PrometheusRules and Grafana dashboard ConfigMaps.

How do I generate PromQL queries to assess database performance during an incident?

Generate PromQL queries by inspecting the cluster state and validating the monitoring stack configuration to produce structured health reports with recommended queries for day-to-day operations and incident response.

Can I use kubectl to check ServiceMonitors and PrometheusRules for PostgreSQL exporters?

Yes, you can use kubectl to check ServiceMonitors and PrometheusRules by adhering to kubectl context usage to inspect Kubernetes resources and validate the exporter configuration within the monitoring stack.

Why are my PostgreSQL exporter pods missing metrics in Prometheus and Grafana?

PostgreSQL exporter pods may miss metrics in Prometheus and Grafana due to incorrect ServiceMonitor configurations or missing PrometheusRules, which a monitoring health check identifies by inspecting cluster state and resource presence.