anchor.diff:                            {name, <<"avg_bg_wait_time">>},
                             {desc, <<"Average background fetch time in microseconds"
                                      "(measured from avg_bg_wait_time).">>}]},
  -                {struct,[{title,<<"Incoming XDCR ops/sec.">>},
  +                {struct,[{title,<<"incoming XDCR ops/sec.">>},
                            {name,<<"xdc_ops">>},
                            {desc,<<"Incoming XDCR operations per second for this bucket "
                                    "(measured from xdc_ops).">>}]},
  
positive.code:     [{struct, [{blockName, <<"Index Stats: ", Id/binary>>},
                 {extraCSSClasses, <<"dynamic_closed">>},
                 {stats,
                  [{struct, [{title, <<"Scans/sec">>},
                             {name, per_index_stat(Id, <<"num_rows_returned">>)},
                             {desc, <<"Number of index items served by the indexer per second">>}]},
                   {struct, [{isBytes, true},
                             {title, <<"Disk Size">>},
                             {name, per_index_stat(Id, <<"disk_size">>)},
                             {desc, <<"Total disk file size consumed by the index">>}]},
                   {struct, [{isBytes, true},
                             {title, <<"Data Size">>},
                             {name, per_index_stat(Id, <<"data_size">>)},
                             {desc, <<"Actual data size consumed by the index">>}]},
                   {struct, [{title, <<"Total Items Remaining">>},
                             {name, per_index_stat(Id, <<"num_docs_pending">>)},
                             {desc, <<"Number of documents pending to be indexed">>}]},
                   {struct, [{title, <<"Drain Rate Items/sec">>},
                             {name, per_index_stat(Id, <<"num_docs_indexed">>)},
                             {desc, <<"Number of documents indexed by the indexer per second">>}]},
                   {struct, [{title, <<"Total Items">>},
                             {name, per_index_stat(Id, <<"items_count">>)},
                             {desc, <<"Current total number of documents in the index">>}]},
                   {struct, [{isBytes, true},
                             {title, <<"Average Item Size">>},
                             {name, per_index_stat(Id, <<"avg_item_size">>)},
                             {desc, <<"Average size of each index item">>}]},
                   {struct, [{title, <<"% Fragmentation">>},
                             {name, per_index_stat(Id, <<"fragmentation">>)},
                             {desc, <<"Percentage fragmentation of the index">>}]},
                   {struct, [{title, <<"Requests/sec">>},
                             {name, per_index_stat(Id, <<"num_requests">>)},
                             {desc, <<"Number of requests served by the indexer per second">>}]},
                   {struct, [{title, <<"Bytes returned/sec">>},
                             {name, per_index_stat(Id, <<"scan_bytes_read">>)},
                             {desc, <<"Number of bytes per second read by a scan">>}]},
                   {struct, [{title, <<"Average Scan Latency">>},
                             {name, per_index_stat(Id, <<"avg_scan_latency">>)},
                             {desc, <<"Average time taken to serve a scan request">>}]}]}]}
       || Id <- AllIndexes].
  
negative.code:                                   [];
                                _ ->
                                    [{struct, [{isBytes, true},
                                               {title, <<"index data size">>},
                                               {name, global_index_stat(<<"data_size">>)},
                                               {desc, <<"Actual data size consumed by the index">>}]},
                                     {struct, [{title, <<"index disk size">>},
                                               {name, global_index_stat(<<"disk_size">>)},
                                               {desc, <<"Total disk file size consumed by the index">>},
                                               {isBytes, true}]},
                                     {struct, [{title, <<"index fragmentation %">>},
                                               {name, global_index_stat(<<"fragmentation">>)},
                                               {desc, <<"Percentage fragmentation of the index">>}]},
                                     {struct, [{title, <<"index scans/sec">>},
                                               {name, global_index_stat(<<"num_rows_returned">>)},
                                               {desc, <<"Number of index items served by the indexer per second">>}]}]
                            end)
  