{ "uid": "nexus-redis", "title": "Nexus — Redis", "tags": ["redis", "cache"], "timezone": "browser", "schemaVersion": 36, "refresh": "30s", "time": { "from": "now-1h", "to": "now" }, "templating": { "list": [ { "name": "datasource", "type": "datasource", "query": "prometheus", "current": { "selected": false, "text": "Prometheus", "value": "Prometheus" } } ] }, "panels": [ { "id": 1, "title": "Memory Usage", "type": "timeseries", "gridPos": {"h": 8, "w": 12, "x": 0, "y": 0}, "datasource": {"type": "prometheus", "uid": "${datasource}"}, "targets": [ { "datasource": {"type": "prometheus", "uid": "${datasource}"}, "expr": "redis_memory_used_bytes", "legendFormat": "Used memory", "refId": "A" } ], "fieldConfig": { "defaults": { "custom": {"drawStyle": "line", "lineWidth": 2, "fillOpacity": 10}, "unit": "bytes", "min": 0 }, "overrides": [] } }, { "id": 2, "title": "Commands / sec", "type": "timeseries", "gridPos": {"h": 8, "w": 12, "x": 12, "y": 0}, "datasource": {"type": "prometheus", "uid": "${datasource}"}, "targets": [ { "datasource": {"type": "prometheus", "uid": "${datasource}"}, "expr": "rate(redis_commands_processed_total[5m])", "legendFormat": "Commands/sec", "refId": "A" } ], "fieldConfig": { "defaults": { "custom": {"drawStyle": "line", "lineWidth": 2, "fillOpacity": 10}, "unit": "cps", "min": 0 }, "overrides": [] } }, { "id": 3, "title": "Connected Clients", "type": "timeseries", "gridPos": {"h": 8, "w": 12, "x": 0, "y": 8}, "datasource": {"type": "prometheus", "uid": "${datasource}"}, "targets": [ { "datasource": {"type": "prometheus", "uid": "${datasource}"}, "expr": "redis_connected_clients", "legendFormat": "Clients", "refId": "A" } ], "fieldConfig": { "defaults": { "custom": {"drawStyle": "line", "lineWidth": 2, "fillOpacity": 10}, "unit": "short", "min": 0 }, "overrides": [] } }, { "id": 4, "title": "Cache Hit Ratio", "type": "timeseries", "gridPos": {"h": 8, "w": 12, "x": 12, "y": 8}, "datasource": {"type": "prometheus", "uid": "${datasource}"}, "targets": [ { "datasource": {"type": "prometheus", "uid": "${datasource}"}, "expr": "redis_keyspace_hits_total / (redis_keyspace_hits_total + redis_keyspace_misses_total)", "legendFormat": "Hit Ratio", "refId": "A" } ], "fieldConfig": { "defaults": { "custom": {"drawStyle": "line", "lineWidth": 2, "fillOpacity": 10}, "unit": "percentunit", "min": 0, "max": 1 }, "overrides": [] } }, { "id": 5, "title": "Keyspace Hits / Misses", "type": "timeseries", "gridPos": {"h": 8, "w": 12, "x": 0, "y": 16}, "datasource": {"type": "prometheus", "uid": "${datasource}"}, "targets": [ { "datasource": {"type": "prometheus", "uid": "${datasource}"}, "expr": "rate(redis_keyspace_hits_total[5m])", "legendFormat": "Hits/sec", "refId": "A" }, { "datasource": {"type": "prometheus", "uid": "${datasource}"}, "expr": "rate(redis_keyspace_misses_total[5m])", "legendFormat": "Misses/sec", "refId": "B" } ], "fieldConfig": { "defaults": { "custom": {"drawStyle": "line", "lineWidth": 2, "fillOpacity": 10}, "unit": "cps", "min": 0 }, "overrides": [] } }, { "id": 6, "title": "Evicted Keys", "type": "timeseries", "gridPos": {"h": 8, "w": 12, "x": 12, "y": 16}, "datasource": {"type": "prometheus", "uid": "${datasource}"}, "targets": [ { "datasource": {"type": "prometheus", "uid": "${datasource}"}, "expr": "rate(redis_evicted_keys_total[5m])", "legendFormat": "Evicted/sec", "refId": "A" } ], "fieldConfig": { "defaults": { "custom": {"drawStyle": "line", "lineWidth": 2, "fillOpacity": 10}, "unit": "cps", "min": 0 }, "overrides": [] } } ] }