anchor.diff:      send_method_not_allowed(Req, "GET");
   % GET /_node/$node/_system
   handle_node_req(#httpd{method='GET', path_parts=[_, Node, <<"_system">>]}=Req) ->
  -    Stats = call_node(Node, chttpd_misc, handle_system_req, [Req]),
  -    chttpd:send_json(Req, Stats);
  +    Stats = call_node(Node, chttpd_misc, get_stats, []),
  +    EJSON = couch_stats_httpd:to_ejson(Stats),
  +    send_json(Req, EJSON);
   handle_node_req(#httpd{path_parts=[_, _Node, <<"_system">>]}=Req) ->
       send_method_not_allowed(Req, "GET");
   handle_node_req(#httpd{path_parts=[_]}=Req) ->
  
positive.code:         {message_queues, {MessageQueues}},
          {internal_replication_jobs, mem3_sync:get_backlog()},
          {distribution, {get_distribution_stats()}}
      ]}).
  
  db_pid_stats() ->
      {monitors, M} = process_info(whereis(couch_stats_process_tracker), monitors),
  
negative.code:     {CF, CDU} = db_pid_stats(),
      MessageQueues0 = [{couch_file, {CF}}, {couch_db_updater, {CDU}}],
      MessageQueues = MessageQueues0 ++ message_queues(registered()),
      [
          {uptime, element(1,statistics(wall_clock)) div 1000},
          {memory, {Memory}},
          {run_queue, statistics(run_queue)},
  