=== Test case: graphql_metric_SUITE:get_vm_stats_memory/1 (click for source code)

=== Config value:

    [{watchdog,<0.21679.0>},
     {schema_endpoint,admin},
     {listener_opts,#{host => "localhost",
                      module => mongoose_graphql_cowboy_handler,
                      password => <<"secret">>,path => "/api/graphql",
                      schema_endpoint => admin,username => <<"admin">>}},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/graphql_metric_SUITE_data"},
     {preset,"riak_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@838f153dfbc9.2022-06-22_08.43.58/big_tests.tests.graphql_metric_SUITE.logs/run.2022-06-22_08.48.40/graphql_metric_suite.get_vm_stats_memory.html"},
     {tc_group_properties,[{suite,graphql_metric_SUITE},{name,metrics}]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/graphql_metric_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@838f153dfbc9.2022-06-22_08.43.58/big_tests.tests.graphql_metric_SUITE.logs/run.2022-06-22_08.48.40/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@838f153dfbc9.2022-06-22_08.43.58"

=== Started at 2022-06-22 08:48:41


*** CT 2022-06-22 08:48:41.238 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_973.html
*** CT 2022-06-22 08:48:41.238 *** View log from node ejabberd2@localhost when started🔗 ejabberd2@localhost_391.html

*** User 2022-06-22 08:48:41.252 ***🔗
REST request:
Code: 200
Req: {<0.21776.0>,<<"/api/graphql">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"b4b74552315ea4d1">>},
       {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}],
      <<"{\"variables\":{},\"query\":\"query Q1\\n           {metric\\n               {getMetrics(name: [\\\"global\\\"]) {\\n                     ... on HistogramMetric\\n                     { name type n mean min max median p50 p75 p90 p95 p99 p999 }\\n                     ... on CounterMetric\\n                     { name type value ms_since_reset }\\n                     ... on SpiralMetric\\n                     { name type one count }\\n                     ... on GaugeMetric\\n                     { name type value }\\n                     ... on MergedInetStatsMetric\\n                     { name type connections recv_cnt recv_max recv_oct\\n                       send_cnt send_max send_oct send_pend }\\n                     ... on RDBMSStatsMetric\\n                     { name type workers recv_cnt recv_max recv_oct\\n                       send_cnt send_max send_oct send_pend }\\n                     ... on VMStatsMemoryMetric\\n                     { name type total processes_used atom_used binary ets system }\\n                     ... on VMSystemInfoMetric\\n                     { name type port_count port_limit process_count process_limit ets_limit }\\n                     ... on ProbeQueuesMetric\\n                     { name type fsm regular total }\\n                 }\\n               }\\n           }\",\"operationName\":\"Q1\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 22 Jun 2022 08:48:40 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"20001">>}],
         <<"{\"data\":{\"metric\":{\"getMetrics\":[{\"type\":\"spiral\",\"one\":2,\"name\":[\"global\",\"backends\",\"mod_http_upload\",\"calls\",\"create_slot\"],\"count\":2},{\"type\":\"histogram\",\"p999\":4665,\"p99\":4665,\"p95\":4665,\"p90\":4665,\"p75\":4665,\"p50\":391,\"name\":[\"global\",\"backends\",\"mod_http_upload\",\"create_slot\"],\"n\":4,\"min\":391,\"median\":391,\"mean\":2528,\"max\":4665},{\"type\":\"spiral\",\"one\":17,\"name\":[\"global\",\"backends\",\"mod_last\",\"calls\",\"get_last\"],\"count\":17},{\"type\":\"spiral\",\"one\":30,\"name\":[\"global\",\"backends\",\"mod_last\",\"calls\",\"set_last_info\"],\"count\":30},{\"type\":\"histogram\",\"p999\":5903,\"p99\":5903,\"p95\":3547,\"p90\":3547,\"p75\":1551,\"p50\":803,\"name\":[\"global\",\"backends\",\"mod_last\",\"get_last\"],\"n\":15,\"min\":486,\"median\":803,\"mean\":1344,\"max\":5903},{\"type\":\"histogram\",\"p999\":72335,\"p99\":72335,\"p95\":72335,\"p90\":3832,\"p75\":1481,\"p50\":1093,\"name\":[\"global\",\"backends\",\"mod_last\",\"set_last_info\"],\"n\":18,\"min\":855,\"median\":1093,\"mean\":6052,\"max\":72335},{\"type\":\"spiral\",\"one\":48,\"name\":[\"global\",\"backends\",\"mod_muc\",\"calls\",\"can_use_nick\"],\"count\":56},{\"type\":\"spiral\",\"one\":4,\"name\":[\"global\",\"backends\",\"mod_muc\",\"calls\",\"forget_room\"],\"count\":4},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_muc\",\"calls\",\"get_nick\"],\"count\":0},{\"type\":\"spiral\",\"one\":8,\"name\":[\"global\",\"backends\",\"mod_muc\",\"calls\",\"get_rooms\"],\"count\":8},{\"type\":\"spiral\",\"one\":2,\"name\":[\"global\",\"backends\",\"mod_muc\",\"calls\",\"restore_room\"],\"count\":2},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_muc\",\"calls\",\"set_nick\"],\"count\":0},{\"type\":\"spiral\",\"one\":8,\"name\":[\"global\",\"backends\",\"mod_muc\",\"calls\",\"store_room\"],\"count\":8},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_muc\",\"calls\",\"unset_nick\"],\"count\":0},{\"type\":\"histogram\",\"p999\":26,\"p99\":26,\"p95\":22,\"p90\":21,\"p75\":19,\"p50\":18,\"name\":[\"global\",\"backends\",\"mod_muc\",\"can_use_nick\"],\"n\":33,\"min\":10,\"median\":18,\"mean\":17,\"max\":26},{\"type\":\"histogram\",\"p999\":566,\"p99\":566,\"p95\":566,\"p90\":566,\"p75\":350,\"p50\":108,\"name\":[\"global\",\"backends\",\"mod_muc\",\"forget_room\"],\"n\":5,\"min\":88,\"median\":108,\"mean\":182,\"max\":566},{\"type\":\"histogram\",\"p999\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"backends\",\"mod_muc\",\"get_nick\"],\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},{\"type\":\"histogram\",\"p999\":45,\"p99\":45,\"p95\":45,\"p90\":45,\"p75\":17,\"p50\":14,\"name\":[\"global\",\"backends\",\"mod_muc\",\"get_rooms\"],\"n\":9,\"min\":9,\"median\":14,\"mean\":16,\"max\":45},{\"type\":\"histogram\",\"p999\":5,\"p99\":5,\"p95\":5,\"p90\":5,\"p75\":5,\"p50\":4,\"name\":[\"global\",\"backends\",\"mod_muc\",\"restore_room\"],\"n\":4,\"min\":4,\"median\":4,\"mean\":4,\"max\":5},{\"type\":\"histogram\",\"p999\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"backends\",\"mod_muc\",\"set_nick\"],\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},{\"type\":\"histogram\",\"p999\":287,\"p99\":287,\"p95\":287,\"p90\":287,\"p75\":204,\"p50\":129,\"name\":[\"global\",\"backends\",\"mod_muc\",\"store_room\"],\"n\":9,\"min\":79,\"median\":129,\"mean\":148,\"max\":287},{\"type\":\"histogram\",\"p999\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"backends\",\"mod_muc\",\"unset_nick\"],\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},{\"type\":\"spiral\",\"one\":36,\"name\":[\"global\",\"backends\",\"mod_muc_light_db\",\"calls\",\"create_room\"],\"count\":39},{\"type\":\"spiral\",\"one\":35,\"name\":[\"global\",\"backends\",\"mod_muc_light_db\",\"calls\",\"destroy_room\"],\"count\":35},{\"type\":\"spiral\",\"one\":38,\"name\":[\"global\",\"backends\",\"mod_muc_light_db\",\"calls\",\"get_aff_users\"],\"count\":45},{\"type\":\"spiral\",\"one\":20,\"name\":[\"global\",\"backends\",\"mod_muc_light_db\",\"calls\",\"get_blocking\"],\"count\":26},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_muc_light_db\",\"calls\",\"get_config\"],\"count\":0},{\"type\":\"spiral\",\"one\":32,\"name\":[\"global\",\"backends\",\"mod_muc_light_db\",\"calls\",\"get_user_rooms\"],\"count\":32},{\"type\":\"spiral\",\"one\":16,\"name\":[\"global\",\"backends\",\"mod_muc_light_db\",\"calls\",\"modify_aff_users\"],\"count\":16},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_muc_light_db\",\"calls\",\"remove_domain\"],\"count\":0},{\"type\":\"spiral\",\"one\":48,\"name\":[\"global\",\"backends\",\"mod_muc_light_db\",\"calls\",\"remove_user\"],\"count\":89},{\"type\":\"spiral\",\"one\":21,\"name\":[\"global\",\"backends\",\"mod_muc_light_db\",\"calls\",\"room_exists\"],\"count\":28},{\"type\":\"spiral\",\"one\":4,\"name\":[\"global\",\"backends\",\"mod_muc_light_db\",\"calls\",\"set_blocking\"],\"count\":4},{\"type\":\"spiral\",\"one\":2,\"name\":[\"global\",\"backends\",\"mod_muc_light_db\",\"calls\",\"set_config\"],\"count\":2},{\"type\":\"histogram\",\"p999\":829,\"p99\":829,\"p95\":607,\"p90\":507,\"p75\":292,\"p50\":176,\"name\":[\"global\",\"backends\",\"mod_muc_light_db\",\"create_room\"],\"n\":22,\"min\":115,\"median\":176,\"mean\":227,\"max\":829},{\"type\":\"histogram\",\"p999\":247,\"p99\":247,\"p95\":220,\"p90\":210,\"p75\":168,\"p50\":153,\"name\":[\"global\",\"backends\",\"mod_muc_light_db\",\"destroy_room\"],\"n\":34,\"min\":89,\"median\":153,\"mean\":154,\"max\":247},{\"type\":\"histogram\",\"p999\":9,\"p99\":9,\"p95\":9,\"p90\":7,\"p75\":5,\"p50\":4,\"name\":[\"global\",\"backends\",\"mod_muc_light_db\",\"get_aff_users\"],\"n\":23,\"min\":1,\"median\":4,\"mean\":4,\"max\":9},{\"type\":\"histogram\",\"p999\":7,\"p99\":7,\"p95\":6,\"p90\":6,\"p75\":5,\"p50\":4,\"name\":[\"global\",\"backends\",\"mod_muc_light_db\",\"get_blocking\"],\"n\":14,\"min\":2,\"median\":4,\"mean\":4,\"max\":7},{\"type\":\"histogram\",\"p999\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"backends\",\"mod_muc_light_db\",\"get_config\"],\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},{\"type\":\"histogram\",\"p999\":26,\"p99\":26,\"p95\":15,\"p90\":9,\"p75\":6,\"p50\":5,\"name\":[\"global\",\"backends\",\"mod_muc_light_db\",\"get_user_rooms\"],\"n\":20,\"min\":2,\"median\":5,\"mean\":6,\"max\":26},{\"type\":\"histogram\",\"p999\":288,\"p99\":288,\"p95\":288,\"p90\":288,\"p75\":231,\"p50\":178,\"name\":[\"global\",\"backends\",\"mod_muc_light_db\",\"modify_aff_users\"],\"n\":14,\"min\":93,\"median\":178,\"mean\":188,\"max\":288},{\"type\":\"histogram\",\"p999\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"backends\",\"mod_muc_light_db\",\"remove_domain\"],\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},{\"type\":\"histogram\",\"p999\":593,\"p99\":593,\"p95\":404,\"p90\":343,\"p75\":305,\"p50\":244,\"name\":[\"global\",\"backends\",\"mod_muc_light_db\",\"remove_user\"],\"n\":39,\"min\":104,\"median\":244,\"mean\":251,\"max\":593},{\"type\":\"histogram\",\"p999\":9,\"p99\":9,\"p95\":9,\"p90\":8,\"p75\":6,\"p50\":4,\"name\":[\"global\",\"backends\",\"mod_muc_light_db\",\"room_exists\"],\"n\":17,\"min\":3,\"median\":4,\"mean\":5,\"max\":9},{\"type\":\"histogram\",\"p999\":59,\"p99\":59,\"p95\":59,\"p90\":59,\"p75\":59,\"p50\":30,\"name\":[\"global\",\"backends\",\"mod_muc_light_db\",\"set_blocking\"],\"n\":6,\"min\":25,\"median\":30,\"mean\":37,\"max\":59},{\"type\":\"histogram\",\"p999\":271,\"p99\":271,\"p95\":271,\"p90\":271,\"p75\":271,\"p50\":169,\"name\":[\"global\",\"backends\",\"mod_muc_light_db\",\"set_config\"],\"n\":4,\"min\":169,\"median\":169,\"mean\":220,\"max\":271},{\"type\":\"spiral\",\"one\":4,\"name\":[\"global\",\"backends\",\"mod_offline\",\"calls\",\"pop_messages\"],\"count\":38},{\"type\":\"spiral\",\"one\":4,\"name\":[\"global\",\"backends\",\"mod_offline\",\"calls\",\"write_messages\"],\"count\":9},{\"type\":\"histogram\",\"p999\":2062,\"p99\":2062,\"p95\":2062,\"p90\":2062,\"p75\":2062,\"p50\":1790,\"name\":[\"global\",\"backends\",\"mod_offline\",\"pop_messages\"],\"n\":6,\"min\":1616,\"median\":1790,\"mean\":1819,\"max\":2062},{\"type\":\"histogram\",\"p999\":6225,\"p99\":6225,\"p95\":6225,\"p90\":6225,\"p75\":3698,\"p50\":1327,\"name\":[\"global\",\"backends\",\"mod_offline\",\"write_messages\"],\"n\":4,\"min\":1150,\"median\":1327,\"mean\":2513,\"max\":6225},{\"type\":\"spiral\",\"one\":4,\"name\":[\"global\",\"backends\",\"mod_private\",\"calls\",\"multi_get_data\"],\"count\":16},{\"type\":\"spiral\",\"one\":4,\"name\":[\"global\",\"backends\",\"mod_private\",\"calls\",\"multi_set_data\"],\"count\":18},{\"type\":\"histogram\",\"p999\":726,\"p99\":726,\"p95\":726,\"p90\":726,\"p75\":726,\"p50\":696,\"name\":[\"global\",\"backends\",\"mod_private\",\"multi_get_data\"],\"n\":6,\"min\":636,\"median\":696,\"mean\":692,\"max\":726},{\"type\":\"histogram\",\"p999\":1055,\"p99\":1055,\"p95\":1055,\"p90\":1055,\"p75\":1055,\"p50\":957,\"name\":[\"global\",\"backends\",\"mod_private\",\"multi_set_data\"],\"n\":6,\"min\":875,\"median\":957,\"mean\":962,\"max\":1055},{\"type\":\"histogram\",\"p999\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"backends\",\"mod_pubsub_db\",\"add_item\"],\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_pubsub_db\",\"calls\",\"add_item\"],\"count\":13},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_pubsub_db\",\"calls\",\"create_node\"],\"count\":21},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_pubsub_db\",\"calls\",\"del_item\"],\"count\":0},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_pubsub_db\",\"calls\",\"del_items\"],\"count\":13},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_pubsub_db\",\"calls\",\"del_node\"],\"count\":13},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_pubsub_db\",\"calls\",\"delete_node\"],\"count\":13},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_pubsub_db\",\"calls\",\"find_node_by_id\"],\"count\":14},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_pubsub_db\",\"calls\",\"find_node_by_name\"],\"count\":98},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_pubsub_db\",\"calls\",\"find_nodes_by_key\"],\"count\":0},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_pubsub_db\",\"calls\",\"get_item\"],\"count\":13},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_pubsub_db\",\"calls\",\"get_items\"],\"count\":0},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_pubsub_db\",\"calls\",\"get_own_nodes_states\"],\"count\":0},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_pubsub_db\",\"calls\",\"get_parentnodes_tree\"],\"count\":0},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_pubsub_db\",\"calls\",\"get_state\"],\"count\":26},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_pubsub_db\",\"calls\",\"get_states\"],\"count\":0},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_pubsub_db\",\"calls\",\"get_states_by_bare\"],\"count\":46},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_pubsub_db\",\"calls\",\"get_states_by_full\"],\"count\":0},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_pubsub_db\",\"calls\",\"get_states_by_lus\"],\"count\":0},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_pubsub_db\",\"calls\",\"get_subnodes\"],\"count\":0},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_pubsub_db\",\"calls\",\"get_subnodes_tree\"],\"count\":9},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_pubsub_db\",\"calls\",\"set_item\"],\"count\":0},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_pubsub_db\",\"calls\",\"set_node\"],\"count\":21},{\"type\":\"histogram\",\"p999\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"backends\",\"mod_pubsub_db\",\"create_node\"],\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},{\"type\":\"histogram\",\"p999\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"backends\",\"mod_pubsub_db\",\"del_item\"],\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},{\"type\":\"histogram\",\"p999\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"backends\",\"mod_pubsub_db\",\"del_items\"],\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},{\"type\":\"histogram\",\"p999\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"backends\",\"mod_pubsub_db\",\"del_node\"],\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},{\"type\":\"histogram\",\"p999\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"backends\",\"mod_pubsub_db\",\"delete_node\"],\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},{\"type\":\"histogram\",\"p999\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"backends\",\"mod_pubsub_db\",\"find_node_by_id\"],\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},{\"type\":\"histogram\",\"p999\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"backends\",\"mod_pubsub_db\",\"find_node_by_name\"],\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},{\"type\":\"histogram\",\"p999\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"backends\",\"mod_pubsub_db\",\"find_nodes_by_key\"],\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},{\"type\":\"histogram\",\"p999\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"backends\",\"mod_pubsub_db\",\"get_item\"],\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},{\"type\":\"histogram\",\"p999\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"backends\",\"mod_pubsub_db\",\"get_items\"],\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},{\"type\":\"histogram\",\"p999\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"backends\",\"mod_pubsub_db\",\"get_own_nodes_states\"],\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},{\"type\":\"histogram\",\"p999\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"backends\",\"mod_pubsub_db\",\"get_parentnodes_tree\"],\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},{\"type\":\"histogram\",\"p999\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"backends\",\"mod_pubsub_db\",\"get_state\"],\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},{\"type\":\"histogram\",\"p999\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"backends\",\"mod_pubsub_db\",\"get_states\"],\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},{\"type\":\"histogram\",\"p999\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"backends\",\"mod_pubsub_db\",\"get_states_by_bare\"],\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},{\"type\":\"histogram\",\"p999\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"backends\",\"mod_pubsub_db\",\"get_states_by_full\"],\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},{\"type\":\"histogram\",\"p999\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"backends\",\"mod_pubsub_db\",\"get_states_by_lus\"],\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},{\"type\":\"histogram\",\"p999\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"backends\",\"mod_pubsub_db\",\"get_subnodes\"],\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},{\"type\":\"histogram\",\"p999\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"backends\",\"mod_pubsub_db\",\"get_subnodes_tree\"],\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},{\"type\":\"histogram\",\"p999\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"backends\",\"mod_pubsub_db\",\"set_item\"],\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},{\"type\":\"histogram\",\"p999\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"backends\",\"mod_pubsub_db\",\"set_node\"],\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},{\"type\":\"spiral\",\"one\":8,\"name\":[\"global\",\"backends\",\"mod_roster\",\"calls\",\"del_roster_t\"],\"count\":8},{\"type\":\"spiral\",\"one\":348,\"name\":[\"global\",\"backends\",\"mod_roster\",\"calls\",\"get_roster\"],\"count\":561},{\"type\":\"spiral\",\"one\":169,\"name\":[\"global\",\"backends\",\"mod_roster\",\"calls\",\"get_roster_entry\"],\"count\":249},{\"type\":\"spiral\",\"one\":622,\"name\":[\"global\",\"backends\",\"mod_roster\",\"calls\",\"get_subscription_lists\"],\"count\":859},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_roster\",\"calls\",\"read_roster_version\"],\"count\":0},{\"type\":\"spiral\",\"one\":98,\"name\":[\"global\",\"backends\",\"mod_roster\",\"calls\",\"roster_subscribe_t\"],\"count\":178},{\"type\":\"spiral\",\"one\":34,\"name\":[\"global\",\"backends\",\"mod_roster\",\"calls\",\"update_roster_t\"],\"count\":34},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_roster\",\"calls\",\"write_roster_version\"],\"count\":0},{\"type\":\"histogram\",\"p999\":5,\"p99\":5,\"p95\":5,\"p90\":5,\"p75\":5,\"p50\":4,\"name\":[\"global\",\"backends\",\"mod_roster\",\"del_roster_t\"],\"n\":10,\"min\":3,\"median\":4,\"mean\":4,\"max\":5},{\"type\":\"histogram\",\"p999\":89345,\"p99\":64519,\"p95\":35630,\"p90\":19347,\"p75\":3883,\"p50\":1017,\"name\":[\"global\",\"backends\",\"mod_roster\",\"get_roster\"],\"n\":198,\"min\":320,\"median\":1017,\"mean\":5986,\"max\":89345},{\"type\":\"histogram\",\"p999\":77898,\"p99\":41790,\"p95\":16140,\"p90\":5109,\"p75\":1534,\"p50\":1023,\"name\":[\"global\",\"backends\",\"mod_roster\",\"get_roster_entry\"],\"n\":102,\"min\":456,\"median\":1023,\"mean\":3157,\"max\":77898},{\"type\":\"histogram\",\"p999\":114936,\"p99\":102967,\"p95\":91105,\"p90\":69891,\"p75\":3925,\"p50\":880,\"name\":[\"global\",\"backends\",\"mod_roster\",\"get_subscription_lists\"],\"n\":267,\"min\":396,\"median\":880,\"mean\":12665,\"max\":114936},{\"type\":\"histogram\",\"p999\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"backends\",\"mod_roster\",\"read_roster_version\"],\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},{\"type\":\"histogram\",\"p999\":60,\"p99\":32,\"p95\":19,\"p90\":15,\"p75\":13,\"p50\":11,\"name\":[\"global\",\"backends\",\"mod_roster\",\"roster_subscribe_t\"],\"n\":62,\"min\":5,\"median\":11,\"mean\":11,\"max\":60},{\"type\":\"histogram\",\"p999\":24,\"p99\":24,\"p95\":16,\"p90\":16,\"p75\":14,\"p50\":13,\"name\":[\"global\",\"backends\",\"mod_roster\",\"update_roster_t\"],\"n\":31,\"min\":8,\"median\":13,\"mean\":13,\"max\":24},{\"type\":\"histogram\",\"p999\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"backends\",\"mod_roster\",\"write_roster_version\"],\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},{\"type\":\"spiral\",\"one\":12,\"name\":[\"global\",\"backends\",\"mod_vcard\",\"calls\",\"get_vcard\"],\"count\":68},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_vcard\",\"calls\",\"search\"],\"count\":0},{\"type\":\"spiral\",\"one\":6,\"name\":[\"global\",\"backends\",\"mod_vcard\",\"calls\",\"set_vcard\"],\"count\":8},{\"type\":\"histogram\",\"p999\":10395,\"p99\":10395,\"p95\":10395,\"p90\":10395,\"p75\":1590,\"p50\":881,\"name\":[\"global\",\"backends\",\"mod_vcard\",\"get_vcard\"],\"n\":13,\"min\":512,\"median\":881,\"mean\":1795,\"max\":10395},{\"type\":\"histogram\",\"p999\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"backends\",\"mod_vcard\",\"search\"],\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},{\"type\":\"histogram\",\"p999\":16105,\"p99\":16105,\"p95\":16105,\"p90\":16105,\"p75\":10357,\"p50\":5199,\"name\":[\"global\",\"backends\",\"mod_vcard\",\"set_vcard\"],\"n\":8,\"min\":3656,\"median\":5199,\"mean\":7971,\"max\":16105},{\"value\":2,\"type\":\"counter\",\"name\":[\"global\",\"cache\",\"unique_sessions_number\"],\"ms_since_reset\":169009},{\"value\":1,\"type\":\"gauge\",\"name\":[\"global\",\"clusterSize\"]},{\"type\":\"merged_inet_stats\",\"send_pend\":0,\"send_oct\":4451767,\"send_max\":7035,\"send_cnt\":17021,\"recv_oct\":6572194,\"recv_max\":70620,\"recv_cnt\":11798,\"name\":[\"global\",\"data\",\"dist\"],\"connections\":3},{\"type\":\"histogram\",\"p999\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"data\",\"xmpp\",\"received\",\"compressed_size\"],\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},{\"type\":\"histogram\",\"p999\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"data\",\"xmpp\",\"received\",\"encrypted_size\"],\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},{\"type\":\"histogram\",\"p999\":300,\"p99\":156,\"p95\":137,\"p90\":137,\"p75\":128,\"p50\":105,\"name\":[\"global\",\"data\",\"xmpp\",\"received\",\"xml_stanza_size\"],\"n\":501,\"min\":11,\"median\":105,\"mean\":79,\"max\":300},{\"type\":\"histogram\",\"p999\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"data\",\"xmpp\",\"sent\",\"compressed_size\"],\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},{\"type\":\"histogram\",\"p999\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"data\",\"xmpp\",\"sent\",\"encrypted_size\"],\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},{\"type\":\"histogram\",\"p999\":496,\"p99\":437,\"p95\":358,\"p90\":305,\"p75\":227,\"p50\":176,\"name\":[\"global\",\"data\",\"xmpp\",\"sent\",\"xml_stanza_size\"],\"n\":654,\"min\":16,\"median\":176,\"mean\":189,\"max\":498},{\"type\":\"vm_stats_memory\",\"total\":121629472,\"system\":93326048,\"processes_used\":28861344,\"name\":[\"global\",\"erlang\",\"memory\"],\"ets\":15804920,\"binary\":736576,\"atom_used\":1313658},{\"type\":\"vm_system_info\",\"process_limit\":262144,\"process_count\":1761,\"port_limit\":65536,\"port_count\":39,\"name\":[\"global\",\"erlang\",\"system_info\"],\"ets_limit\":8192},{\"type\":\"spiral\",\"one\":4,\"name\":[\"global\",\"mod_muc\",\"deep_hibernations\"],\"count\":4},{\"value\":4,\"type\":\"gauge\",\"name\":[\"global\",\"mod_muc\",\"hibernated_rooms\"]},{\"type\":\"spiral\",\"one\":49,\"name\":[\"global\",\"mod_muc\",\"hibernations\"],\"count\":49},{\"value\":19,\"type\":\"gauge\",\"name\":[\"global\",\"mod_muc\",\"online_rooms\"]},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"mod_muc\",\"process_recreations\"],\"count\":0},{\"value\":2,\"type\":\"gauge\",\"name\":[\"global\",\"nodeSessionCount\"]},{\"value\":319,\"type\":\"gauge\",\"name\":[\"global\",\"nodeUpTime\"]},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"node_cleanup\"],\"count\":0},{\"type\":\"probe_queues\",\"total\":0,\"regular\":0,\"name\":[\"global\",\"processQueueLengths\"],\"fsm\":0},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"register_command\"],\"count\":0},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"routingErrors\"],\"count\":0},{\"value\":36,\"type\":\"gauge\",\"name\":[\"global\",\"tcpPortsUsed\"]},{\"value\":2,\"type\":\"gauge\",\"name\":[\"global\",\"totalSessionCount\"]},{\"value\":2,\"type\":\"gauge\",\"name\":[\"global\",\"uniqueSessionCount\"]},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"unregister_command\"],\"count\":0}]}}}">>,
         20142,12221}
Params: #{body =>
              <<"{\"variables\":{},\"query\":\"query Q1\\n           {metric\\n               {getMetrics(name: [\\\"global\\\"]) {\\n                     ... on HistogramMetric\\n                     { name type n mean min max median p50 p75 p90 p95 p99 p999 }\\n                     ... on CounterMetric\\n                     { name type value ms_since_reset }\\n                     ... on SpiralMetric\\n                     { name type one count }\\n                     ... on GaugeMetric\\n                     { name type value }\\n                     ... on MergedInetStatsMetric\\n                     { name type connections recv_cnt recv_max recv_oct\\n                       send_cnt send_max send_oct send_pend }\\n                     ... on RDBMSStatsMetric\\n                     { name type workers recv_cnt recv_max recv_oct\\n                       send_cnt send_max send_oct send_pend }\\n                     ... on VMStatsMemoryMetric\\n                     { name type total processes_used atom_used binary ets system }\\n                     ... on VMSystemInfoMetric\\n                     { name type port_count port_limit process_count process_limit ets_limit }\\n                     ... on ProbeQueuesMetric\\n                     { name type fsm regular total }\\n                 }\\n               }\\n           }\",\"operationName\":\"Q1\"}">>,
          creds => {<<"admin">>,<<"secret">>},
          method => <<"POST">>,path => <<"/api/graphql">>,port => 5551,
          return_headers => true,return_maps => true,
          role => {graphql,admin},
          server => #{node => mongooseim@localhost}}

*** CT 2022-06-22 08:48:41.255 *** View log from node ejabberd2@localhost when finished🔗 ejabberd2@localhost_391.html
*** CT 2022-06-22 08:48:41.255 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_973.html



=== Ended at 2022-06-22 08:48:41
=== successfully completed test case
=== === Returned value: ok


Test run history | Top level test index | Latest test result