Skip to content

Commit f1bb677

Browse files
authored
Create error.json
add new monitor template for redis
1 parent d65c551 commit f1bb677

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

redisdb/assets/monitors/error.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"version": 2,
3+
"created_at": "2025-05-27",
4+
"last_updated_at": "2025-05-27",
5+
"title": "Error rate is elevated",
6+
"description": "Redis clients interact with the server using commands, and a spike in errors may indicate misconfigured clients, authentication failures, or denied commands. This monitor tracks the number of command errors per second and alerts when the error rate exceeds 5/sec over 5 minutes — helping detect issues that could degrade application reliability.",
7+
"definition": {
8+
"id": 173301042,
9+
"name": "[Redis] Error rate elevated",
10+
"type": "query alert",
11+
"query": "avg(last_5m):avg:redis.errors.per_sec{integration:redis} > 5",
12+
"message": "## 🚨 What’s happening\n\nHigh Redis error rate detected (more than 5 errors per second over 5 minutes).\n\nRedis is returning errors for client commands at an elevated rate. This may signal misconfigured applications, authentication issues, or denied commands — all of which can disrupt application logic and degrade system reliability.\n\n---\n\n## 📈 Impact\n\nIf left unresolved, a high error rate can lead to:\n\n- Failed read/write operations from your application\n- Increased latency due to retries and fallbacks\n- Broken user experiences or data inconsistencies\n- Cascading failures in downstream systems\n\n---\n\n## 🛠️ Runbook\n\n### Initial Troubleshooting Steps\n\n1. Check recent error trends in Redis error metrics.\n2. Review logs or dashboards for:\n - AUTH failures\n - Invalid or restricted commands\n - Redis ACL or role changes\n3. Cross-reference `redis.commands.*` and `redis.clients.*` to pinpoint problematic patterns.\n4. Validate that client applications are using correct credentials and command syntax.\n\n---\n\n### Cause and Resolution\n\nCause | Resolution\n------|-----------\nFailed AUTH attempts | Ensure clients use correct credentials and Redis ACL settings.\nApplication bug or misconfiguration | Fix command usage or update client libraries.\nSecurity policy changes | Roll back or refine ACL/role settings.\nCommand misuse by external systems | Audit external integrations or rate-limit where needed.\n\n---\n\n### 👥 Who should be notified?\n\nPlease notify the appropriate team: \n`@slack-yourteam-alerts`\n",
13+
"tags": [
14+
"integration:redis"
15+
],
16+
"options": {
17+
"thresholds": {
18+
"critical": 5
19+
},
20+
"notify_audit": false,
21+
"evaluation_delay": 300,
22+
"require_full_window": true,
23+
"include_tags": true,
24+
"silenced": {},
25+
"avalanche_window": 20,
26+
"on_missing_data": "default"
27+
},
28+
"priority": null,
29+
"restriction_policy": {
30+
"bindings": []
31+
}
32+
},
33+
"tags": [
34+
"integration:redis"
35+
]
36+
}

0 commit comments

Comments
 (0)