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

=== Config value:

    [{protocol,http},
     {schema_endpoint,admin},
     {listener_opts,#{module => mongoose_graphql_handler,
                      path => "/api/graphql",host => "localhost",
                      username => <<"admin">>,password => <<"secret">>,
                      sse_idle_timeout => 3600000,schema_endpoint => admin}},
     {watchdog,<0.34103.0>},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {preset,"pgsql_cets"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/graphql_metric_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@2ed2b07c4324.2024-04-18_10.56.18/big_tests.tests.graphql_metric_SUITE.logs/run.2024-04-18_11.02.17/graphql_metric_suite.get_vm_stats_memory.html"},
     {tc_group_properties,[{name,metrics_http}]},
     {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@2ed2b07c4324.2024-04-18_10.56.18/big_tests.tests.graphql_metric_SUITE.logs/run.2024-04-18_11.02.17/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@2ed2b07c4324.2024-04-18_10.56.18"

=== Started at 2024-04-18 11:02:17


*** CT 2024-04-18 11:02:17.694 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2731.html

*** User 2024-04-18 11:02:17.707 ***🔗
REST request:
Code: 200
Req: {<0.34221.0>,<<"/api/graphql">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"e7734e62034b8604">>},
       {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}],
      <<"{\"variables\":{\"name\":[\"global\"]},\"query\":\"query ($name: [String]) { metric { getMetrics(name: $name) { ... on CETSSystemMetric { available_nodes conflict_nodes conflict_tables discovered_nodes discovery_works joined_nodes name remote_missing_tables remote_nodes_with_missing_tables remote_nodes_with_unknown_tables remote_nodes_without_disco remote_unknown_tables type unavailable_nodes } ... on ProbeQueuesMetric { fsm name regular total type } ... on VMSystemInfoMetric { ets_limit name port_count port_limit process_count process_limit type } ... on VMStatsMemoryMetric { atom_used binary ets name processes_used system total type } ... on RDBMSStatsMetric { name recv_cnt recv_max recv_oct send_cnt send_max send_oct send_pend type workers } ... on MergedInetStatsMetric { connections name recv_cnt recv_max recv_oct send_cnt send_max send_oct send_pend type } ... on GaugeMetric { name type value } ... on SpiralMetric { count name one type } ... on CounterMetric { ms_since_reset name type value } ... on HistogramMetric { max mean median min n name p50 p75 p90 p95 p99 p999 type } } } }\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 18 Apr 2024 11:02:16 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"24189">>}],
         <<"{\"data\":{\"metric\":{\"getMetrics\":[{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"ejabberd_auth_anonymous\",\"calls\",\"does_anonymous_user_exist\"],\"count\":0},{\"type\":\"histogram\",\"p999\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"backends\",\"ejabberd_auth_anonymous\",\"does_anonymous_user_exist\"],\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},{\"type\":\"spiral\",\"one\":15,\"name\":[\"global\",\"backends\",\"mod_http_upload\",\"calls\",\"create_slot\"],\"count\":15},{\"type\":\"histogram\",\"p999\":380,\"p99\":380,\"p95\":380,\"p90\":370,\"p75\":297,\"p50\":227,\"name\":[\"global\",\"backends\",\"mod_http_upload\",\"create_slot\"],\"n\":17,\"min\":180,\"median\":227,\"mean\":247,\"max\":380},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_inbox\",\"calls\",\"clear_inbox\"],\"count\":122},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_inbox\",\"calls\",\"get_entry_properties\"],\"count\":0},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_inbox\",\"calls\",\"get_full_entry\"],\"count\":0},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_inbox\",\"calls\",\"get_inbox\"],\"count\":301},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_inbox\",\"calls\",\"get_inbox_unread\"],\"count\":0},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_inbox\",\"calls\",\"remove_domain\"],\"count\":0},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_inbox\",\"calls\",\"remove_inbox_row\"],\"count\":43},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_inbox\",\"calls\",\"reset_unread\"],\"count\":60},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_inbox\",\"calls\",\"set_entry_properties\"],\"count\":0},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_inbox\",\"calls\",\"set_inbox\"],\"count\":14},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_inbox\",\"calls\",\"set_inbox_incr_unread\"],\"count\":122},{\"type\":\"histogram\",\"p999\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"backends\",\"mod_inbox\",\"clear_inbox\"],\"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_inbox\",\"get_entry_properties\"],\"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_inbox\",\"get_full_entry\"],\"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_inbox\",\"get_inbox\"],\"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_inbox\",\"get_inbox_unread\"],\"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_inbox\",\"remove_domain\"],\"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_inbox\",\"remove_inbox_row\"],\"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_inbox\",\"reset_unread\"],\"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_inbox\",\"set_entry_properties\"],\"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_inbox\",\"set_inbox\"],\"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_inbox\",\"set_inbox_incr_unread\"],\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_last\",\"calls\",\"get_last\"],\"count\":36},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_last\",\"calls\",\"set_last_info\"],\"count\":76},{\"type\":\"histogram\",\"p999\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"backends\",\"mod_last\",\"get_last\"],\"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_last\",\"set_last_info\"],\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_muc\",\"calls\",\"can_use_nick\"],\"count\":115},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_muc\",\"calls\",\"forget_room\"],\"count\":7},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_muc\",\"calls\",\"get_nick\"],\"count\":0},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_muc\",\"calls\",\"get_rooms\"],\"count\":36},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_muc\",\"calls\",\"restore_room\"],\"count\":8},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_muc\",\"calls\",\"set_nick\"],\"count\":0},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_muc\",\"calls\",\"store_room\"],\"count\":11},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_muc\",\"calls\",\"unset_nick\"],\"count\":0},{\"type\":\"histogram\",\"p999\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"backends\",\"mod_muc\",\"can_use_nick\"],\"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_muc\",\"forget_room\"],\"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_muc\",\"get_nick\"],\"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_muc\",\"get_rooms\"],\"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_muc\",\"restore_room\"],\"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_muc\",\"set_nick\"],\"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_muc\",\"store_room\"],\"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_muc\",\"unset_nick\"],\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_muc_light_db\",\"calls\",\"create_room\"],\"count\":131},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_muc_light_db\",\"calls\",\"destroy_room\"],\"count\":29},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_muc_light_db\",\"calls\",\"get_aff_users\"],\"count\":244},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_muc_light_db\",\"calls\",\"get_blocking\"],\"count\":93},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_muc_light_db\",\"calls\",\"get_config\"],\"count\":0},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_muc_light_db\",\"calls\",\"get_user_rooms\"],\"count\":4},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_muc_light_db\",\"calls\",\"modify_aff_users\"],\"count\":71},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_muc_light_db\",\"calls\",\"remove_domain\"],\"count\":0},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_muc_light_db\",\"calls\",\"remove_user\"],\"count\":273},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_muc_light_db\",\"calls\",\"room_exists\"],\"count\":162},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_muc_light_db\",\"calls\",\"set_blocking\"],\"count\":12},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_muc_light_db\",\"calls\",\"set_config\"],\"count\":7},{\"type\":\"histogram\",\"p999\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"backends\",\"mod_muc_light_db\",\"create_room\"],\"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_muc_light_db\",\"destroy_room\"],\"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_muc_light_db\",\"get_aff_users\"],\"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_muc_light_db\",\"get_blocking\"],\"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_muc_light_db\",\"get_config\"],\"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_muc_light_db\",\"get_user_rooms\"],\"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_muc_light_db\",\"modify_aff_users\"],\"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_muc_light_db\",\"remove_domain\"],\"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_muc_light_db\",\"remove_user\"],\"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_muc_light_db\",\"room_exists\"],\"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_muc_light_db\",\"set_blocking\"],\"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_muc_light_db\",\"set_config\"],\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_muc_online\",\"calls\",\"get_online_rooms\"],\"count\":24},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_muc_online\",\"calls\",\"register_room\"],\"count\":114},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_muc_online\",\"calls\",\"room_destroyed\"],\"count\":112},{\"type\":\"histogram\",\"p999\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"backends\",\"mod_muc_online\",\"get_online_rooms\"],\"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_muc_online\",\"register_room\"],\"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_muc_online\",\"room_destroyed\"],\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_offline\",\"calls\",\"pop_messages\"],\"count\":54},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_offline\",\"calls\",\"write_messages\"],\"count\":35},{\"type\":\"histogram\",\"p999\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"backends\",\"mod_offline\",\"pop_messages\"],\"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_offline\",\"write_messages\"],\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_private\",\"calls\",\"multi_get_data\"],\"count\":20},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_private\",\"calls\",\"multi_set_data\"],\"count\":22},{\"type\":\"histogram\",\"p999\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"backends\",\"mod_private\",\"multi_get_data\"],\"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_private\",\"multi_set_data\"],\"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\",\"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\":18},{\"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_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_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_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_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\":0,\"name\":[\"global\",\"backends\",\"mod_roster\",\"calls\",\"del_roster_t\"],\"count\":16},{\"type\":\"spiral\",\"one\":182,\"name\":[\"global\",\"backends\",\"mod_roster\",\"calls\",\"get_roster\"],\"count\":1359},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_roster\",\"calls\",\"get_roster_entry\"],\"count\":694},{\"type\":\"spiral\",\"one\":145,\"name\":[\"global\",\"backends\",\"mod_roster\",\"calls\",\"get_subscription_lists\"],\"count\":1123},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_roster\",\"calls\",\"read_roster_version\"],\"count\":0},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_roster\",\"calls\",\"roster_subscribe_t\"],\"count\":517},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_roster\",\"calls\",\"update_roster_t\"],\"count\":107},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_roster\",\"calls\",\"write_roster_version\"],\"count\":0},{\"type\":\"histogram\",\"p999\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"backends\",\"mod_roster\",\"del_roster_t\"],\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},{\"type\":\"histogram\",\"p999\":3065,\"p99\":2199,\"p95\":1060,\"p90\":728,\"p75\":618,\"p50\":525,\"name\":[\"global\",\"backends\",\"mod_roster\",\"get_roster\"],\"n\":92,\"min\":291,\"median\":525,\"mean\":541,\"max\":3065},{\"type\":\"histogram\",\"p999\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"backends\",\"mod_roster\",\"get_roster_entry\"],\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},{\"type\":\"histogram\",\"p999\":3405,\"p99\":2194,\"p95\":1438,\"p90\":1168,\"p75\":382,\"p50\":302,\"name\":[\"global\",\"backends\",\"mod_roster\",\"get_subscription_lists\"],\"n\":110,\"min\":180,\"median\":302,\"mean\":404,\"max\":3405},{\"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\":0,\"p99\":0,\"p95\":0,\"p90\":0,\"p75\":0,\"p50\":0,\"name\":[\"global\",\"backends\",\"mod_roster\",\"roster_subscribe_t\"],\"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_roster\",\"update_roster_t\"],\"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_roster\",\"write_roster_version\"],\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},{\"type\":\"spiral\",\"one\":40,\"name\":[\"global\",\"backends\",\"mod_vcard\",\"calls\",\"get_vcard\"],\"count\":111},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"backends\",\"mod_vcard\",\"calls\",\"search\"],\"count\":0},{\"type\":\"spiral\",\"one\":12,\"name\":[\"global\",\"backends\",\"mod_vcard\",\"calls\",\"set_vcard\"],\"count\":14},{\"type\":\"histogram\",\"p999\":632,\"p99\":632,\"p95\":547,\"p90\":540,\"p75\":351,\"p50\":294,\"name\":[\"global\",\"backends\",\"mod_vcard\",\"get_vcard\"],\"n\":40,\"min\":184,\"median\":294,\"mean\":321,\"max\":632},{\"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\":1998,\"p99\":1998,\"p95\":1998,\"p90\":1998,\"p75\":1730,\"p50\":1259,\"name\":[\"global\",\"backends\",\"mod_vcard\",\"set_vcard\"],\"n\":14,\"min\":882,\"median\":1259,\"mean\":1374,\"max\":1998},{\"type\":\"spiral\",\"one\":2921,\"name\":[\"global\",\"backends\",\"mongoose_rdbms\",\"calls\",\"execute\"],\"count\":27970},{\"type\":\"spiral\",\"one\":738,\"name\":[\"global\",\"backends\",\"mongoose_rdbms\",\"calls\",\"query\"],\"count\":8010},{\"type\":\"histogram\",\"p999\":5200,\"p99\":1174,\"p95\":583,\"p90\":489,\"p75\":391,\"p50\":302,\"name\":[\"global\",\"backends\",\"mongoose_rdbms\",\"execute\"],\"n\":718,\"min\":77,\"median\":302,\"mean\":364,\"max\":18088},{\"type\":\"histogram\",\"p999\":34412,\"p99\":917,\"p95\":297,\"p90\":243,\"p75\":178,\"p50\":128,\"name\":[\"global\",\"backends\",\"mongoose_rdbms\",\"query\"],\"n\":216,\"min\":56,\"median\":128,\"mean\":358,\"max\":34412},{\"value\":0,\"type\":\"counter\",\"name\":[\"global\",\"cache\",\"unique_sessions_number\"],\"ms_since_reset\":307031},{\"unavailable_nodes\":0,\"type\":\"cets_system\",\"remote_unknown_tables\":0,\"remote_nodes_without_disco\":0,\"remote_nodes_with_unknown_tables\":0,\"remote_nodes_with_missing_tables\":0,\"remote_missing_tables\":0,\"name\":[\"global\",\"cets\",\"system\"],\"joined_nodes\":3,\"discovery_works\":1,\"discovered_nodes\":3,\"conflict_tables\":0,\"conflict_nodes\":0,\"available_nodes\":3},{\"value\":0,\"type\":\"gauge\",\"name\":[\"global\",\"clusterSize\"]},{\"type\":\"merged_inet_stats\",\"send_pend\":0,\"send_oct\":18558689,\"send_max\":58190,\"send_cnt\":41834,\"recv_oct\":9407800,\"recv_max\":70129,\"recv_cnt\":31227,\"name\":[\"global\",\"data\",\"dist\"],\"connections\":3},{\"workers\":5,\"type\":\"rdbms_stats\",\"send_pend\":0,\"send_oct\":4530609,\"send_max\":6943,\"send_cnt\":37374,\"recv_oct\":2951776,\"recv_max\":3469,\"recv_cnt\":37412,\"name\":[\"global\",\"data\",\"rdbms\",\"default\"]},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"data\",\"xmpp\",\"received\",\"c2s\",\"bosh\"],\"count\":0},{\"type\":\"spiral\",\"one\":99256,\"name\":[\"global\",\"data\",\"xmpp\",\"received\",\"c2s\",\"tcp\"],\"count\":923886},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"data\",\"xmpp\",\"received\",\"c2s\",\"tls\"],\"count\":9180},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"data\",\"xmpp\",\"received\",\"c2s\",\"websocket\"],\"count\":0},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"data\",\"xmpp\",\"received\",\"component\"],\"count\":1487},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"data\",\"xmpp\",\"received\",\"s2s\"],\"count\":0},{\"type\":\"histogram\",\"p999\":300,\"p99\":148,\"p95\":137,\"p90\":137,\"p75\":131,\"p50\":110,\"name\":[\"global\",\"data\",\"xmpp\",\"received\",\"xml_stanza_size\"],\"n\":341,\"min\":11,\"median\":110,\"mean\":71,\"max\":300},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"data\",\"xmpp\",\"sent\",\"c2s\",\"bosh\"],\"count\":0},{\"type\":\"spiral\",\"one\":231293,\"name\":[\"global\",\"data\",\"xmpp\",\"sent\",\"c2s\",\"tcp\"],\"count\":2638494},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"data\",\"xmpp\",\"sent\",\"c2s\",\"tls\"],\"count\":18221},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"data\",\"xmpp\",\"sent\",\"c2s\",\"websocket\"],\"count\":0},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"data\",\"xmpp\",\"sent\",\"component\"],\"count\":1450},{\"type\":\"spiral\",\"one\":0,\"name\":[\"global\",\"data\",\"xmpp\",\"sent\",\"s2s\"],\"count\":0},{\"type\":\"histogram\",\"p999\":375,\"p99\":345,\"p95\":263,\"p90\":216,\"p75\":203,\"p50\":176,\"name\":[\"global\",\"data\",\"xmpp\",\"sent\",\"xml_stanza_size\"],\"n\":409,\"min\":16,\"median\":176,\"mean\":128,\"max\":375},{\"type\":\"vm_stats_memory\",\"total\":190305544,\"system\":136378512,\"processes_used\":54237096,\"name\":[\"global\",\"erlang\",\"memory\"],\"ets\":18162056,\"binary\":1366872,\"atom_used\":2127373},{\"type\":\"vm_system_info\",\"process_limit\":262144,\"process_count\":2228,\"port_limit\":65536,\"port_count\":39,\"name\":[\"global\",\"erlang\",\"system_info\"],\"ets_limit\":8192},{\"value\":0,\"type\":\"gauge\",\"name\":[\"global\",\"nodeSessionCount\"]},{\"value\":403,\"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\",\"routingErrors\"],\"count\":0},{\"value\":34,\"type\":\"gauge\",\"name\":[\"global\",\"tcpPortsUsed\"]},{\"value\":0,\"type\":\"gauge\",\"name\":[\"global\",\"totalSessionCount\"]},{\"value\":0,\"type\":\"gauge\",\"name\":[\"global\",\"uniqueSessionCount\"]}]}}}">>,
         24330,11468}
Params: #{port => 5551,path => <<"/api/graphql">>,
          server => #{node => mongooseim@localhost},
          method => <<"POST">>,
          body =>
              <<"{\"variables\":{\"name\":[\"global\"]},\"query\":\"query ($name: [String]) { metric { getMetrics(name: $name) { ... on CETSSystemMetric { available_nodes conflict_nodes conflict_tables discovered_nodes discovery_works joined_nodes name remote_missing_tables remote_nodes_with_missing_tables remote_nodes_with_unknown_tables remote_nodes_without_disco remote_unknown_tables type unavailable_nodes } ... on ProbeQueuesMetric { fsm name regular total type } ... on VMSystemInfoMetric { ets_limit name port_count port_limit process_count process_limit type } ... on VMStatsMemoryMetric { atom_used binary ets name processes_used system total type } ... on RDBMSStatsMetric { name recv_cnt recv_max recv_oct send_cnt send_max send_oct send_pend type workers } ... on MergedInetStatsMetric { connections name recv_cnt recv_max recv_oct send_cnt send_max send_oct send_pend type } ... on GaugeMetric { name type value } ... on SpiralMetric { count name one type } ... on CounterMetric { ms_since_reset name type value } ... on HistogramMetric { max mean median min n name p50 p75 p90 p95 p99 p999 type } } } }\"}">>,
          role => {graphql,admin},
          creds => {<<"admin">>,<<"secret">>},
          return_maps => true,return_headers => true}

*** CT 2024-04-18 11:02:17.711 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2731.html



=== Ended at 2024-04-18 11:02:17
=== successfully completed test case
=== === Returned value: ok


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