anchor.diff:  %%
   %% It serves all stats that we're going to display on
   %% analytics. Currently that is bucket stats, portion of system stats and
  -%% @query stats (with @index-<bucket> to follow soon).
  +%% @query stats.
   %%
   %% Response format is roughly as follows:
   %% {
  
positive.code:                 {title,<<"streaming wakeups/sec">>},
                  {desc,<<"Rate of streaming request wakeups on port 8091">>}]}]}].
  
  base_stats_directory("@query", _) ->
      couchbase_query_stats_descriptions();
  base_stats_directory(BucketId, AddQuery) ->
      {ok, BucketConfig} = ns_bucket:get_bucket(BucketId),
      Base = case ns_bucket:bucket_type(BucketConfig) of
                 membase -> membase_stats_description(BucketId, AddQuery);
                 memcached -> memcached_stats_description()
             end,
      [{struct, server_resources_stats_description()} | Base].
  
negative.code: %%   stats: {
  %%     @query: {query_avg_req_time: [0, 0], query_avg_svc_time: [0, 0], query_avg_response_size: [0, 0],…},
  %%     @system: {cpu_idle_ms: [14950, 15070], cpu_local_ms: [16310, 16090],…},
  %%     default: {couch_total_disk_size: [578886, 578886], couch_docs_fragmentation: [0, 0],…},
  %%     "@index-default": …
  %% }}
  %%
  %%
  