Browse Source

redis: add evicted keys chart

lgz 6 years ago
parent
commit
127b1dd97d
1 changed files with 6 additions and 0 deletions
  1. 6 0
      python.d/redis.chart.py

+ 6 - 0
python.d/redis.chart.py

@@ -15,6 +15,7 @@ REDIS_ORDER = [
     'hit_rate',
     'memory',
     'keys_redis',
+    'eviction',
     'net',
     'connections',
     'clients',
@@ -73,6 +74,11 @@ CHARTS = {
             ['zset_keys', 'zset', 'absolute'],
             ['set_keys', 'set', 'absolute']
         ]},
+    'eviction': {
+        'options': [None, 'Evicted Keys', 'keys', 'keys', 'redis.eviction', 'line'],
+        'lines': [
+            ['evicted_keys', 'evicted', 'absolute']
+        ]},
     'connections': {
         'options': [None, 'Connections', 'connections/s', 'connections', 'redis.connections', 'line'],
         'lines': [