basho/riak_kv — pull request #417 by russelldb (2012-10-29 14:44:46+00:00)
Title: Add dimensions to read repair stats

To test this, force some read repair (I create a devrel, do some writes, then partition the cluster) then issue some reads. Attach to the node and check that read repair stats were created with:

[{Stat, folsom_metrics:get_metric_value(Stat)} ||
Stat <- folsom_metrics:get_metrics(),
is_tuple(Stat),
element(1, Stat) == riak_kv,
element(2, Stat) == read_repairs].