anchor.diff:                             {desc, <<"Number of queries that take longer than 5000 ms per second">>}]},
                    {struct, [{title, <<"invalid requests/sec">>},
                              {name, <<"query_invalid_requests">>},
  -                           {desc, <<"Number of requests for unsupported endpoints per second, specifically HTTP requests for all endpoints not supported by the query engine. For example, a request for http://localhost:8093/foo will be included. Potentially useful in identifying DOS attacks.">>}]}]}]}].
  +                           {desc, <<"Number of requests for unsupported endpoints per second, "
  +                                    "specifically HTTP requests for all endpoints not supported by "
  +                                    "the query engine. For example, a request for http://localhost"
  +                                    ":8093/foo will be included. Potentially useful in identifying "
  +                                    "DOS attacks.">>}]}]}]}].
   
   membase_query_stats_description(false) ->
       [];
   membase_query_stats_description(true) ->
  -    [{struct,[{title,<<"N1QL queries/sec">>},
  +    [{struct,[{title, <<"N1QL queries/sec">>},
                 {name, <<"query_requests">>},
                 {desc, <<"Number of N1QL requests processed per second">>}]}].
   
  
positive.code: do_couchbase_view_stats_descriptions(DictBySig, KeyPrefix, Title) ->
      dict:fold(
        fun(Sig, DDocIds0, Stats) ->
                Prefix = <<KeyPrefix/binary, Sig/binary,"/">>,
                DDocIds = lists:sort(DDocIds0),
                Ids = iolist_to_binary([hd(DDocIds) |
                                        [[?SPACE_CHAR | Id]
                                         || Id <- tl(DDocIds)]]),
                MyStats = {struct,[{blockName,<<Title/binary, ": ", Ids/binary>>},
                                   {extraCSSClasses,<<"dynamic_closed">>},
                                   {columns,
                                    [<<"Data">>,<<"Disk">>,<<"Read Ops">>]},
                                   {stats,
                                    [{struct,[{isBytes,true},
                                              {title,<<"data size">>},
                                              {name,<<Prefix/binary,"data_size">>},
                                              {desc,<<"How many bytes stored">>}]},
                                     {struct,[{isBytes,true},
                                              {title,<<"disk size">>},
                                              {name,<<Prefix/binary,"disk_size">>},
                                              {desc,<<"How much storage used">>}]},
                                     {struct,[{title,<<"view reads per sec.">>},
                                              {name,<<Prefix/binary,"accesses">>},
                                              {desc,<<"Traffic to the views in this design doc">>}]}
                                    ]}]},
                [MyStats|Stats]
        end, [], DictBySig).
  
  couchbase_index_stats_descriptions(_, []) ->
  
negative.code:                {desc, <<"Number of disk bytes written on Analytics node per second">>}]}].
  
  server_resources_stats_description(IndexNodes, FtsNodes, CbasNodes) ->
      [{blockName, <<"Server Resources">>},
       {serverResources, true},
       {stats,
        [{struct, [{isBytes, true},
                   {name, <<"swap_used">>},
                   {title, <<"swap usage">>},
                   {desc, <<"Amount of swap space in use on this server">>}]},
         {struct, [{isBytes, true},
                   {name, <<"mem_actual_free">>},
                   {title, <<"free RAM">>},
                   {desc, <<"Amount of RAM available on this server">>}]},
         {struct, [{name, <<"cpu_utilization_rate">>},
                   {title, <<"Max CPU utilization %">>},
                   {desc, <<"Percentage of CPU in use across all available cores on this server">>},
                   {maxY, 100}]},
         {struct, [{name, <<"curr_connections">>},
                   {title, <<"connections">>},
                   {desc, <<"Number of connections to this server including "
                            "connections from external client SDKs, proxies, "
                            "DCP requests and internal statistic gathering "
                            "(measured from curr_connections)">>}]},
         {struct, [{name, <<"rest_requests">>},
                   {title, <<"port 8091 reqs/sec">>},
                   {desc, <<"Rate of http requests on port 8091">>}]},
         {struct, [{name, <<"hibernated_requests">>},
                   {title, <<"idle streaming requests">>},
                   {desc, <<"Number of streaming requests on port 8091 now idle">>}]},
         {struct, [{name, <<"hibernated_waked">>},
                   {title, <<"streaming wakeups/sec">>},
                   {desc, <<"Rate of streaming request wakeups on port 8091">>}]}
         | index_server_resources_stats_description(IndexNodes) ++
             fts_server_resources_stats_description(FtsNodes) ++
             cbas_server_resources_stats_description(CbasNodes)]}].
  