anchor.diff:                     {ok, Values} -> Values;
                      {memcached_error, key_enoent, _} -> []
                  end,
  -    {Stats, TapStats}.
  +    KVTimings = case ns_memcached:stats(Bucket, <<"kvtimings">>) of
  +                    {ok, ValuesK} ->
  +                        prefilter_kvtimings(ValuesK);
  +                    {memcached_error, key_enoent, _} -> []
  +                end,
  +    {Stats, TapStats, KVTimings}.
   
   handle_info({tick, TS}, #state{bucket=Bucket} = State) ->
       GrabFreq = misc:get_env_default(grab_stats_every_n_ticks, 1),
  
positive.code: 
  handle_cast(unhandled, unhandled) ->
      unhandled.
  
  grab_all_stats(Bucket) ->
      {ok, Stats} = ns_memcached:stats(Bucket),
  
negative.code:     end.
  
  process_grabbed_stats(TS,
                        {PlainStats, TapStats, KVTimings},
                        #state{bucket = Bucket,
                               last_plain_counters = LastPlainCounters,
                               last_tap_counters = LastTapCounters,
                               last_timings_counters = LastTimingsCounters,
                               last_ts = LastTS} = State) ->
      {PlainValues, PlainCounters} = parse_plain_stats(TS, PlainStats, LastTS, LastPlainCounters),
      {TapValues, TapCounters} = parse_tapagg_stats(TS, TapStats, LastTS, LastTapCounters),
      {TimingValues, TimingsCounters} = parse_kvtimings(TS, KVTimings, LastTS, LastTimingsCounters),
      %% Don't send event with undefined values
      case lists:member(undefined, [LastTapCounters, LastTapCounters, LastTimingsCounters]) of
          false ->
              Values = lists:merge([PlainValues, TapValues, TimingValues]),
              Entry = #stat_entry{timestamp = TS,
                                  values = Values},
              gen_event:notify(ns_stats_event, {stats, Bucket, Entry});
          true ->
              ok
      end,
      State#state{last_plain_counters = PlainCounters,
                  last_tap_counters = TapCounters,
                  last_timings_counters = TimingsCounters,
                  last_ts = TS}.
  
  terminate(_Reason, _State) ->
  