Skip to content
No description or website provided.
Ruby Lua
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
test
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
bitmetrics.gemspec

README.md

BitMetrics

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.

Installation

Add this line to your application's Gemfile:

gem 'bitmetrics'

And then execute:

$ bundle

Or install it yourself as:

$ gem install bitmetrics

Usage

Currently impossible.

TODO

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?

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
Something went wrong with that request. Please try again.