anchor.diff:      [{struct, [{blockName, <<"Index Stats: ", Id/binary>>},
                  {extraCSSClasses, <<"dynamic_closed">>},
                  {stats,
  -                [{struct, [{title, <<"Scans/sec">>},
  +                [{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">>},
  +                           {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">>},
  +                           {title, <<"data size">>},
                              {name, per_index_stat(Id, <<"data_size">>)},
                              {desc, <<"Actual data size consumed by the index">>}]},
  -                 {struct, [{title, <<"Total Items Remaining">>},
  +                 {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">>},
  +                 {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">>},
  +                 {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">>},
  +                           {title, <<"average item size">>},
                              {name, per_index_stat(Id, <<"avg_item_size">>)},
                              {desc, <<"Average size of each index item">>}]},
  -                 {struct, [{title, <<"% Fragmentation">>},
  +                 {struct, [{title, <<"% fragmentation">>},
                              {name, per_index_stat(Id, <<"fragmentation">>)},
                              {desc, <<"Percentage fragmentation of the index">>}]},
  -                 {struct, [{title, <<"Requests/sec">>},
  +                 {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">>},
  +                 {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">>},
  +                 {struct, [{title, <<"average scan latency">>},
                              {name, per_index_stat(Id, <<"avg_scan_latency">>)},
                              {desc, <<"Average time taken to serve a scan request">>}]}]}]}
        || Id <- AllIndexes].
  
positive.code:                           {name, <<"avg_bg_wait_time">>},
                            {desc, <<"Average background fetch time in microseconds"
                                     "(measured from avg_bg_wait_time).">>}]},
                  {struct,[{title,<<"Incoming XDCR ops/sec.">>},
                           {name,<<"xdc_ops">>},
                           {desc,<<"Incoming XDCR operations per second for this bucket "
                                   "(measured from xdc_ops).">>}]},
  
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)
  