Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

README updates

  • Loading branch information...
commit 0ffa67c2e0e2e72066c38ac23eaa6a77b4ffd8fb 1 parent b2b1db8
@wickedchicken wickedchicken authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  README.md
View
3  README.md
@@ -1,7 +1,8 @@
This is an example Sinatra app to show off [rack-statsd](https://github.com/github/rack-statsd) usage. It outputs a simple string with random latency, which is measured and graphed automatically. The specifics are in `config.ru` where the statsd client is instantiated and passed to rack-statsd. Any rack application should work in a similar manner.
To get up and running:
-* Install and configure a [statsd](https://github.com/etsy/statsd) instance. Librato provides its own fork with stability improvements and Librato [Metrics](http://metrics.librato.com) support. By default statsd will accept connections at localhost on 8125.
+
+* Install and configure a [statsd](https://github.com/etsy/statsd) instance. Librato provides its own [fork](https://github.com/librato/statsd) with stability improvements and Librato [Metrics](https://metrics.librato.com) support. By default statsd will accept connections at localhost on 8125.
* Run a `bundle install` to install needed packages.
* Configure the statsd client and rack-statsd options in `config.ru` if needed. See [RackStatsD::ProcessUtilization::initialize](https://github.com/github/rack-statsd/blob/master/lib/rack-statsd.rb) for more info.
* Run `bundle exec unicorn` to start the server. Access http://localhost:8080 and verify that stats are being sent to statsd. Note: enabling `dumpMessages` in statsd's configuration file will print each message received to standard out. This makes it easier to confirm that things are working.
Please sign in to comment.
Something went wrong with that request. Please try again.