datastore_diagnosis

Diagnose Redis, MySQL, and message queue issues using commands and Prometheus metrics.

Updated Jun 15, 2026
One-click install
npx skills add https://github.com/rapporbit/SREOps --skill datastore-diagnosis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: datastore_diagnosis
Source: https://github.com/rapporbit/SREOps/tree/main/app/skills/definitions/datastore_diagnosis
Command: npx skills add https://github.com/rapporbit/SREOps --skill datastore-diagnosis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a streamlined approach to diagnosing common issues with Redis, MySQL, and message queues, such as memory issues, slow queries, and message backlog.

Core Features & Use Cases

  • Redis Diagnostics: Identifies memory issues, large keys, and low hit rates.
  • MySQL Diagnostics: Detects slow queries, connection pool issues, and lock waits.
  • Message Queue Diagnostics: Monitors message backlog and consumer delays.
  • Use Case: When a user reports that their Redis server is running out of memory, this Skill can quickly identify the cause, such as a large key or a lack of TTL on keys.

Quick Start

Run the 'datastore_diagnosis' skill to diagnose issues with your Redis, MySQL, or message queue.

Frequently Asked Questions about datastore_diagnosis

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

FAQPage Schema
How do I diagnose Redis memory issues and identify large keys?

Diagnosing Redis memory issues requires analyzing container stats and utilizing Redis commands to detect large keys and missing TTLs. This skill processes Prometheus metrics and container logs to identify the root causes of memory exhaustion and low cache hit rates.

What is the best way to find the cause of a MySQL slow query and lock waits?

The best way to find the cause of MySQL slow queries and lock waits is by examining database logs and connection pool metrics. This skill uses MySQL commands and Prometheus queries to detect slow queries, identify connection pool exhaustion, and pinpoint lock wait bottlenecks.

How do I monitor message queue backlog and consumer delays?

Monitoring message queue backlog and consumer delays involves querying Prometheus metrics and reviewing message broker logs. This skill detects accumulating message backlogs and identifies delayed consumers by analyzing throughput metrics and queue depth data from your monitoring system.

Do I need Prometheus metrics to diagnose database and cache performance issues?

Yes, you need Prometheus metrics to diagnose database and cache performance issues with this skill. It requires access to container stats, logs, and Prometheus metrics alongside Redis and MySQL commands to successfully identify memory issues, slow queries, and message backlogs.

Can I detect missing TTLs on Redis keys causing memory exhaustion?

Yes, you can detect missing TTLs on Redis keys causing memory exhaustion. When a Redis server runs out of memory, this skill quickly identifies the root cause by running Redis commands to locate large keys and keys lacking an expiration time.