Picky Statistics Interface

ruby / picky

This is a post in the Picky series on its workings. If you haven’t tried it yet, do so in the Getting Started section. It’s quick and painless :)

This post is about a fun statistics interface I’ve been working on, including a video. Download 4.5.2+, and enter this in your preferred shell.

picky stats path/to/log/file.log

This will tell you this:

Logfile path/to/log/file.log found.
Clam, Picky's friend, is looking at Picky's logfile
path/to/log/file.log
and showing results on port 4567.
== Sinatra/1.3.2 has taken the stage on 4567 for development with backup from Thin
>> Thin web server (v1.3.1 codename Triple Espresso)
>> Maximum connections set to 1024
>> Listening on 0.0.0.0:4567, CTRL+C to stop

Then, in another shell, enter

open localhost:4567

(on OSX) and have fun!.

Video Demo

See this short video (it’s best to full-screen it):

The interface uses this great JS lib: http://square.github.com/crossfilter/. Check it out :)

Interface Usage Ideas

Slice and dice your data:

  1. What queries are slowest?
  2. Are they suspiciously slow in the morning?
  3. How many return more than 1 allocation?
  4. Does more allocations also mean slower? Or more results?

Etc.

Next And faster still

Share


Previous

Comments?