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:     end.
  
  grab_stats(PrevCounters, TSDiff) ->
      {StatsGauges, StatsCounters0} = massage_stats(get_stats(), [], []),
      StatsCounters = lists:sort(StatsCounters0),
      Stats0 = diff_counters(1000.0 / TSDiff, StatsCounters, PrevCounters, []),
      Stats = lists:merge(Stats0, lists:sort(StatsGauges)),
      {Stats, StatsCounters}.
  
  aggregate_index_stats([]) ->
      [];
  
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
  