anchor.diff:                                   "(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.">>}]}
  +                         {desc,<<"Number of items remaining to be sent to producer in this bucket (measured from ep_dcp_replica_items_remaining)">>}]}
  +                | case AddQuery of
  +                      true ->
  +                          [{struct,[{title,<<"N1QL Queries/sec">>},
  +                                    {name, <<"query_requests">>},
  +                                    {desc, <<"Number of N1QL requests processed per second.">>}]}];
  +                      _ -> []
  +                  end
                ]}]},
        {struct,[{blockName,<<"vBucket Resources">>},
                 {extraCSSClasses,<<"dynamic_withtotal dynamic_closed">>},
  
positive.code:                            {name, <<"query_requests_5000ms">>},
                             {desc, <<"Number of queries that take longer than 5000 ms per second">>}]}]}]}].
  
  membase_stats_description(BucketId) ->
      [{struct,[{blockName,<<"Summary">>},
                {stats,
                 [{struct,[{title,<<"ops per second">>},
  
negative.code:                ]}]}]
          ++ couchbase_view_stats_descriptions(BucketId)
          ++ couchbase_replication_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">>},
  