=== Test case: metrics_api_SUITE:cluster_size/1 (click for source code)

=== Config value:

    [{watchdog,<0.18619.0>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/metrics_api_SUITE_data"},
     {preset,"internal_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@34a9b6d2516c.2022-01-27_15.25.07/big_tests.tests.metrics_api_SUITE.logs/run.2022-01-27_15.28.14/metrics_api_suite.cluster_size.html"},
     {tc_group_properties,[{name,global}]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/metrics_api_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@34a9b6d2516c.2022-01-27_15.25.07/big_tests.tests.metrics_api_SUITE.logs/run.2022-01-27_15.28.14/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_adhoc => [],mod_amp => [],mod_bosh => [],
        mod_cache_users => [{number_of_segments,5},{time_to_live,2}],
        mod_carboncopy => [],mod_commands => [],
        mod_disco => [{users_can_see_hidden_services,false}],
        mod_muc_commands => [],mod_muc_light_commands => [],
        mod_register =>
            [{access,register},
             {ip_access,[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
             {welcome_message,{[],[]}}],
        mod_roster => [],mod_sic => [],mod_stream_management => [],
        mod_vcard => [{host,{prefix,<<"vjud.">>}}]}},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@34a9b6d2516c.2022-01-27_15.25.07"

=== Started at 2022-01-27 15:28:21


*** CT 2022-01-27 15:28:21.680 *** View log from node mongooseim@localhost when started mongooseim@localhost_895.html
*** CT 2022-01-27 15:28:21.680 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_579.html

*** User 2022-01-27 15:28:21.682 ***
REST request:
Code: 200
Req: {<0.18700.0>,<<"/api/metrics/global/clusterSize">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"592d9307534f2f2f">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:28:20 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"metric\":{\"value\":1}}">>,160,383}
Params: #{body => <<>>,method => <<"GET">>,
          path => <<"/api/metrics/global/clusterSize">>,port => 5288,
          return_headers => true,return_maps => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-01-27 15:28:21.689 ***
REST request:
Code: 200
Req: {<0.18702.0>,<<"/api/metrics/global/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"cc6c7a9f7f4d1f58">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:28:20 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"10957">>}],
         <<"{\"metrics\":{\"backends.mod_muc.forget_room\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"mod_muc.hibernated_rooms\":{\"value\":0},\"backends.mod_muc.calls.store_room\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.get_rooms\":{\"one\":0,\"count\":0},\"data.xmpp.received.encrypted_size\":{\"999\":388,\"99\":388,\"95\":367,\"90\":270,\"75\":191,\"50\":132,\"n\":20,\"min\":33,\"median\":132,\"mean\":171,\"max\":388},\"backends.mod_pubsub_db.get_items\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_offline.calls.pop_messages\":{\"one\":30,\"count\":37},\"data.dist\":{\"send_pend\":0,\"send_oct\":2892563,\"send_max\":41373,\"send_cnt\":15721,\"recv_oct\":6948138,\"recv_max\":1460,\"recv_cnt\":18587,\"connections\":3},\"backends.mod_pubsub_db.calls.get_states\":{\"one\":0,\"count\":0},\"register_command\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.get_states_by_full\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.calls.get_subnodes_tree\":{\"one\":9,\"count\":9},\"unregister_command\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.get_items\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.find_nodes_by_key\":{\"one\":2,\"count\":2},\"node_cleanup\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.unset_nick\":{\"one\":0,\"count\":0},\"backends.mod_muc.unset_nick\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.calls.get_own_nodes_states\":{\"one\":0,\"count\":0},\"backends.mod_roster.roster_subscribe_t\":{\"999\":247,\"99\":247,\"95\":247,\"90\":63,\"75\":53,\"50\":24,\"n\":10,\"min\":19,\"median\":24,\"mean\":40,\"max\":247},\"backends.mod_roster.get_subscription_lists\":{\"999\":55,\"99\":36,\"95\":22,\"90\":15,\"75\":13,\"50\":10,\"n\":96,\"min\":3,\"median\":10,\"mean\":12,\"max\":55},\"backends.mod_pubsub_db.find_node_by_name\":{\"999\":63,\"99\":63,\"95\":24,\"90\":22,\"75\":18,\"50\":8,\"n\":31,\"min\":1,\"median\":8,\"mean\":14,\"max\":63},\"backends.mod_muc.calls.forget_room\":{\"one\":0,\"count\":0},\"backends.mod_last.calls.set_last_info\":{\"one\":22,\"count\":22},\"backends.mod_roster.calls.read_roster_version\":{\"one\":0,\"count\":0},\"backends.mod_muc.set_nick\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.calls.find_node_by_name\":{\"one\":77,\"count\":98},\"backends.mod_roster.calls.get_subscription_lists\":{\"one\":220,\"count\":355},\"backends.mod_vcard.search\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"totalSessionCount\":{\"value\":0},\"backends.mod_pubsub_db.calls.delete_node\":{\"one\":13,\"count\":13},\"backends.mod_pubsub_db.find_nodes_by_key\":{\"999\":13,\"99\":13,\"95\":13,\"90\":13,\"75\":11,\"50\":11,\"n\":3,\"min\":10,\"median\":11,\"mean\":11,\"max\":13},\"backends.mod_pubsub_db.get_item\":{\"999\":194,\"99\":194,\"95\":194,\"90\":143,\"75\":143,\"50\":102,\"n\":6,\"min\":61,\"median\":102,\"mean\":108,\"max\":194},\"backends.mod_roster.read_roster_version\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_roster.get_roster\":{\"999\":58,\"99\":58,\"95\":20,\"90\":17,\"75\":13,\"50\":10,\"n\":99,\"min\":3,\"median\":10,\"mean\":12,\"max\":58},\"backends.mod_pubsub_db.calls.set_node\":{\"one\":18,\"count\":21},\"backends.mod_muc.calls.set_nick\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.get_states_by_bare\":{\"999\":15,\"99\":15,\"95\":9,\"90\":9,\"75\":7,\"50\":6,\"n\":32,\"min\":2,\"median\":6,\"mean\":7,\"max\":15},\"backends.mod_roster.calls.del_roster_t\":{\"one\":0,\"count\":0},\"processQueueLengths\":{\"total\":0,\"regular\":0,\"fsm\":0},\"backends.mod_pubsub_db.delete_node\":{\"999\":35,\"99\":35,\"95\":30,\"90\":30,\"75\":26,\"50\":22,\"n\":11,\"min\":16,\"median\":22,\"mean\":22,\"max\":35},\"backends.mod_offline.write_messages\":{\"999\":174,\"99\":174,\"95\":174,\"90\":174,\"75\":140,\"50\":140,\"n\":3,\"min\":107,\"median\":140,\"mean\":140,\"max\":174},\"mod_muc.deep_hibernations\":{\"one\":0,\"count\":0},\"backends.mod_private.calls.multi_get_data\":{\"one\":12,\"count\":12},\"backends.mod_pubsub_db.calls.create_node\":{\"one\":18,\"count\":21},\"backends.mod_pubsub_db.calls.get_subnodes\":{\"one\":0,\"count\":0},\"mod_muc.process_recreations\":{\"one\":0,\"count\":0},\"clusterSize\":{\"value\":1},\"backends.mod_roster.calls.roster_subscribe_t\":{\"one\":20,\"count\":90},\"backends.mod_vcard.set_vcard\":{\"999\":183,\"99\":183,\"95\":183,\"90\":183,\"75\":183,\"50\":183,\"n\":3,\"min\":183,\"median\":183,\"mean\":183,\"max\":183},\"backends.mod_muc.get_nick\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.calls.del_item\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.write_roster_version\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.get_states_by_lus\":{\"one\":3,\"count\":3},\"backends.mod_roster.calls.update_roster_t\":{\"one\":0,\"count\":0},\"backends.mod_roster.update_roster_t\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.calls.set_item\":{\"one\":0,\"count\":0},\"data.xmpp.sent.compressed_size\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.del_node\":{\"999\":62,\"99\":62,\"95\":60,\"90\":60,\"75\":51,\"50\":32,\"n\":11,\"min\":15,\"median\":32,\"mean\":32,\"max\":62},\"backends.mod_vcard.get_vcard\":{\"999\":234,\"99\":234,\"95\":234,\"90\":198,\"75\":154,\"50\":135,\"n\":29,\"min\":44,\"median\":135,\"mean\":123,\"max\":234},\"cache.unique_sessions_number\":{\"value\":0,\"ms_since_reset\":124025},\"backends.mod_private.calls.multi_set_data\":{\"one\":14,\"count\":14},\"backends.mod_muc.store_room\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.calls.add_item\":{\"one\":7,\"count\":13},\"erlang.memory\":{\"total\":126986280,\"system\":93018368,\"processes_used\":34343632,\"ets\":15629424,\"binary\":975440,\"atom_used\":1268676},\"backends.mod_vcard.calls.get_vcard\":{\"one\":29,\"count\":35},\"data.xmpp.received.compressed_size\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"erlang.system_info\":{\"process_limit\":262144,\"process_count\":2471,\"port_limit\":65536,\"port_count\":37,\"ets_limit\":8192},\"backends.mod_pubsub_db.calls.del_items\":{\"one\":7,\"count\":13},\"tcpPortsUsed\":{\"value\":31},\"uniqueSessionCount\":{\"value\":0},\"backends.mod_private.multi_get_data\":{\"999\":118,\"99\":118,\"95\":118,\"90\":118,\"75\":46,\"50\":31,\"n\":9,\"min\":15,\"median\":31,\"mean\":49,\"max\":118},\"backends.mod_offline.calls.write_messages\":{\"one\":2,\"count\":4},\"backends.mod_pubsub_db.get_own_nodes_states\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.get_states_by_lus\":{\"999\":9,\"99\":9,\"95\":9,\"90\":9,\"75\":5,\"50\":5,\"n\":3,\"min\":2,\"median\":5,\"mean\":5,\"max\":9},\"backends.mod_last.calls.get_last\":{\"one\":19,\"count\":19},\"backends.mod_pubsub_db.find_node_by_id\":{\"999\":9,\"99\":9,\"95\":9,\"90\":6,\"75\":6,\"50\":3,\"n\":6,\"min\":2,\"median\":3,\"mean\":5,\"max\":9},\"backends.mod_muc.restore_room\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_roster.get_roster_entry\":{\"999\":95,\"99\":95,\"95\":55,\"90\":55,\"75\":44,\"50\":30,\"n\":14,\"min\":6,\"median\":30,\"mean\":33,\"max\":95},\"backends.mod_muc.can_use_nick\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_roster.calls.get_roster\":{\"one\":168,\"count\":265},\"backends.mod_roster.write_roster_version\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc.calls.can_use_nick\":{\"one\":0,\"count\":0},\"nodeSessionCount\":{\"value\":0},\"backends.mod_pubsub_db.add_item\":{\"999\":141,\"99\":141,\"95\":141,\"90\":141,\"75\":141,\"50\":71,\"n\":6,\"min\":33,\"median\":71,\"mean\":83,\"max\":141},\"backends.mod_pubsub_db.get_state\":{\"999\":18,\"99\":18,\"95\":18,\"90\":16,\"75\":12,\"50\":7,\"n\":8,\"min\":1,\"median\":7,\"mean\":7,\"max\":18},\"backends.mod_last.set_last_info\":{\"999\":169,\"99\":169,\"95\":145,\"90\":145,\"75\":135,\"50\":114,\"n\":15,\"min\":62,\"median\":114,\"mean\":109,\"max\":169},\"data.xmpp.sent.encrypted_size\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_vcard.calls.set_vcard\":{\"one\":1,\"count\":2},\"backends.mod_pubsub_db.get_subnodes\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.get_states\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc.calls.get_nick\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.set_node\":{\"999\":205,\"99\":205,\"95\":205,\"90\":205,\"75\":146,\"50\":127,\"n\":12,\"min\":89,\"median\":127,\"mean\":135,\"max\":205},\"backends.mod_pubsub_db.get_subnodes_tree\":{\"999\":55,\"99\":55,\"95\":55,\"90\":35,\"75\":26,\"50\":22,\"n\":7,\"min\":18,\"median\":22,\"mean\":24,\"max\":55},\"backends.mod_roster.del_roster_t\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_private.multi_set_data\":{\"999\":149,\"99\":149,\"95\":149,\"90\":149,\"75\":122,\"50\":90,\"n\":10,\"min\":47,\"median\":90,\"mean\":97,\"max\":149},\"backends.mod_pubsub_db.set_item\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"data.xmpp.received.xml_stanza_size\":{\"999\":5419,\"99\":4887,\"95\":2766,\"90\":309,\"75\":137,\"50\":112,\"n\":284,\"min\":11,\"median\":112,\"mean\":418,\"max\":5419},\"backends.mod_offline.pop_messages\":{\"999\":1861,\"99\":1861,\"95\":1861,\"90\":413,\"75\":248,\"50\":215,\"n\":26,\"min\":117,\"median\":215,\"mean\":318,\"max\":1861},\"backends.mod_pubsub_db.calls.get_parentnodes_tree\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.del_items\":{\"999\":1,\"99\":1,\"95\":1,\"90\":1,\"75\":1,\"50\":0,\"n\":6,\"min\":0,\"median\":0,\"mean\":0,\"max\":1},\"data.xmpp.sent.xml_stanza_size\":{\"999\":8126,\"99\":8091,\"95\":1446,\"90\":389,\"75\":251,\"50\":173,\"n\":349,\"min\":16,\"median\":173,\"mean\":517,\"max\":8126},\"backends.mod_pubsub_db.calls.get_item\":{\"one\":7,\"count\":13},\"mod_muc.hibernations\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.get_states_by_full\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.del_item\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.calls.find_node_by_id\":{\"one\":10,\"count\":14},\"backends.mod_pubsub_db.calls.get_state\":{\"one\":14,\"count\":26},\"nodeUpTime\":{\"value\":225},\"mod_muc.online_rooms\":{\"value\":0},\"backends.mod_vcard.calls.search\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.get_parentnodes_tree\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc.calls.restore_room\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.get_states_by_bare\":{\"one\":64,\"count\":66},\"routingErrors\":{\"one\":0,\"count\":0},\"backends.mod_last.get_last\":{\"999\":6,\"99\":6,\"95\":5,\"90\":5,\"75\":2,\"50\":1,\"n\":11,\"min\":1,\"median\":1,\"mean\":2,\"max\":6},\"backends.mod_pubsub_db.calls.del_node\":{\"one\":13,\"count\":13},\"backends.mod_roster.calls.get_roster_entry\":{\"one\":27,\"count\":97},\"backends.mod_muc.get_rooms\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.create_node\":{\"999\":69,\"99\":69,\"95\":69,\"90\":69,\"75\":28,\"50\":27,\"n\":12,\"min\":18,\"median\":27,\"mean\":33,\"max\":69}}}">>,
         11098,6196}
Params: #{body => <<>>,method => <<"GET">>,path => <<"/api/metrics/global/">>,
          port => 5288,return_headers => true,return_maps => true,
          role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-01-27 15:28:22.679 ***
REST request:
Code: 200
Req: {<0.18704.0>,<<"/api/metrics/global/clusterSize">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"7a30feac3952c29b">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:28:21 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"metric\":{\"value\":2}}">>,160,526}
Params: #{body => <<>>,method => <<"GET">>,
          path => <<"/api/metrics/global/clusterSize">>,port => 5288,
          return_headers => true,return_maps => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-01-27 15:28:22.688 ***
REST request:
Code: 200
Req: {<0.18706.0>,<<"/api/metrics/global/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"acf4c332d3107bc0">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:28:21 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"10954">>}],
         <<"{\"metrics\":{\"backends.mod_muc.forget_room\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"mod_muc.hibernated_rooms\":{\"value\":0},\"backends.mod_muc.calls.store_room\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.get_rooms\":{\"one\":0,\"count\":0},\"data.xmpp.received.encrypted_size\":{\"999\":388,\"99\":388,\"95\":367,\"90\":270,\"75\":191,\"50\":132,\"n\":20,\"min\":33,\"median\":132,\"mean\":171,\"max\":388},\"backends.mod_pubsub_db.get_items\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_offline.calls.pop_messages\":{\"one\":28,\"count\":37},\"data.dist\":{\"send_pend\":0,\"send_oct\":3068425,\"send_max\":82637,\"send_cnt\":16402,\"recv_oct\":7052880,\"recv_max\":1460,\"recv_cnt\":19346,\"connections\":3},\"backends.mod_pubsub_db.calls.get_states\":{\"one\":0,\"count\":0},\"register_command\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.get_states_by_full\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.calls.get_subnodes_tree\":{\"one\":8,\"count\":9},\"unregister_command\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.get_items\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.find_nodes_by_key\":{\"one\":2,\"count\":2},\"node_cleanup\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.unset_nick\":{\"one\":0,\"count\":0},\"backends.mod_muc.unset_nick\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.calls.get_own_nodes_states\":{\"one\":0,\"count\":0},\"backends.mod_roster.roster_subscribe_t\":{\"999\":247,\"99\":247,\"95\":247,\"90\":63,\"75\":53,\"50\":24,\"n\":10,\"min\":19,\"median\":24,\"mean\":40,\"max\":247},\"backends.mod_roster.get_subscription_lists\":{\"999\":55,\"99\":36,\"95\":22,\"90\":15,\"75\":13,\"50\":10,\"n\":94,\"min\":3,\"median\":10,\"mean\":12,\"max\":55},\"backends.mod_pubsub_db.find_node_by_name\":{\"999\":63,\"99\":63,\"95\":30,\"90\":22,\"75\":18,\"50\":8,\"n\":27,\"min\":1,\"median\":8,\"mean\":14,\"max\":63},\"backends.mod_muc.calls.forget_room\":{\"one\":0,\"count\":0},\"backends.mod_last.calls.set_last_info\":{\"one\":22,\"count\":22},\"backends.mod_roster.calls.read_roster_version\":{\"one\":0,\"count\":0},\"backends.mod_muc.set_nick\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.calls.find_node_by_name\":{\"one\":72,\"count\":98},\"backends.mod_roster.calls.get_subscription_lists\":{\"one\":216,\"count\":355},\"backends.mod_vcard.search\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"totalSessionCount\":{\"value\":0},\"backends.mod_pubsub_db.calls.delete_node\":{\"one\":12,\"count\":13},\"backends.mod_pubsub_db.find_nodes_by_key\":{\"999\":13,\"99\":13,\"95\":13,\"90\":13,\"75\":11,\"50\":11,\"n\":3,\"min\":10,\"median\":11,\"mean\":11,\"max\":13},\"backends.mod_pubsub_db.get_item\":{\"999\":194,\"99\":194,\"95\":194,\"90\":143,\"75\":143,\"50\":102,\"n\":6,\"min\":61,\"median\":102,\"mean\":108,\"max\":194},\"backends.mod_roster.read_roster_version\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_roster.get_roster\":{\"999\":27,\"99\":24,\"95\":19,\"90\":17,\"75\":13,\"50\":10,\"n\":95,\"min\":3,\"median\":10,\"mean\":11,\"max\":27},\"backends.mod_pubsub_db.calls.set_node\":{\"one\":17,\"count\":21},\"backends.mod_muc.calls.set_nick\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.get_states_by_bare\":{\"999\":15,\"99\":15,\"95\":10,\"90\":9,\"75\":8,\"50\":7,\"n\":30,\"min\":2,\"median\":7,\"mean\":7,\"max\":15},\"backends.mod_roster.calls.del_roster_t\":{\"one\":0,\"count\":0},\"processQueueLengths\":{\"total\":0,\"regular\":0,\"fsm\":0},\"backends.mod_pubsub_db.delete_node\":{\"999\":35,\"99\":35,\"95\":35,\"90\":30,\"75\":27,\"50\":22,\"n\":10,\"min\":16,\"median\":22,\"mean\":23,\"max\":35},\"backends.mod_offline.write_messages\":{\"999\":174,\"99\":174,\"95\":174,\"90\":174,\"75\":140,\"50\":140,\"n\":3,\"min\":107,\"median\":140,\"mean\":140,\"max\":174},\"mod_muc.deep_hibernations\":{\"one\":0,\"count\":0},\"backends.mod_private.calls.multi_get_data\":{\"one\":12,\"count\":12},\"backends.mod_pubsub_db.calls.create_node\":{\"one\":17,\"count\":21},\"backends.mod_pubsub_db.calls.get_subnodes\":{\"one\":0,\"count\":0},\"mod_muc.process_recreations\":{\"one\":0,\"count\":0},\"clusterSize\":{\"value\":2},\"backends.mod_roster.calls.roster_subscribe_t\":{\"one\":20,\"count\":90},\"backends.mod_vcard.set_vcard\":{\"999\":183,\"99\":183,\"95\":183,\"90\":183,\"75\":183,\"50\":183,\"n\":3,\"min\":183,\"median\":183,\"mean\":183,\"max\":183},\"backends.mod_muc.get_nick\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.calls.del_item\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.write_roster_version\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.get_states_by_lus\":{\"one\":3,\"count\":3},\"backends.mod_roster.calls.update_roster_t\":{\"one\":0,\"count\":0},\"backends.mod_roster.update_roster_t\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.calls.set_item\":{\"one\":0,\"count\":0},\"data.xmpp.sent.compressed_size\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.del_node\":{\"999\":62,\"99\":62,\"95\":62,\"90\":60,\"75\":52,\"50\":19,\"n\":10,\"min\":15,\"median\":19,\"mean\":29,\"max\":62},\"backends.mod_vcard.get_vcard\":{\"999\":234,\"99\":234,\"95\":234,\"90\":187,\"75\":147,\"50\":123,\"n\":27,\"min\":44,\"median\":123,\"mean\":117,\"max\":234},\"cache.unique_sessions_number\":{\"value\":0,\"ms_since_reset\":125023},\"backends.mod_private.calls.multi_set_data\":{\"one\":14,\"count\":14},\"backends.mod_muc.store_room\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.calls.add_item\":{\"one\":7,\"count\":13},\"erlang.memory\":{\"total\":127341552,\"system\":92994048,\"processes_used\":34721680,\"ets\":15645080,\"binary\":931200,\"atom_used\":1268676},\"backends.mod_vcard.calls.get_vcard\":{\"one\":27,\"count\":35},\"data.xmpp.received.compressed_size\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"erlang.system_info\":{\"process_limit\":262144,\"process_count\":2471,\"port_limit\":65536,\"port_count\":37,\"ets_limit\":8192},\"backends.mod_pubsub_db.calls.del_items\":{\"one\":7,\"count\":13},\"tcpPortsUsed\":{\"value\":31},\"uniqueSessionCount\":{\"value\":0},\"backends.mod_private.multi_get_data\":{\"999\":118,\"99\":118,\"95\":118,\"90\":118,\"75\":46,\"50\":31,\"n\":9,\"min\":15,\"median\":31,\"mean\":49,\"max\":118},\"backends.mod_offline.calls.write_messages\":{\"one\":2,\"count\":4},\"backends.mod_pubsub_db.get_own_nodes_states\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.get_states_by_lus\":{\"999\":9,\"99\":9,\"95\":9,\"90\":9,\"75\":5,\"50\":5,\"n\":3,\"min\":2,\"median\":5,\"mean\":5,\"max\":9},\"backends.mod_last.calls.get_last\":{\"one\":19,\"count\":19},\"backends.mod_pubsub_db.find_node_by_id\":{\"999\":9,\"99\":9,\"95\":9,\"90\":6,\"75\":6,\"50\":3,\"n\":6,\"min\":2,\"median\":3,\"mean\":5,\"max\":9},\"backends.mod_muc.restore_room\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_roster.get_roster_entry\":{\"999\":95,\"99\":95,\"95\":55,\"90\":55,\"75\":44,\"50\":30,\"n\":14,\"min\":6,\"median\":30,\"mean\":33,\"max\":95},\"backends.mod_muc.can_use_nick\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_roster.calls.get_roster\":{\"one\":164,\"count\":265},\"backends.mod_roster.write_roster_version\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc.calls.can_use_nick\":{\"one\":0,\"count\":0},\"nodeSessionCount\":{\"value\":0},\"backends.mod_pubsub_db.add_item\":{\"999\":141,\"99\":141,\"95\":141,\"90\":141,\"75\":141,\"50\":71,\"n\":6,\"min\":33,\"median\":71,\"mean\":83,\"max\":141},\"backends.mod_pubsub_db.get_state\":{\"999\":18,\"99\":18,\"95\":18,\"90\":16,\"75\":12,\"50\":7,\"n\":8,\"min\":1,\"median\":7,\"mean\":7,\"max\":18},\"backends.mod_last.set_last_info\":{\"999\":169,\"99\":169,\"95\":145,\"90\":145,\"75\":135,\"50\":114,\"n\":15,\"min\":62,\"median\":114,\"mean\":109,\"max\":169},\"data.xmpp.sent.encrypted_size\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_vcard.calls.set_vcard\":{\"one\":1,\"count\":2},\"backends.mod_pubsub_db.get_subnodes\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.get_states\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc.calls.get_nick\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.set_node\":{\"999\":205,\"99\":205,\"95\":205,\"90\":205,\"75\":151,\"50\":144,\"n\":10,\"min\":89,\"median\":144,\"mean\":137,\"max\":205},\"backends.mod_pubsub_db.get_subnodes_tree\":{\"999\":55,\"99\":55,\"95\":55,\"90\":35,\"75\":35,\"50\":22,\"n\":6,\"min\":18,\"median\":22,\"mean\":25,\"max\":55},\"backends.mod_roster.del_roster_t\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_private.multi_set_data\":{\"999\":149,\"99\":149,\"95\":149,\"90\":149,\"75\":122,\"50\":90,\"n\":10,\"min\":47,\"median\":90,\"mean\":97,\"max\":149},\"backends.mod_pubsub_db.set_item\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"data.xmpp.received.xml_stanza_size\":{\"999\":5419,\"99\":4887,\"95\":2766,\"90\":305,\"75\":137,\"50\":112,\"n\":277,\"min\":11,\"median\":112,\"mean\":425,\"max\":5419},\"backends.mod_offline.pop_messages\":{\"999\":900,\"99\":900,\"95\":900,\"90\":413,\"75\":242,\"50\":203,\"n\":24,\"min\":117,\"median\":203,\"mean\":252,\"max\":900},\"backends.mod_pubsub_db.calls.get_parentnodes_tree\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.del_items\":{\"999\":1,\"99\":1,\"95\":1,\"90\":1,\"75\":1,\"50\":0,\"n\":6,\"min\":0,\"median\":0,\"mean\":0,\"max\":1},\"data.xmpp.sent.xml_stanza_size\":{\"999\":8126,\"99\":8091,\"95\":1446,\"90\":391,\"75\":250,\"50\":173,\"n\":341,\"min\":16,\"median\":173,\"mean\":524,\"max\":8126},\"backends.mod_pubsub_db.calls.get_item\":{\"one\":7,\"count\":13},\"mod_muc.hibernations\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.get_states_by_full\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.del_item\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.calls.find_node_by_id\":{\"one\":10,\"count\":14},\"backends.mod_pubsub_db.calls.get_state\":{\"one\":14,\"count\":26},\"nodeUpTime\":{\"value\":226},\"mod_muc.online_rooms\":{\"value\":0},\"backends.mod_vcard.calls.search\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.get_parentnodes_tree\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc.calls.restore_room\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.get_states_by_bare\":{\"one\":60,\"count\":66},\"routingErrors\":{\"one\":0,\"count\":0},\"backends.mod_last.get_last\":{\"999\":6,\"99\":6,\"95\":5,\"90\":5,\"75\":2,\"50\":1,\"n\":11,\"min\":1,\"median\":1,\"mean\":2,\"max\":6},\"backends.mod_pubsub_db.calls.del_node\":{\"one\":12,\"count\":13},\"backends.mod_roster.calls.get_roster_entry\":{\"one\":27,\"count\":97},\"backends.mod_muc.get_rooms\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.create_node\":{\"999\":69,\"99\":69,\"95\":69,\"90\":69,\"75\":43,\"50\":28,\"n\":10,\"min\":21,\"median\":28,\"mean\":34,\"max\":69}}}">>,
         11095,8556}
Params: #{body => <<>>,method => <<"GET">>,path => <<"/api/metrics/global/">>,
          port => 5288,return_headers => true,return_maps => true,
          role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-01-27 15:28:23.049 ***
REST request:
Code: 200
Req: {<0.18708.0>,<<"/api/metrics/global/clusterSize">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"3849a38937974bdb">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:28:22 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"metric\":{\"value\":1}}">>,160,463}
Params: #{body => <<>>,method => <<"GET">>,
          path => <<"/api/metrics/global/clusterSize">>,port => 5288,
          return_headers => true,return_maps => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-01-27 15:28:23.077 ***
REST request:
Code: 200
Req: {<0.18710.0>,<<"/api/metrics/global/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"c9aa380ef561760a">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:28:22 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"10954">>}],
         <<"{\"metrics\":{\"backends.mod_muc.forget_room\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"mod_muc.hibernated_rooms\":{\"value\":0},\"backends.mod_muc.calls.store_room\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.get_rooms\":{\"one\":0,\"count\":0},\"data.xmpp.received.encrypted_size\":{\"999\":388,\"99\":388,\"95\":367,\"90\":270,\"75\":191,\"50\":132,\"n\":20,\"min\":33,\"median\":132,\"mean\":171,\"max\":388},\"backends.mod_pubsub_db.get_items\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_offline.calls.pop_messages\":{\"one\":26,\"count\":37},\"data.dist\":{\"send_pend\":0,\"send_oct\":3069450,\"send_max\":82637,\"send_cnt\":16409,\"recv_oct\":7054247,\"recv_max\":1460,\"recv_cnt\":19356,\"connections\":3},\"backends.mod_pubsub_db.calls.get_states\":{\"one\":0,\"count\":0},\"register_command\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.get_states_by_full\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.calls.get_subnodes_tree\":{\"one\":7,\"count\":9},\"unregister_command\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.get_items\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.find_nodes_by_key\":{\"one\":2,\"count\":2},\"node_cleanup\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.unset_nick\":{\"one\":0,\"count\":0},\"backends.mod_muc.unset_nick\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.calls.get_own_nodes_states\":{\"one\":0,\"count\":0},\"backends.mod_roster.roster_subscribe_t\":{\"999\":247,\"99\":247,\"95\":247,\"90\":63,\"75\":53,\"50\":24,\"n\":10,\"min\":19,\"median\":24,\"mean\":40,\"max\":247},\"backends.mod_roster.get_subscription_lists\":{\"999\":55,\"99\":36,\"95\":22,\"90\":15,\"75\":13,\"50\":10,\"n\":94,\"min\":3,\"median\":10,\"mean\":12,\"max\":55},\"backends.mod_pubsub_db.find_node_by_name\":{\"999\":63,\"99\":63,\"95\":30,\"90\":22,\"75\":18,\"50\":8,\"n\":27,\"min\":1,\"median\":8,\"mean\":14,\"max\":63},\"backends.mod_muc.calls.forget_room\":{\"one\":0,\"count\":0},\"backends.mod_last.calls.set_last_info\":{\"one\":22,\"count\":22},\"backends.mod_roster.calls.read_roster_version\":{\"one\":0,\"count\":0},\"backends.mod_muc.set_nick\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.calls.find_node_by_name\":{\"one\":62,\"count\":98},\"backends.mod_roster.calls.get_subscription_lists\":{\"one\":212,\"count\":355},\"backends.mod_vcard.search\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"totalSessionCount\":{\"value\":0},\"backends.mod_pubsub_db.calls.delete_node\":{\"one\":11,\"count\":13},\"backends.mod_pubsub_db.find_nodes_by_key\":{\"999\":13,\"99\":13,\"95\":13,\"90\":13,\"75\":11,\"50\":11,\"n\":3,\"min\":10,\"median\":11,\"mean\":11,\"max\":13},\"backends.mod_pubsub_db.get_item\":{\"999\":194,\"99\":194,\"95\":194,\"90\":143,\"75\":143,\"50\":102,\"n\":6,\"min\":61,\"median\":102,\"mean\":108,\"max\":194},\"backends.mod_roster.read_roster_version\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_roster.get_roster\":{\"999\":27,\"99\":24,\"95\":19,\"90\":17,\"75\":13,\"50\":10,\"n\":95,\"min\":3,\"median\":10,\"mean\":11,\"max\":27},\"backends.mod_pubsub_db.calls.set_node\":{\"one\":13,\"count\":21},\"backends.mod_muc.calls.set_nick\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.get_states_by_bare\":{\"999\":15,\"99\":15,\"95\":10,\"90\":9,\"75\":8,\"50\":7,\"n\":30,\"min\":2,\"median\":7,\"mean\":7,\"max\":15},\"backends.mod_roster.calls.del_roster_t\":{\"one\":0,\"count\":0},\"processQueueLengths\":{\"total\":0,\"regular\":0,\"fsm\":0},\"backends.mod_pubsub_db.delete_node\":{\"999\":35,\"99\":35,\"95\":35,\"90\":30,\"75\":27,\"50\":22,\"n\":10,\"min\":16,\"median\":22,\"mean\":23,\"max\":35},\"backends.mod_offline.write_messages\":{\"999\":174,\"99\":174,\"95\":174,\"90\":174,\"75\":140,\"50\":140,\"n\":3,\"min\":107,\"median\":140,\"mean\":140,\"max\":174},\"mod_muc.deep_hibernations\":{\"one\":0,\"count\":0},\"backends.mod_private.calls.multi_get_data\":{\"one\":12,\"count\":12},\"backends.mod_pubsub_db.calls.create_node\":{\"one\":13,\"count\":21},\"backends.mod_pubsub_db.calls.get_subnodes\":{\"one\":0,\"count\":0},\"mod_muc.process_recreations\":{\"one\":0,\"count\":0},\"clusterSize\":{\"value\":1},\"backends.mod_roster.calls.roster_subscribe_t\":{\"one\":20,\"count\":90},\"backends.mod_vcard.set_vcard\":{\"999\":183,\"99\":183,\"95\":183,\"90\":183,\"75\":183,\"50\":183,\"n\":3,\"min\":183,\"median\":183,\"mean\":183,\"max\":183},\"backends.mod_muc.get_nick\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.calls.del_item\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.write_roster_version\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.get_states_by_lus\":{\"one\":3,\"count\":3},\"backends.mod_roster.calls.update_roster_t\":{\"one\":0,\"count\":0},\"backends.mod_roster.update_roster_t\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.calls.set_item\":{\"one\":0,\"count\":0},\"data.xmpp.sent.compressed_size\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.del_node\":{\"999\":62,\"99\":62,\"95\":62,\"90\":60,\"75\":52,\"50\":19,\"n\":10,\"min\":15,\"median\":19,\"mean\":29,\"max\":62},\"backends.mod_vcard.get_vcard\":{\"999\":234,\"99\":234,\"95\":234,\"90\":187,\"75\":147,\"50\":123,\"n\":27,\"min\":44,\"median\":123,\"mean\":117,\"max\":234},\"cache.unique_sessions_number\":{\"value\":0,\"ms_since_reset\":125412},\"backends.mod_private.calls.multi_set_data\":{\"one\":14,\"count\":14},\"backends.mod_muc.store_room\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.calls.add_item\":{\"one\":7,\"count\":13},\"erlang.memory\":{\"total\":127500792,\"system\":93021928,\"processes_used\":34568856,\"ets\":15643424,\"binary\":962416,\"atom_used\":1268676},\"backends.mod_vcard.calls.get_vcard\":{\"one\":26,\"count\":35},\"data.xmpp.received.compressed_size\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"erlang.system_info\":{\"process_limit\":262144,\"process_count\":2471,\"port_limit\":65536,\"port_count\":37,\"ets_limit\":8192},\"backends.mod_pubsub_db.calls.del_items\":{\"one\":7,\"count\":13},\"tcpPortsUsed\":{\"value\":31},\"uniqueSessionCount\":{\"value\":0},\"backends.mod_private.multi_get_data\":{\"999\":118,\"99\":118,\"95\":118,\"90\":118,\"75\":46,\"50\":31,\"n\":9,\"min\":15,\"median\":31,\"mean\":49,\"max\":118},\"backends.mod_offline.calls.write_messages\":{\"one\":2,\"count\":4},\"backends.mod_pubsub_db.get_own_nodes_states\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.get_states_by_lus\":{\"999\":9,\"99\":9,\"95\":9,\"90\":9,\"75\":5,\"50\":5,\"n\":3,\"min\":2,\"median\":5,\"mean\":5,\"max\":9},\"backends.mod_last.calls.get_last\":{\"one\":19,\"count\":19},\"backends.mod_pubsub_db.find_node_by_id\":{\"999\":9,\"99\":9,\"95\":9,\"90\":6,\"75\":6,\"50\":3,\"n\":6,\"min\":2,\"median\":3,\"mean\":5,\"max\":9},\"backends.mod_muc.restore_room\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_roster.get_roster_entry\":{\"999\":95,\"99\":95,\"95\":55,\"90\":55,\"75\":44,\"50\":30,\"n\":14,\"min\":6,\"median\":30,\"mean\":33,\"max\":95},\"backends.mod_muc.can_use_nick\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_roster.calls.get_roster\":{\"one\":161,\"count\":265},\"backends.mod_roster.write_roster_version\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc.calls.can_use_nick\":{\"one\":0,\"count\":0},\"nodeSessionCount\":{\"value\":0},\"backends.mod_pubsub_db.add_item\":{\"999\":141,\"99\":141,\"95\":141,\"90\":141,\"75\":141,\"50\":71,\"n\":6,\"min\":33,\"median\":71,\"mean\":83,\"max\":141},\"backends.mod_pubsub_db.get_state\":{\"999\":18,\"99\":18,\"95\":18,\"90\":16,\"75\":12,\"50\":7,\"n\":8,\"min\":1,\"median\":7,\"mean\":7,\"max\":18},\"backends.mod_last.set_last_info\":{\"999\":169,\"99\":169,\"95\":145,\"90\":145,\"75\":135,\"50\":114,\"n\":15,\"min\":62,\"median\":114,\"mean\":109,\"max\":169},\"data.xmpp.sent.encrypted_size\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_vcard.calls.set_vcard\":{\"one\":1,\"count\":2},\"backends.mod_pubsub_db.get_subnodes\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.get_states\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc.calls.get_nick\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.set_node\":{\"999\":205,\"99\":205,\"95\":205,\"90\":205,\"75\":151,\"50\":144,\"n\":10,\"min\":89,\"median\":144,\"mean\":137,\"max\":205},\"backends.mod_pubsub_db.get_subnodes_tree\":{\"999\":55,\"99\":55,\"95\":55,\"90\":35,\"75\":35,\"50\":22,\"n\":6,\"min\":18,\"median\":22,\"mean\":25,\"max\":55},\"backends.mod_roster.del_roster_t\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_private.multi_set_data\":{\"999\":149,\"99\":149,\"95\":149,\"90\":149,\"75\":122,\"50\":90,\"n\":10,\"min\":47,\"median\":90,\"mean\":97,\"max\":149},\"backends.mod_pubsub_db.set_item\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"data.xmpp.received.xml_stanza_size\":{\"999\":5419,\"99\":4887,\"95\":2766,\"90\":305,\"75\":137,\"50\":112,\"n\":277,\"min\":11,\"median\":112,\"mean\":425,\"max\":5419},\"backends.mod_offline.pop_messages\":{\"999\":900,\"99\":900,\"95\":900,\"90\":413,\"75\":242,\"50\":203,\"n\":24,\"min\":117,\"median\":203,\"mean\":252,\"max\":900},\"backends.mod_pubsub_db.calls.get_parentnodes_tree\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.del_items\":{\"999\":1,\"99\":1,\"95\":1,\"90\":1,\"75\":1,\"50\":0,\"n\":6,\"min\":0,\"median\":0,\"mean\":0,\"max\":1},\"data.xmpp.sent.xml_stanza_size\":{\"999\":8126,\"99\":8091,\"95\":1446,\"90\":391,\"75\":250,\"50\":173,\"n\":341,\"min\":16,\"median\":173,\"mean\":524,\"max\":8126},\"backends.mod_pubsub_db.calls.get_item\":{\"one\":7,\"count\":13},\"mod_muc.hibernations\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.get_states_by_full\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.del_item\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.calls.find_node_by_id\":{\"one\":10,\"count\":14},\"backends.mod_pubsub_db.calls.get_state\":{\"one\":14,\"count\":26},\"nodeUpTime\":{\"value\":226},\"mod_muc.online_rooms\":{\"value\":0},\"backends.mod_vcard.calls.search\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.get_parentnodes_tree\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc.calls.restore_room\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.get_states_by_bare\":{\"one\":56,\"count\":66},\"routingErrors\":{\"one\":0,\"count\":0},\"backends.mod_last.get_last\":{\"999\":6,\"99\":6,\"95\":5,\"90\":5,\"75\":2,\"50\":1,\"n\":11,\"min\":1,\"median\":1,\"mean\":2,\"max\":6},\"backends.mod_pubsub_db.calls.del_node\":{\"one\":11,\"count\":13},\"backends.mod_roster.calls.get_roster_entry\":{\"one\":27,\"count\":97},\"backends.mod_muc.get_rooms\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.create_node\":{\"999\":69,\"99\":69,\"95\":69,\"90\":69,\"75\":43,\"50\":28,\"n\":10,\"min\":21,\"median\":28,\"mean\":34,\"max\":69}}}">>,
         11095,26601}
Params: #{body => <<>>,method => <<"GET">>,path => <<"/api/metrics/global/">>,
          port => 5288,return_headers => true,return_maps => true,
          role => client,
          server => #{node => mongooseim@localhost}}

*** CT 2022-01-27 15:28:23.080 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_604.html
*** CT 2022-01-27 15:28:23.080 *** View log from node mongooseim@localhost when finished mongooseim@localhost_895.html



=== Ended at 2022-01-27 15:28:23
=== successfully completed test case
=== === Returned value: ok


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