basho/riak — pull request #448 by uwiger (2013-12-05 15:23:42+00:00)
Title: Integrate the Exometer metrics package

[Exometer](https://github.com/Feuerlabs/exometer) is a metrics application developed for Basho by Feuerlabs. Among other things, it offers:

* More dynamic management of metrics (including enabling/disabling metrics at runtime)
* More cost-effective histograms
* Custom metrics
* Reporters to external services such as Graphite and Collectd

This pull request depends on a number of other PRs, i.e. basho/riak_core#465, basho/riak_kv#748, basho/riak_api#45, basho/riak_pipe#81, basho/riak_control#175, basho/riak_search#155, basho/yokozuna#246, basho/sidejob#4

According to our benchmarks, this PR slightly improves throughput and latency:

![summary-exo](https://f.cloud.github.com/assets/160216/1683622/7d49110c-5dc0-11e3-82fa-9d58710960f0.png)

compared to the starting point (the develop branch as of Dec 3):

![summary-orig](https://f.cloud.github.com/assets/160216/1683631/b0279710-5dc0-11e3-942c-668a8d8195a1.png)

Since it is possible to selectively and dynamically disable metrics, throughput can be further increased at the expense of metrics information.

Memory footprint has also been reduced, likely due to less caching and more economical histograms:

![memory-usage-exo](https://f.cloud.github.com/assets/160216/1683637/cfcdc68e-5dc0-11e3-86b6-7bd1a1aa3611.png)

compared to the starting point:

![memory-usage-orig](https://f.cloud.github.com/assets/160216/1683639/db483698-5dc0-11e3-9772-3ecc52f23976.png)