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

Graphs show no data #48

Closed utsengar closed 5 years ago

utsengar commented 11 years ago

I am running a redis live instance on the same machine where redis is running. I am able to see the stats but I don't see any graphs. Also, triggered redis-monitor.py which is setup as an hourly cron.

Screenshot: http://s24.postimg.org/6ux9mm98k/Screenshot_from_2013_04_03_17_10_06.jpg

Any suggestions about what is going on?

redis-live.conf

{
        "RedisServers":
        [
                {
                  "server": "127.0.0.1",
                  "port" : 8080
                }
        ],

        "DataStoreType" : "sqlite",

        "RedisStatsServer":
        {
                "server" : "127.0.0.1",
                "port" : 6381
        }
}

Thanks, -Utkarsh

vitkovskii commented 11 years ago

Hello. I think the reason of this is that your local time doesn't match with time on redis server. It's bug in RedisLive.

utsengar commented 11 years ago

Ah I see, thanks for the update. Will take a look at the redislive's implementation.

kumarnitin commented 11 years ago

Yes that sounds right, I think i missed making the dates ISO 8601 complaint between the client and the server. Would love a pull request to fix this issue :-)

The timezone of the server which is running monitor.py should sync with the client's machine (your browser).

base-widget-view.js - implements the client side functionality in the ChangeTimeFrame() method.

The easiest fix would be make this method take into consideration the timezone of the server running monitor.py. Probably some setting can be introduced which specifies the timezone of the server and ChangeTimeFrame() method checks the timezone and generates the correct start and end dates.

harishd commented 11 years ago

Is there any update on this? We are facing similar problem.

lipiji commented 10 years ago

Is there any update on this? We are also facing similar problem.

maljolani commented 10 years ago

Dear,

I have the same problem, but a bug in highlighter.js, Python 2.7.3

http://postimg.org/image/dol2anqij/

leeyo commented 10 years ago

I got this problem too. "real time" shows no data,but "last 15 min" does. Does anyone has solved this problem?

raingolee commented 9 years ago

anyone have fix this bug? could u guys help me?