News for hackers. Stuff that matters.
Re:Show HN: Visualizing disk IO activity using log-scale ban... by LukeShu on Wednesday April 11, 2018 @12:25PM (#16812720)
I've never seen something similar before either, and it is a very useful visualization.

I'm thinking about how to do something similar in my monitoring. How would you extend it to allow zooming on the X-axis? With a continuous log scale, or a simple linear scale, it's easy to know how to compress the data horizontally: take the min/max/avg of the datapoints that go in to one horizontal pixel. I'm not sure how to apply that to your discrete log scale; it seems to work on the assumption that points along the X-axis are discrete.

Edit: I said Y-axis, I meant X-axis. I'm embarrassed.

Re:Show HN: Visualizing disk IO activity using log-scale ban... by apankrat on Wednesday April 11, 2018 @12:29PM (#16812765)
> How would you extend it to allow zooming on the Y-axis?

Well, the whole point is to NOT need to do any Y-scaling. What would be the case for zooming in?

Re:Show HN: Visualizing disk IO activity using log-scale ban... by LukeShu on Wednesday April 11, 2018 @12:44PM (#16812933)
I'm sorry, I meant X-axis. I'm embarrassed.
Re:Show HN: Visualizing disk IO activity using log-scale ban... by apankrat on Wednesday April 11, 2018 @01:00PM (#16813144)
Ha. Good question, actually.

The simplest option would obviously be to just show a conventional candlestick when zoomed out. There might be an option to do something interesting with rendering the stick when min/max have the same higher-order factors... but it might also end up looking like a royal mess.