anchor.diff:                  get_meter=make_meter(),
                   put_meter=make_meter(),
                   legacy=false}}.
  +-endif.
   
   legacy_init() ->
       {ok, #state{vnode_gets=spiraltime:fresh(),
  
positive.code:         {ok, true} ->
              legacy_init();
          _ ->
              v2_init()
      end.
  
  make_meter() ->
      {ok, M} = basho_metrics_nifs:meter_new(),
      {meter, M}.
  
negative.code: -module(riak_kv_stat).
  
  -behaviour(gen_server2).
  
  -define(FORCE_LEGACY_STATS, yes).
  
  %% API
  -export([start_link/0, get_stats/0, get_stats/1, update/1]).
  