Skip to content

MRI-542 group by host for redis #19968

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions redisdb/assets/monitors/high_mem.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"version": 2,
"created_at": "2021-02-08",
"last_updated_at": "2021-02-08",
"last_updated_at": "2025-03-31",
"title": "Memory consumption is high",
"tags": [
"integration:redis"
],
"description": "Redis servers use RAM to store data and memory is a critical resource for its performance. This monitor tracks the percentage of used memory to avoid the risk of running out of memory, which can lead to performance issues.",
"definition": {
"message": "{{#is_alert}}\n\nALERT: Redis is consuming {{value}}% of total memory allocated.\n\n{{/is_alert}} \n\n{{#is_warning}}\n\nWARNING: Redis is consuming {{value}}% of total memory allocated.\n\n{{/is_warning}} \n\n",
"message": "{{#is_alert}}\n\nALERT: Redis is consuming {{value}}% of total memory allocated for {{host.name}}.\n\n{{/is_alert}} \n\n{{#is_warning}}\n\nWARNING: Redis is consuming {{value}}% of total memory allocated for {{host.name}}.\n\n{{/is_warning}} \n\n",
"name": "[Redis] High memory consumption",
"options": {
"escalation_message": "",
@@ -27,7 +27,7 @@
"timeout_h": 0
},
"priority": null,
"query": "avg(last_5m):100 * avg:redis.mem.used{*} / avg:redis.mem.maxmemory{*} > 90",
"query": "avg(last_5m):100 * avg:redis.mem.used{*} by {host} / avg:redis.mem.maxmemory{*} by {host} > 90",
"restricted_roles": null,
"tags": [
"integration:redisdb"