anchor.diff:        end, ListOfLists),
       [hd(ets:lookup(ETS, T)) || #stat_entry{timestamp = T} <- MainSamples].
   
  +services_sections(BucketName) ->
  +    ["@query",
  +     "@index",
  +     "@fts",
  +     "@cbas",
  +     "@index-" ++ BucketName,
  +     "@fts-" ++ BucketName,
  +     "@cbas-" ++ BucketName].
  +
  +describe_section("@query") ->
  +    {n1ql, undefined};
  +describe_section("@index") ->
  +    {index, undefined};
  +describe_section("@index-" ++ Bucket) ->
  +    {index, Bucket};
  +describe_section("@fts") ->
  +    {fts, undefined};
  +describe_section("@fts-" ++ Bucket) ->
  +    {fts, Bucket};
  +describe_section("@cbas") ->
  +    {cbas, undefined};
  +describe_section("@cbas-" ++ Bucket) ->
  +    {cbas, Bucket};
  +describe_section(_) ->
  +    undefined.
  +
   section_nodes("@system") ->
       ns_cluster_membership:actual_active_nodes();
  -section_nodes("@index") ->
  -    ns_cluster_membership:service_actual_nodes(ns_config:latest(), index);
  -section_nodes("@query") ->
  -    ns_cluster_membership:service_actual_nodes(ns_config:latest(), n1ql);
  -section_nodes("@index-"++_) ->
  -    ns_cluster_membership:service_actual_nodes(ns_config:latest(), index);
  -section_nodes("@cbas-"++_) ->
  -    ns_cluster_membership:service_actual_nodes(ns_config:latest(), cbas);
  -section_nodes("@cbas") ->
  -    ns_cluster_membership:service_actual_nodes(ns_config:latest(), cbas);
  -section_nodes("@fts-"++_) ->
  -    ns_cluster_membership:service_actual_nodes(ns_config:latest(), fts);
  -section_nodes("@fts") ->
  -    ns_cluster_membership:service_actual_nodes(ns_config:latest(), fts);
  -section_nodes("@xdcr-"++Bucket) ->
  +section_nodes("@xdcr-" ++ Bucket) ->
       ns_bucket:live_bucket_nodes(Bucket);
  -section_nodes(Bucket) ->
  -    ns_bucket:live_bucket_nodes(Bucket).
  +section_nodes(Section) ->
  +    case describe_section(Section) of
  +        {Service, _} ->
  +            ns_cluster_membership:service_actual_nodes(ns_config:latest(),
  +                                                       Service);
  +        undefined ->
  +            %% Section is a bucket
  +            ns_bucket:live_bucket_nodes(Section)
  +    end.
   
   is_persistent("@"++_) ->
       false;
  
positive.code: 
  section_exists("@system") ->
      true;
  section_exists("@index") ->
      true;
  section_exists("@query") ->
      true;
  section_exists("@index-"++Bucket) ->
      bucket_exists(Bucket);
  section_exists("@fts-"++Bucket) ->
      bucket_exists(Bucket);
  section_exists("@xdcr-"++Bucket) ->
      bucket_exists(Bucket);
  section_exists("@cbas-"++Bucket) ->
      bucket_exists(Bucket);
  section_exists(Bucket) ->
      bucket_exists(Bucket).
  
  grab_system_aggregate_op_stats(all, ClientTStamp, Window) ->
      grab_aggregate_op_stats("@system", section_nodes("@system"), ClientTStamp, Window);
  
negative.code: %% query related stats first.
  %%
  get_stats_search_order(StatName, BucketName) ->
      GuessedSections = guess_sections_by_pefix(StatName, BucketName),
      AllSections = ["@system", BucketName, "@xdcr-" ++ BucketName] ++
          services_sections(BucketName),
      GuessedSections ++ (AllSections -- GuessedSections).
  
  build_response_for_specific_stat(BucketName, StatName, Params, LocalAddr) ->
      {ClientTStamp, {Step, _, Count} = Window} =
  