anchor.diff:              end,
               TS
       end.
  -
  --define(I_GAUGES, [disk_size, data_size, num_docs_pending, items_count]).
  --define(I_COUNTERS, [num_requests, num_rows_returned, num_docs_indexed,
  -                     scan_bytes_read, total_scan_duration]).
   
   do_recognize_name(<<"needs_restart">>) ->
       {status, index_needs_restart};
  
positive.code: init([]) ->
      ns_pubsub:subscribe_link(ns_tick_event),
      ets:new(index_stats_collector_names, [protected, named_table]),
      {ok, #state{}}.
  
  handle_call(_Request, _From, State) ->
      Reply = ok,
  
negative.code:           {{<<"b">>, <<"idx2">>, <<"m2">>}, 4},
            {{<<"b">>, <<"idx3">>, <<"m1">>}, 5},
            {{<<"b">>, <<"idx3">>, <<"m2">>}, 6}],
      Out = aggregate_index_stats(In, [], []),
  
      AStats0 = [{<<"index/idx1/m1">>, 1},
                 {<<"index/idx1/m2">>, 2},
  