nkrode / RedisLive

Visualize your redis instances, analyze query patterns and spikes.
http://www.nkrode.com/article/real-time-dashboard-for-redis
MIT License
3.07k stars 644 forks source link

I can not see some of the items about redis-live.why? #68

Closed no13bus closed 9 years ago

no13bus commented 10 years ago

2014-11-19_151010 this is the working dashboard. Why this happend?Is it because the location settings? Now my time zone is +8

no13bus commented 10 years ago

ok. I make it. when get_argumenet('keys',None) return None, it does not return None, return unicode type. So it goes wrong

purefan commented 9 years ago

So is it a bug?

no13bus commented 9 years ago

@purefan no, it's not. Redislive runs between some time range. If you want to get the data, you must run ./redis-monitor.py --duration=120 first. If you want to always get the data, you should run it by crontab command.

purefan commented 9 years ago

@no13bus Excellent! Thanks for the feedback :) might be a good idea to close this issue then.

All the best!

leto commented 9 years ago

This problem still occurs for me using a1b655483c : the from and to hidden DOM elements are both "" which makes all the API requests return no data.

no13bus commented 9 years ago

@leto Can google api be used in in your country? I came across your problem before, because I live in China, in China all of google service can not be used, they are be blocked in China's internet. What's your command? Type it here.

leto commented 9 years ago

@no13bus I am in the US, so that is not the issue for me. There is a bug in RedisLive where the "from" and "to" elements of the API GET request are empty, so the default view (realtime) shows nothing unless you change it to "last 1 week" or something like that.

leto commented 9 years ago

@no13bus Please try the code in https://github.com/nkrode/RedisLive/pull/71 to see if it solves the problem for you. You can also open up your database directly to see if the data is there. Or "inspect element" in your browser to see the AJAX requests. Best of luck.

nkrode commented 9 years ago

71 closed.