anchor.diff:                       scan_bytes_read, total_scan_duration]).
   
   do_recognize_name(<<"needs_restart">>) ->
  -    {gauge, index_needs_restart};
  +    {status, index_needs_restart};
   do_recognize_name(<<"num_connections">>) ->
  -    {gauge, index_num_connections};
  +    {status, index_num_connections};
   do_recognize_name(K) ->
       case binary:split(K, <<":">>, [global]) of
           [Bucket, Index, Metric] ->
  
positive.code:                     ({_K, _V}, Acc) ->
                          Acc
                  end, [], Stats),
      NumConnections = proplists:get_value(index_num_connections, Stats, 0),
      NeedsRestart = proplists:get_value(index_needs_restart, Stats, false),
      index_status_keeper:update(NumConnections, NeedsRestart, Indexes),
      BucketStats = aggregate_index_stats([{B, K, V} || {{B, _, _} = K, V} <- Stats]),
      PerBucketStats = misc:keygroup(1, BucketStats),
  
negative.code: handle_info({tick, TS0}, #state{prev_counters = PrevCounters,
                                  prev_ts = PrevTS}) ->
      TS = latest_tick(TS0, 0),
      {Stats, NewCounters, Status} = grab_stats(PrevCounters, TS - PrevTS),
      Indexes = lists:foldl(
                  fun ({{B, I, _K}, _V}, Acc) ->
                          case Acc of
  