nkrode / RedisLive

Visualize your redis instances, analyze query patterns and spikes.

Home Page:http://www.nkrode.com/article/real-time-dashboard-for-redis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting redisInfo['used_memory_peak'] KeyError

reustle opened this issue · comments

Followed the instructions in the Readme, got this error constantly as a response from the monitor. Will keep digging into it.

Traceback (most recent call last):
  File "./redis-monitor.py", line 134, in run
    peak_memory = int(redisInfo['used_memory_peak'])
KeyError: 'used_memory_peak'

what's the redis version you are using?

Looks like 2.2.11

hmm looks like redis 2.2.11 didn't have support for peak_memory, checking with @antirez
meanwhile you can just change it to => peak_memory = int(redisInfo['used_memory'])

@reustle can you get the latest and try now.

Thanks!