anchor.diff:                 ]}]}]
           ++ couchbase_view_stats_descriptions(BucketId)
           ++ couchbase_replication_stats_descriptions(BucketId)
  -        ++ couchbase_query_stats_descriptions(BucketId)
  +        ++ case AddQuery of
  +               true -> couchbase_query_stats_descriptions(BucketId);
  +               false -> []
  +           end
           ++ [{struct,[{blockName,<<"Incoming XDCR Operations">>},
                        {bigTitlePrefix, <<"Incoming XDCR">>},
                        {extraCSSClasses,<<"dynamic_closed">>},
  
positive.code:                                  "(measured from replication_changes_left).">>}]},
                  {struct,[{title,<<"Intra-Replication Queue">>},
                           {name,<<"ep_dcp_replica_items_remaining">>},
                           {desc,<<"Number of items remaining to be sent to producer in this bucket (measured from ep_dcp_replica_items_remaining)">>}]},
                  {struct,[{title,<<"N1QL Queries/sec">>},
                           {name, <<"query_requests">>},
                           {desc, <<"Number of N1QL requests processed per second.">>}]}
               ]}]},
       {struct,[{blockName,<<"vBucket Resources">>},
                {extraCSSClasses,<<"dynamic_withtotal dynamic_closed">>},
  
negative.code:                            {name, <<"query_requests_5000ms">>},
                             {desc, <<"Number of queries that take longer than 5000 ms per second">>}]}]}]}].
  
  membase_stats_description(BucketId, AddQuery) ->
      [{struct,[{blockName,<<"Summary">>},
                {stats,
                 [{struct,[{title,<<"ops per second">>},
  