README.md in fozzie-0.0.20 vs README.md in fozzie-0.0.21
- old
+ new
@@ -142,16 +142,12 @@
### Rails
Based on the Rack middleware above, but is more involved in it's construction of the bucket value.
-Add the following to your `config/environment.rb`
+Fozzie::Rails::Middleware will automatically be invoked on Rails initialization.
- Rails::Initializer.run do |config|
- config.middleware.use 'Fozzie::Rails::Middleware'
- end
-
## Bucket name prefixes
Fozzie will construct bucket name prefixes according to your settings and environment. Example would be
Stats.increment 'foo'
@@ -174,20 +170,24 @@
require 'logger'
Fozzie.logger = Logger.new 'log/fozzie.log'
This may change, depending on feedback and more production experience.
+## Rails User Interface Performance Measuring
+
+If you also require UI metrics, you can also include the Mill script in the bottom of any page you would like to measure (see `resources/mill.js` and `resources/mill.min.js`) and you start receiving measurements on page performance.
+
## Credits
Currently supported and maintained by [Marc Watts](marc.watts@lonelyplanet.co.uk) @Lonely Planet Online.
Big thanks to:
* [Mark Barger](mark.barger@lonelyplanet.co.uk) for support in trying to make this Gem useful.
* [Etsy](http://codeascraft.etsy.com/) who's [Statsd](https://github.com/etsy/statsd) product has enabled us to come such a long way in a very short period of time. We love Etsy.
-* [https://github.com/reinh](https://github.com/reinh/statsd) for his [statsd](https://github.com/reinh/statsd) Gem.
+* [reinh](https://github.com/reinh/statsd) for his [statsd](https://github.com/reinh/statsd) Gem.
## Comments and Feedback
Please [contact](marc.watts@lonelyplanet.co.uk) me on anything... improvements will be needed and are welcomed greatly.
\ No newline at end of file