basho/riak_core — pull request #487 by uwiger (2013-12-21 23:28:49+00:00)
Title: Feuerlabs stat combo

Same functionality as in #465, but with the possibility to choose the old ('legacy') stats package at compile-time.

The function identifying which system is used is `riak_core_stat:stat_system()`. This function is hard-coded to 'exometer', but can be changed to 'legacy' by setting the OS environment variable RIAK_CORE_STAT_SYSTEM to "legacy", and ensuring that the module riak_core_stat.erl is recompiled.