BitMetrics is a Rack middleware that will let you record anything you want about your application that can be inferred from a request. For me that's pretty much everything, for you it might not be. But either way you should read this post [insert metrics post here] to understand why I've chosen Redis.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install bitmetrics
Holy shit. So much to go in here.
- NAMESPACE KEYS
- Introduce the concept of a key-strategy (probably post-release)
- Need to finish implementing the ID strategies
- Implement Lua scripts (auto-increment, MSETBIT, MTOGGLEBIT, TOGGLEBIT)
- Grab a charting library and write a DSL for it
- Work in some basic metrics
- Write some damn docs on how to use this shit.
- Expose endpoint for custom events
- Write caveats and warnings
- Instructions on infrastructure/clustering?
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Added some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request