anchor.diff:                  {title,<<"streaming wakeups/sec">>},
                   {desc,<<"Rate of streaming request wakeups on port 8091">>}]}]}].
   
  -base_stats_directory("@query", _) ->
  +base_stats_directory("@query", _, _) ->
       couchbase_query_stats_descriptions();
  -base_stats_directory(BucketId, AddQuery) ->
  +base_stats_directory(BucketId, AddQuery, AddIndex) ->
       {ok, BucketConfig} = ns_bucket:get_bucket(BucketId),
       Base = case ns_bucket:bucket_type(BucketConfig) of
  -               membase -> membase_stats_description(BucketId, AddQuery);
  +               membase -> membase_stats_description(BucketId, AddQuery, AddIndex);
                  memcached -> memcached_stats_description()
              end,
       [{struct, server_resources_stats_description()} | Base].
  
positive.code:                           {desc,<<"Number of backoffs for other DCP connections">>}]}
                 ]}]}]
          ++ couchbase_view_stats_descriptions(BucketId)
          ++ couchbase_replication_stats_descriptions(BucketId)
          ++ case AddQuery of
                 true -> couchbase_query_stats_descriptions();
  
negative.code:      {<<"query_avg_svc_time">>, QueryAvgServiceTime},
       {<<"query_avg_response_size">>, QueryAvgResultSize},
       {<<"query_avg_result_count">>, QueryAvgResultCount}];
  computed_stats_lazy_proplist("@index-"++_) ->
      [];
  computed_stats_lazy_proplist(BucketName) ->
      Z2 = fun (StatNameA, StatNameB, Combiner) ->
                   {Combiner, [StatNameA, StatNameB]}
  