ryandotsmith/l2met — pull request #40 by ryandotsmith (2013-03-31 02:57:00+00:00)
Title: HTTP Outlet

L2met keeps all of the metrics in redis for a small amount of time. (i.e. 5 minutes) So it is possible to query l2met during that time to get metrics. While not a good solution for long term trending, it works great for realtime data.

This pull request makes the following request available:

```bash
$ curl http://l2met:`uuid`@localhost:8080/buckets?name=hi
[{"name":"hi","mean":1,"median":1,"count":28},{"name":"hi","mean":1,"median":1,"count":96},{"name":"hi","mean":1,"median":1,"count":94},{"name":"hi","mean":1,"median":1,"count":95},{"name":"hi","mean":1,"median":1,"count":95}]
```