basho/riak_kv — pull request #596 by rzezeski (2013-07-08 20:52:28+00:00)
Title: Generic AAE status

This pull request makes AAE entropy info parameterized on type. This allows both KV and Yokozuna to share almost all the same status code without copy pasta.

* Add a `Type` to entropy info. It represents the type of AAE being performed. Currently `riak_kv` or `yokozuna` but could be other things in the future.

* Export the `get_build_time` function as it can be reused by Yokozuna.

* Parameterize the module and function name used to compute all exchanges. KV has inter-partition exchange whereas Yokozuna is purely intra. I.e. Yokozuna exchange is always between the same partition, different services. By parameterizing the "all exchanges" calculation can let different services have different exchange patterns.