Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvement: Add least squares fit line or similar to Commands/sec graph #23

Open
allanwax opened this issue Dec 9, 2014 · 6 comments

Comments

@allanwax
Copy link

allanwax commented Dec 9, 2014

It would be nice to see the trend in the number of commands.

@allanwax
Copy link
Author

Here's a very good reference on how to add a few basic stats to the chart using jqPlot. Probably most useful on the commands per second chart.

http://www.meccanismocomplesso.org/en/mean-mode-median-barchart/

@junegunn
Copy link
Owner

Thanks for the info. I'm currently not very interested or motivated in improving redis-stat as I don't use Redis as extensively as I used to, so I probably won't be working on it soon, but I'm open to pull requests.

@allanwax
Copy link
Author

Does this mean you won't be making changes/fixes to Jedis?

@junegunn
Copy link
Owner

I think you're confused. I have nothing to do with jedis.

@junegunn
Copy link
Owner

I've given some thought about it, but I'm not really sure if it'd be really helpful. redis-stat is a tool for checking out the statistics of a redis instance during a short period of time, like a few minutes, so a trend line seems like TMI.

@allanwax
Copy link
Author

The current graphs cover about a minute or so. That's enough to see where things are going right now so I find that useful. It would be nice if there were a parameter to set the time length of the charts. Or additional lines overlaid on the chart with longer periods, like the chart shows the last minute and there's a curve or line that covers trends/samples for the last 15 minutes or some such span of time. Just an idea.

There's a second issue I've found. If the memory graph goes above 1 gigabyte, it does not switch units to gigabytes but just keeps using megabytes. We have one machine with 20GB of space used. The issue is that since the charts are currently fixed size, the larger the axis numbers get, the less space there is for the chart itself. It would be nice if the units switched over to GB to give the chart more space.

And apologies for confusion with Jedis.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants