anchor.diff:                [MyStats|Stats]
         end, [], DictBySig).
   
  -couchbase_query_stats_descriptions(Bucket) ->
  -    Classes = case Bucket of
  -                  "@query" ->
  -                      <<"">>;
  -                  _ ->
  -                      <<"dynamic_closed analytics_query_block">>
  -              end,
  +couchbase_query_stats_descriptions() ->
       [{struct, [{blockName, <<"Query">>},
  -               {extraCSSClasses, Classes},
  +               {extraCSSClasses, <<"dynamic_closed">>},
                  {stats,
                   [{struct, [{title, <<"Requests/sec">>},
                              {name, <<"query_requests">>},
  
positive.code:                 {desc,<<"Rate of streaming request wakeups on port 8091">>}]}]}].
  
  base_stats_directory("@query", _) ->
      couchbase_query_stats_descriptions("@query");
  base_stats_directory(BucketId, AddQuery) ->
      {ok, BucketConfig} = ns_bucket:get_bucket(BucketId),
      Base = case ns_bucket:bucket_type(BucketConfig) of
  
negative.code: 
      % this will throw out all samples with timestamps that are not present
      % in both BucketRawSamples and SystemRawSamples
      Samples = join_samples(BucketRawSamples, SystemRawSamples),
  
      StatsPropList = samples_to_proplists(Samples, BucketName),
  
  