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

=== Config value:

    [{watchdog,<0.63317.0>},
     {preset,"pgsql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/metrics_api_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@528a5a4ce401.2024-04-09_11.36.09/big_tests.tests.metrics_api_SUITE.logs/run.2024-04-09_11.46.06/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@528a5a4ce401.2024-04-09_11.36.09/big_tests.tests.metrics_api_SUITE.logs/run.2024-04-09_11.46.06/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,iqdisc => parallel,backend => rdbms},
        mod_roster =>
            #{iqdisc => one_queue,backend => rdbms,versioning => false,
              store_current_id => false},
        mod_register =>
            #{access => register,iqdisc => one_queue,
              registration_watchers => [],password_strength => 0,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
        mod_sic => #{iqdisc => one_queue},
        mod_amp => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_presence => #{},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              buffer_max => 100,ack_freq => 1,resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_carboncopy => #{iqdisc => no_queue}}},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"domain.example.com">>},
                           {host,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@528a5a4ce401.2024-04-09_11.36.09"

=== Started at 2024-04-09 11:46:12


*** CT 2024-04-09 11:46:12.358 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2313.html

*** User 2024-04-09 11:46:12.362 ***🔗
REST request:
Code: 200
Req: {<0.63369.0>,<<"/api/metrics/global/clusterSize">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"c4e2ba6142444e1b">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 09 Apr 2024 11:46:11 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"metric\":{\"value\":1}}">>,146,354}
Params: #{path => <<"/api/metrics/global/clusterSize">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,return_maps => true,
          return_headers => true}


*** User 2024-04-09 11:46:12.370 ***🔗
REST request:
Code: 200
Req: {<0.63371.0>,<<"/api/metrics/global/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"1ff22f2f5afd6bcf">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 09 Apr 2024 11:46:11 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"12334">>}],
         <<"{\"metrics\":{\"backends.mod_muc.forget_room\":{\"n\":77,\"min\":612,\"median\":1333,\"mean\":4289,\"max\":64550,\"999\":64550,\"99\":64550,\"95\":21827,\"90\":3552,\"75\":2308,\"50\":1333},\"mod_muc.hibernated_rooms\":{\"value\":0},\"backends.mongoose_rdbms.query\":{\"n\":1016,\"min\":60,\"median\":226,\"mean\":703,\"max\":62437,\"999\":54444,\"99\":8718,\"95\":740,\"90\":532,\"75\":368,\"50\":226},\"backends.mod_muc_light_db.calls.get_config\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.store_room\":{\"one\":152,\"count\":266},\"backends.mod_muc.calls.get_rooms\":{\"one\":0,\"count\":0},\"data.xmpp.sent.component\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.get_blocking\":{\"one\":32,\"count\":118},\"backends.mod_muc_light_db.destroy_room\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"data.xmpp.sent.c2s.websocket\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.get_aff_users\":{\"n\":63,\"min\":161,\"median\":473,\"mean\":511,\"max\":1109,\"999\":1109,\"99\":1109,\"95\":1028,\"90\":901,\"75\":635,\"50\":473},\"backends.mod_offline.calls.pop_messages\":{\"one\":0,\"count\":305},\"data.dist\":{\"send_pend\":0,\"send_oct\":23799215,\"send_max\":58190,\"send_cnt\":95329,\"recv_oct\":16755902,\"recv_max\":70294,\"recv_cnt\":53846,\"connections\":2},\"backends.mod_muc_light_db.modify_aff_users\":{\"n\":6,\"min\":1311,\"median\":1406,\"mean\":1557,\"max\":1906,\"999\":1906,\"99\":1906,\"95\":1906,\"90\":1906,\"75\":1906,\"50\":1406},\"backends.mod_muc_light_db.get_blocking\":{\"n\":34,\"min\":175,\"median\":345,\"mean\":442,\"max\":872,\"999\":872,\"99\":872,\"95\":804,\"90\":782,\"75\":656,\"50\":345},\"backends.mod_muc_light_db.calls.get_aff_users\":{\"one\":86,\"count\":296},\"backends.mod_inbox.clear_inbox\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_muc_online.get_online_rooms\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"node_cleanup\":{\"one\":0,\"count\":2},\"backends.mod_muc.calls.unset_nick\":{\"one\":0,\"count\":0},\"backends.ejabberd_auth_anonymous.does_anonymous_user_exist\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_muc.unset_nick\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_muc_light_db.room_exists\":{\"n\":47,\"min\":149,\"median\":388,\"mean\":401,\"max\":811,\"999\":811,\"99\":811,\"95\":764,\"90\":604,\"75\":470,\"50\":388},\"backends.mod_roster.roster_subscribe_t\":{\"n\":54,\"min\":128,\"median\":366,\"mean\":2201,\"max\":48980,\"999\":48980,\"99\":43188,\"95\":722,\"90\":688,\"75\":476,\"50\":366},\"backends.mod_inbox.calls.reset_unread\":{\"one\":0,\"count\":129},\"backends.mod_roster.get_subscription_lists\":{\"n\":18,\"min\":175,\"median\":281,\"mean\":282,\"max\":350,\"999\":350,\"99\":350,\"95\":324,\"90\":324,\"75\":312,\"50\":281},\"backends.mod_muc_light_db.get_config\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_muc_light_db.calls.set_blocking\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.forget_room\":{\"one\":120,\"count\":210},\"data.xmpp.sent.c2s.bosh\":{\"one\":0,\"count\":0},\"backends.mod_inbox.calls.set_inbox_incr_unread\":{\"one\":0,\"count\":429},\"backends.mod_last.calls.set_last_info\":{\"one\":0,\"count\":11},\"data.xmpp.received.c2s.bosh\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.read_roster_version\":{\"one\":0,\"count\":0},\"backends.mod_muc.set_nick\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_roster.calls.get_subscription_lists\":{\"one\":796,\"count\":2082},\"backends.mod_vcard.search\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"totalSessionCount\":{\"value\":3},\"backends.mod_roster.read_roster_version\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_roster.get_roster\":{\"n\":23,\"min\":287,\"median\":471,\"mean\":747,\"max\":9776,\"999\":9776,\"99\":9776,\"95\":5204,\"90\":1325,\"75\":549,\"50\":471},\"backends.mod_muc_online.calls.room_destroyed\":{\"one\":176,\"count\":322},\"backends.mod_muc.calls.set_nick\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.remove_user\":{\"one\":0,\"count\":516},\"data.xmpp.received.s2s\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.del_roster_t\":{\"one\":1,\"count\":1},\"backends.mod_inbox.calls.get_entry_properties\":{\"one\":0,\"count\":2},\"backends.mod_inbox.calls.get_full_entry\":{\"one\":0,\"count\":2},\"backends.mod_muc_light_db.calls.remove_domain\":{\"one\":0,\"count\":0},\"backends.mod_inbox.remove_inbox_row\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"processQueueLengths\":{\"total\":0,\"regular\":0,\"fsm\":0},\"backends.mod_inbox.calls.remove_domain\":{\"one\":0,\"count\":0},\"backends.mod_offline.write_messages\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"mod_muc.deep_hibernations\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.modify_aff_users\":{\"one\":4,\"count\":25},\"mod_muc.process_recreations\":{\"one\":0,\"count\":0},\"clusterSize\":{\"value\":1},\"backends.mod_roster.calls.roster_subscribe_t\":{\"one\":134,\"count\":234},\"backends.mod_inbox.set_inbox\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_vcard.set_vcard\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_muc.get_nick\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.ejabberd_auth_anonymous.calls.does_anonymous_user_exist\":{\"one\":0,\"count\":0},\"backends.mod_inbox.get_full_entry\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_inbox.reset_unread\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_roster.calls.write_roster_version\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.update_roster_t\":{\"one\":7,\"count\":7},\"backends.mongoose_rdbms.execute\":{\"n\":2824,\"min\":72,\"median\":322,\"mean\":840,\"max\":62422,\"999\":19612,\"99\":8380,\"95\":1521,\"90\":694,\"75\":445,\"50\":322},\"backends.mod_roster.update_roster_t\":{\"n\":9,\"min\":576,\"median\":720,\"mean\":784,\"max\":1004,\"999\":1004,\"99\":1004,\"95\":1004,\"90\":1004,\"75\":1000,\"50\":720},\"backends.mod_vcard.get_vcard\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"cache.unique_sessions_number\":{\"value\":2,\"ms_since_reset\":147327},\"backends.mod_muc.store_room\":{\"n\":92,\"min\":747,\"median\":1279,\"mean\":2331,\"max\":46304,\"999\":46304,\"99\":46304,\"95\":4240,\"90\":2708,\"75\":1671,\"50\":1279},\"erlang.memory\":{\"total\":158610176,\"system\":96407488,\"processes_used\":62611464,\"ets\":15955504,\"binary\":1219384,\"atom_used\":1293670},\"backends.mod_vcard.calls.get_vcard\":{\"one\":0,\"count\":0},\"erlang.system_info\":{\"process_limit\":262144,\"process_count\":2012,\"port_limit\":65536,\"port_count\":36,\"ets_limit\":8192},\"backends.mod_muc_light_db.calls.create_room\":{\"one\":37,\"count\":101},\"tcpPortsUsed\":{\"value\":36},\"data.xmpp.sent.c2s.tcp\":{\"one\":4521155,\"count\":10740244},\"backends.mod_inbox.calls.set_inbox\":{\"one\":0,\"count\":274},\"uniqueSessionCount\":{\"value\":2},\"backends.mod_inbox.set_entry_properties\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_offline.calls.write_messages\":{\"one\":0,\"count\":2},\"backends.mod_muc_light_db.calls.destroy_room\":{\"one\":0,\"count\":10},\"backends.mod_last.calls.get_last\":{\"one\":0,\"count\":1},\"backends.mod_muc.restore_room\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_roster.get_roster_entry\":{\"n\":93,\"min\":131,\"median\":759,\"mean\":1628,\"max\":50285,\"999\":50285,\"99\":25733,\"95\":2250,\"90\":2120,\"75\":1088,\"50\":759},\"data.xmpp.sent.s2s\":{\"one\":0,\"count\":0},\"backends.mod_muc.can_use_nick\":{\"n\":84,\"min\":141,\"median\":564,\"mean\":2082,\"max\":46019,\"999\":46019,\"99\":46019,\"95\":2518,\"90\":1889,\"75\":981,\"50\":564},\"backends.mod_roster.calls.get_roster\":{\"one\":1110,\"count\":2501},\"backends.mod_roster.write_roster_version\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_muc.calls.can_use_nick\":{\"one\":208,\"count\":408},\"nodeSessionCount\":{\"value\":3},\"backends.mod_last.set_last_info\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"data.xmpp.received.c2s.tls\":{\"one\":0,\"count\":31663},\"backends.mod_muc_light_db.set_blocking\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_inbox.get_entry_properties\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"data.xmpp.received.c2s.websocket\":{\"one\":0,\"count\":0},\"data.xmpp.received.component\":{\"one\":0,\"count\":0},\"backends.mod_vcard.calls.set_vcard\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.get_nick\":{\"one\":0,\"count\":0},\"backends.mod_inbox.get_inbox\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_inbox.calls.set_entry_properties\":{\"one\":0,\"count\":102},\"backends.mongoose_rdbms.calls.query\":{\"one\":5752,\"count\":14392},\"backends.mod_muc_light_db.calls.get_user_rooms\":{\"one\":0,\"count\":0},\"backends.mod_inbox.remove_domain\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_roster.del_roster_t\":{\"n\":3,\"min\":473,\"median\":473,\"mean\":473,\"max\":473,\"999\":473,\"99\":473,\"95\":473,\"90\":473,\"75\":473,\"50\":473},\"data.xmpp.sent.c2s.tls\":{\"one\":0,\"count\":63814},\"backends.mod_inbox.calls.clear_inbox\":{\"one\":0,\"count\":618},\"backends.mod_inbox.calls.remove_inbox_row\":{\"one\":0,\"count\":14},\"data.xmpp.received.xml_stanza_size\":{\"n\":59,\"min\":11,\"median\":92,\"mean\":88,\"max\":200,\"999\":200,\"99\":200,\"95\":137,\"90\":137,\"75\":137,\"50\":92},\"data.xmpp.received.c2s.tcp\":{\"one\":1197120,\"count\":3006899},\"backends.mod_muc_light_db.remove_user\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_offline.pop_messages\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_inbox.calls.get_inbox_unread\":{\"one\":0,\"count\":0},\"backends.mod_muc_online.calls.get_online_rooms\":{\"one\":0,\"count\":0},\"data.xmpp.sent.xml_stanza_size\":{\"n\":71,\"min\":16,\"median\":165,\"mean\":164,\"max\":359,\"999\":359,\"99\":345,\"95\":253,\"90\":192,\"75\":191,\"50\":165},\"backends.mod_muc_light_db.create_room\":{\"n\":39,\"min\":1168,\"median\":2290,\"mean\":2282,\"max\":3681,\"999\":3681,\"99\":3681,\"95\":3630,\"90\":3318,\"75\":2569,\"50\":2290},\"backends.mod_inbox.set_inbox_incr_unread\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"mod_muc.hibernations\":{\"one\":0,\"count\":0},\"backends.mod_muc_online.calls.register_room\":{\"one\":176,\"count\":322},\"backends.mod_muc_light_db.remove_domain\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"nodeUpTime\":{\"value\":644},\"backends.mod_muc_online.room_destroyed\":{\"n\":99,\"min\":51,\"median\":99,\"mean\":124,\"max\":774,\"999\":774,\"99\":774,\"95\":268,\"90\":222,\"75\":132,\"50\":99},\"backends.mod_muc_light_db.set_config\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_inbox.get_inbox_unread\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"data.rdbms.default\":{\"workers\":5,\"send_pend\":0,\"send_oct\":13648675,\"send_max\":45461,\"send_cnt\":86157,\"recv_oct\":7003529,\"recv_max\":7229,\"recv_cnt\":86198},\"backends.mod_muc_light_db.get_user_rooms\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"mod_muc.online_rooms\":{\"value\":0},\"backends.mongoose_rdbms.calls.execute\":{\"one\":29383,\"count\":70335},\"backends.mod_vcard.calls.search\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.restore_room\":{\"one\":0,\"count\":0},\"routingErrors\":{\"one\":0,\"count\":0},\"backends.mod_last.get_last\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_muc_light_db.calls.set_config\":{\"one\":0,\"count\":0},\"backends.mod_muc_online.register_room\":{\"n\":100,\"min\":48,\"median\":89,\"mean\":103,\"max\":384,\"999\":384,\"99\":384,\"95\":213,\"90\":143,\"75\":109,\"50\":89},\"backends.mod_inbox.calls.get_inbox\":{\"one\":0,\"count\":818},\"backends.mod_roster.calls.get_roster_entry\":{\"one\":216,\"count\":380},\"backends.mod_muc.get_rooms\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_muc_light_db.calls.room_exists\":{\"one\":65,\"count\":260}}}">>,
         12461,6525}
Params: #{path => <<"/api/metrics/global/">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,return_maps => true,
          return_headers => true}


*** User 2024-04-09 11:46:12.922 ***🔗
waiting for verify_result is done in 0 miliseconds

*** User 2024-04-09 11:46:12.923 ***🔗
waiting for verify_mongooseim_started is done in 0 miliseconds

*** User 2024-04-09 11:46:12.924 ***🔗
REST request:
Code: 200
Req: {<0.63373.0>,<<"/api/metrics/global/clusterSize">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"b09130dd16cbd533">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 09 Apr 2024 11:46:12 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"metric\":{\"value\":2}}">>,146,281}
Params: #{path => <<"/api/metrics/global/clusterSize">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,return_maps => true,
          return_headers => true}


*** User 2024-04-09 11:46:12.932 ***🔗
REST request:
Code: 200
Req: {<0.63375.0>,<<"/api/metrics/global/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"2c0da7a5b5908de4">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 09 Apr 2024 11:46:12 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"12334">>}],
         <<"{\"metrics\":{\"backends.mod_muc.forget_room\":{\"n\":77,\"min\":612,\"median\":1333,\"mean\":4289,\"max\":64550,\"999\":64550,\"99\":64550,\"95\":21827,\"90\":3552,\"75\":2308,\"50\":1333},\"mod_muc.hibernated_rooms\":{\"value\":0},\"backends.mongoose_rdbms.query\":{\"n\":1016,\"min\":60,\"median\":226,\"mean\":703,\"max\":62437,\"999\":54444,\"99\":8718,\"95\":740,\"90\":532,\"75\":368,\"50\":226},\"backends.mod_muc_light_db.calls.get_config\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.store_room\":{\"one\":152,\"count\":266},\"backends.mod_muc.calls.get_rooms\":{\"one\":0,\"count\":0},\"data.xmpp.sent.component\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.get_blocking\":{\"one\":32,\"count\":118},\"backends.mod_muc_light_db.destroy_room\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"data.xmpp.sent.c2s.websocket\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.get_aff_users\":{\"n\":63,\"min\":161,\"median\":473,\"mean\":511,\"max\":1109,\"999\":1109,\"99\":1109,\"95\":1028,\"90\":901,\"75\":635,\"50\":473},\"backends.mod_offline.calls.pop_messages\":{\"one\":0,\"count\":305},\"data.dist\":{\"send_pend\":0,\"send_oct\":23858860,\"send_max\":58190,\"send_cnt\":95811,\"recv_oct\":16796777,\"recv_max\":70294,\"recv_cnt\":54255,\"connections\":2},\"backends.mod_muc_light_db.modify_aff_users\":{\"n\":6,\"min\":1311,\"median\":1406,\"mean\":1557,\"max\":1906,\"999\":1906,\"99\":1906,\"95\":1906,\"90\":1906,\"75\":1906,\"50\":1406},\"backends.mod_muc_light_db.get_blocking\":{\"n\":34,\"min\":175,\"median\":345,\"mean\":442,\"max\":872,\"999\":872,\"99\":872,\"95\":804,\"90\":782,\"75\":656,\"50\":345},\"backends.mod_muc_light_db.calls.get_aff_users\":{\"one\":86,\"count\":296},\"backends.mod_inbox.clear_inbox\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_muc_online.get_online_rooms\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"node_cleanup\":{\"one\":0,\"count\":2},\"backends.mod_muc.calls.unset_nick\":{\"one\":0,\"count\":0},\"backends.ejabberd_auth_anonymous.does_anonymous_user_exist\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_muc.unset_nick\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_muc_light_db.room_exists\":{\"n\":47,\"min\":149,\"median\":388,\"mean\":401,\"max\":811,\"999\":811,\"99\":811,\"95\":764,\"90\":604,\"75\":470,\"50\":388},\"backends.mod_roster.roster_subscribe_t\":{\"n\":54,\"min\":128,\"median\":366,\"mean\":2201,\"max\":48980,\"999\":48980,\"99\":43188,\"95\":722,\"90\":688,\"75\":476,\"50\":366},\"backends.mod_inbox.calls.reset_unread\":{\"one\":0,\"count\":129},\"backends.mod_roster.get_subscription_lists\":{\"n\":18,\"min\":175,\"median\":281,\"mean\":282,\"max\":350,\"999\":350,\"99\":350,\"95\":324,\"90\":324,\"75\":312,\"50\":281},\"backends.mod_muc_light_db.get_config\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_muc_light_db.calls.set_blocking\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.forget_room\":{\"one\":120,\"count\":210},\"data.xmpp.sent.c2s.bosh\":{\"one\":0,\"count\":0},\"backends.mod_inbox.calls.set_inbox_incr_unread\":{\"one\":0,\"count\":429},\"backends.mod_last.calls.set_last_info\":{\"one\":0,\"count\":11},\"data.xmpp.received.c2s.bosh\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.read_roster_version\":{\"one\":0,\"count\":0},\"backends.mod_muc.set_nick\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_roster.calls.get_subscription_lists\":{\"one\":796,\"count\":2082},\"backends.mod_vcard.search\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"totalSessionCount\":{\"value\":3},\"backends.mod_roster.read_roster_version\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_roster.get_roster\":{\"n\":23,\"min\":287,\"median\":471,\"mean\":747,\"max\":9776,\"999\":9776,\"99\":9776,\"95\":5204,\"90\":1325,\"75\":549,\"50\":471},\"backends.mod_muc_online.calls.room_destroyed\":{\"one\":176,\"count\":322},\"backends.mod_muc.calls.set_nick\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.remove_user\":{\"one\":0,\"count\":516},\"data.xmpp.received.s2s\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.del_roster_t\":{\"one\":1,\"count\":1},\"backends.mod_inbox.calls.get_entry_properties\":{\"one\":0,\"count\":2},\"backends.mod_inbox.calls.get_full_entry\":{\"one\":0,\"count\":2},\"backends.mod_muc_light_db.calls.remove_domain\":{\"one\":0,\"count\":0},\"backends.mod_inbox.remove_inbox_row\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"processQueueLengths\":{\"total\":0,\"regular\":0,\"fsm\":0},\"backends.mod_inbox.calls.remove_domain\":{\"one\":0,\"count\":0},\"backends.mod_offline.write_messages\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"mod_muc.deep_hibernations\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.modify_aff_users\":{\"one\":4,\"count\":25},\"mod_muc.process_recreations\":{\"one\":0,\"count\":0},\"clusterSize\":{\"value\":2},\"backends.mod_roster.calls.roster_subscribe_t\":{\"one\":134,\"count\":234},\"backends.mod_inbox.set_inbox\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_vcard.set_vcard\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_muc.get_nick\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.ejabberd_auth_anonymous.calls.does_anonymous_user_exist\":{\"one\":0,\"count\":0},\"backends.mod_inbox.get_full_entry\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_inbox.reset_unread\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_roster.calls.write_roster_version\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.update_roster_t\":{\"one\":7,\"count\":7},\"backends.mongoose_rdbms.execute\":{\"n\":2782,\"min\":72,\"median\":321,\"mean\":835,\"max\":62422,\"999\":19612,\"99\":8368,\"95\":1568,\"90\":694,\"75\":445,\"50\":321},\"backends.mod_roster.update_roster_t\":{\"n\":9,\"min\":576,\"median\":720,\"mean\":784,\"max\":1004,\"999\":1004,\"99\":1004,\"95\":1004,\"90\":1004,\"75\":1000,\"50\":720},\"backends.mod_vcard.get_vcard\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"cache.unique_sessions_number\":{\"value\":2,\"ms_since_reset\":147889},\"backends.mod_muc.store_room\":{\"n\":92,\"min\":747,\"median\":1279,\"mean\":2331,\"max\":46304,\"999\":46304,\"99\":46304,\"95\":4240,\"90\":2708,\"75\":1671,\"50\":1279},\"erlang.memory\":{\"total\":157969608,\"system\":96407328,\"processes_used\":61970784,\"ets\":15966368,\"binary\":1207936,\"atom_used\":1293670},\"backends.mod_vcard.calls.get_vcard\":{\"one\":0,\"count\":0},\"erlang.system_info\":{\"process_limit\":262144,\"process_count\":2012,\"port_limit\":65536,\"port_count\":36,\"ets_limit\":8192},\"backends.mod_muc_light_db.calls.create_room\":{\"one\":37,\"count\":101},\"tcpPortsUsed\":{\"value\":36},\"data.xmpp.sent.c2s.tcp\":{\"one\":4521155,\"count\":10740244},\"backends.mod_inbox.calls.set_inbox\":{\"one\":0,\"count\":274},\"uniqueSessionCount\":{\"value\":2},\"backends.mod_inbox.set_entry_properties\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_offline.calls.write_messages\":{\"one\":0,\"count\":2},\"backends.mod_muc_light_db.calls.destroy_room\":{\"one\":0,\"count\":10},\"backends.mod_last.calls.get_last\":{\"one\":0,\"count\":1},\"backends.mod_muc.restore_room\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_roster.get_roster_entry\":{\"n\":93,\"min\":131,\"median\":759,\"mean\":1628,\"max\":50285,\"999\":50285,\"99\":25733,\"95\":2250,\"90\":2120,\"75\":1088,\"50\":759},\"data.xmpp.sent.s2s\":{\"one\":0,\"count\":0},\"backends.mod_muc.can_use_nick\":{\"n\":84,\"min\":141,\"median\":564,\"mean\":2082,\"max\":46019,\"999\":46019,\"99\":46019,\"95\":2518,\"90\":1889,\"75\":981,\"50\":564},\"backends.mod_roster.calls.get_roster\":{\"one\":1110,\"count\":2501},\"backends.mod_roster.write_roster_version\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_muc.calls.can_use_nick\":{\"one\":208,\"count\":408},\"nodeSessionCount\":{\"value\":3},\"backends.mod_last.set_last_info\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"data.xmpp.received.c2s.tls\":{\"one\":0,\"count\":31663},\"backends.mod_muc_light_db.set_blocking\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_inbox.get_entry_properties\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"data.xmpp.received.c2s.websocket\":{\"one\":0,\"count\":0},\"data.xmpp.received.component\":{\"one\":0,\"count\":0},\"backends.mod_vcard.calls.set_vcard\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.get_nick\":{\"one\":0,\"count\":0},\"backends.mod_inbox.get_inbox\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_inbox.calls.set_entry_properties\":{\"one\":0,\"count\":102},\"backends.mongoose_rdbms.calls.query\":{\"one\":5752,\"count\":14392},\"backends.mod_muc_light_db.calls.get_user_rooms\":{\"one\":0,\"count\":0},\"backends.mod_inbox.remove_domain\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_roster.del_roster_t\":{\"n\":3,\"min\":473,\"median\":473,\"mean\":473,\"max\":473,\"999\":473,\"99\":473,\"95\":473,\"90\":473,\"75\":473,\"50\":473},\"data.xmpp.sent.c2s.tls\":{\"one\":0,\"count\":63814},\"backends.mod_inbox.calls.clear_inbox\":{\"one\":0,\"count\":618},\"backends.mod_inbox.calls.remove_inbox_row\":{\"one\":0,\"count\":14},\"data.xmpp.received.xml_stanza_size\":{\"n\":59,\"min\":11,\"median\":92,\"mean\":88,\"max\":200,\"999\":200,\"99\":200,\"95\":137,\"90\":137,\"75\":137,\"50\":92},\"data.xmpp.received.c2s.tcp\":{\"one\":1197120,\"count\":3006899},\"backends.mod_muc_light_db.remove_user\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_offline.pop_messages\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_inbox.calls.get_inbox_unread\":{\"one\":0,\"count\":0},\"backends.mod_muc_online.calls.get_online_rooms\":{\"one\":0,\"count\":0},\"data.xmpp.sent.xml_stanza_size\":{\"n\":71,\"min\":16,\"median\":165,\"mean\":164,\"max\":359,\"999\":359,\"99\":345,\"95\":253,\"90\":192,\"75\":191,\"50\":165},\"backends.mod_muc_light_db.create_room\":{\"n\":39,\"min\":1168,\"median\":2290,\"mean\":2282,\"max\":3681,\"999\":3681,\"99\":3681,\"95\":3630,\"90\":3318,\"75\":2569,\"50\":2290},\"backends.mod_inbox.set_inbox_incr_unread\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"mod_muc.hibernations\":{\"one\":0,\"count\":0},\"backends.mod_muc_online.calls.register_room\":{\"one\":176,\"count\":322},\"backends.mod_muc_light_db.remove_domain\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"nodeUpTime\":{\"value\":645},\"backends.mod_muc_online.room_destroyed\":{\"n\":99,\"min\":51,\"median\":99,\"mean\":124,\"max\":774,\"999\":774,\"99\":774,\"95\":268,\"90\":222,\"75\":132,\"50\":99},\"backends.mod_muc_light_db.set_config\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_inbox.get_inbox_unread\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"data.rdbms.default\":{\"workers\":5,\"send_pend\":0,\"send_oct\":13648675,\"send_max\":45461,\"send_cnt\":86157,\"recv_oct\":7003529,\"recv_max\":7229,\"recv_cnt\":86198},\"backends.mod_muc_light_db.get_user_rooms\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"mod_muc.online_rooms\":{\"value\":0},\"backends.mongoose_rdbms.calls.execute\":{\"one\":29383,\"count\":70335},\"backends.mod_vcard.calls.search\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.restore_room\":{\"one\":0,\"count\":0},\"routingErrors\":{\"one\":0,\"count\":0},\"backends.mod_last.get_last\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_muc_light_db.calls.set_config\":{\"one\":0,\"count\":0},\"backends.mod_muc_online.register_room\":{\"n\":100,\"min\":48,\"median\":89,\"mean\":103,\"max\":384,\"999\":384,\"99\":384,\"95\":213,\"90\":143,\"75\":109,\"50\":89},\"backends.mod_inbox.calls.get_inbox\":{\"one\":0,\"count\":818},\"backends.mod_roster.calls.get_roster_entry\":{\"one\":216,\"count\":380},\"backends.mod_muc.get_rooms\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_muc_light_db.calls.room_exists\":{\"one\":65,\"count\":260}}}">>,
         12461,6521}
Params: #{path => <<"/api/metrics/global/">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,return_maps => true,
          return_headers => true}


*** User 2024-04-09 11:46:13.441 ***🔗
waiting for verify_result is done in 0 miliseconds

*** User 2024-04-09 11:46:13.441 ***🔗
waiting for verify_mongooseim_started is done in 0 miliseconds

*** User 2024-04-09 11:46:13.442 ***🔗
REST request:
Code: 200
Req: {<0.63377.0>,<<"/api/metrics/global/clusterSize">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"d0c982ca3df0a17a">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 09 Apr 2024 11:46:12 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"metric\":{\"value\":1}}">>,146,345}
Params: #{path => <<"/api/metrics/global/clusterSize">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,return_maps => true,
          return_headers => true}


*** User 2024-04-09 11:46:13.449 ***🔗
REST request:
Code: 200
Req: {<0.63379.0>,<<"/api/metrics/global/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"32c5e93ca22f5476">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 09 Apr 2024 11:46:12 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"12334">>}],
         <<"{\"metrics\":{\"backends.mod_muc.forget_room\":{\"n\":77,\"min\":612,\"median\":1333,\"mean\":4289,\"max\":64550,\"999\":64550,\"99\":64550,\"95\":21827,\"90\":3552,\"75\":2308,\"50\":1333},\"mod_muc.hibernated_rooms\":{\"value\":0},\"backends.mongoose_rdbms.query\":{\"n\":1016,\"min\":60,\"median\":226,\"mean\":703,\"max\":62437,\"999\":54444,\"99\":8718,\"95\":740,\"90\":532,\"75\":368,\"50\":226},\"backends.mod_muc_light_db.calls.get_config\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.store_room\":{\"one\":152,\"count\":266},\"backends.mod_muc.calls.get_rooms\":{\"one\":0,\"count\":0},\"data.xmpp.sent.component\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.get_blocking\":{\"one\":32,\"count\":118},\"backends.mod_muc_light_db.destroy_room\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"data.xmpp.sent.c2s.websocket\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.get_aff_users\":{\"n\":63,\"min\":161,\"median\":473,\"mean\":511,\"max\":1109,\"999\":1109,\"99\":1109,\"95\":1028,\"90\":901,\"75\":635,\"50\":473},\"backends.mod_offline.calls.pop_messages\":{\"one\":0,\"count\":305},\"data.dist\":{\"send_pend\":0,\"send_oct\":23874533,\"send_max\":58190,\"send_cnt\":95835,\"recv_oct\":16798981,\"recv_max\":70294,\"recv_cnt\":54278,\"connections\":2},\"backends.mod_muc_light_db.modify_aff_users\":{\"n\":6,\"min\":1311,\"median\":1406,\"mean\":1557,\"max\":1906,\"999\":1906,\"99\":1906,\"95\":1906,\"90\":1906,\"75\":1906,\"50\":1406},\"backends.mod_muc_light_db.get_blocking\":{\"n\":34,\"min\":175,\"median\":345,\"mean\":442,\"max\":872,\"999\":872,\"99\":872,\"95\":804,\"90\":782,\"75\":656,\"50\":345},\"backends.mod_muc_light_db.calls.get_aff_users\":{\"one\":86,\"count\":296},\"backends.mod_inbox.clear_inbox\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_muc_online.get_online_rooms\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"node_cleanup\":{\"one\":0,\"count\":2},\"backends.mod_muc.calls.unset_nick\":{\"one\":0,\"count\":0},\"backends.ejabberd_auth_anonymous.does_anonymous_user_exist\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_muc.unset_nick\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_muc_light_db.room_exists\":{\"n\":47,\"min\":149,\"median\":388,\"mean\":401,\"max\":811,\"999\":811,\"99\":811,\"95\":764,\"90\":604,\"75\":470,\"50\":388},\"backends.mod_roster.roster_subscribe_t\":{\"n\":54,\"min\":128,\"median\":366,\"mean\":2201,\"max\":48980,\"999\":48980,\"99\":43188,\"95\":722,\"90\":688,\"75\":476,\"50\":366},\"backends.mod_inbox.calls.reset_unread\":{\"one\":0,\"count\":129},\"backends.mod_roster.get_subscription_lists\":{\"n\":18,\"min\":175,\"median\":281,\"mean\":282,\"max\":350,\"999\":350,\"99\":350,\"95\":324,\"90\":324,\"75\":312,\"50\":281},\"backends.mod_muc_light_db.get_config\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_muc_light_db.calls.set_blocking\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.forget_room\":{\"one\":120,\"count\":210},\"data.xmpp.sent.c2s.bosh\":{\"one\":0,\"count\":0},\"backends.mod_inbox.calls.set_inbox_incr_unread\":{\"one\":0,\"count\":429},\"backends.mod_last.calls.set_last_info\":{\"one\":0,\"count\":11},\"data.xmpp.received.c2s.bosh\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.read_roster_version\":{\"one\":0,\"count\":0},\"backends.mod_muc.set_nick\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_roster.calls.get_subscription_lists\":{\"one\":782,\"count\":2082},\"backends.mod_vcard.search\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"totalSessionCount\":{\"value\":3},\"backends.mod_roster.read_roster_version\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_roster.get_roster\":{\"n\":23,\"min\":287,\"median\":471,\"mean\":747,\"max\":9776,\"999\":9776,\"99\":9776,\"95\":5204,\"90\":1325,\"75\":549,\"50\":471},\"backends.mod_muc_online.calls.room_destroyed\":{\"one\":176,\"count\":322},\"backends.mod_muc.calls.set_nick\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.remove_user\":{\"one\":0,\"count\":516},\"data.xmpp.received.s2s\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.del_roster_t\":{\"one\":1,\"count\":1},\"backends.mod_inbox.calls.get_entry_properties\":{\"one\":0,\"count\":2},\"backends.mod_inbox.calls.get_full_entry\":{\"one\":0,\"count\":2},\"backends.mod_muc_light_db.calls.remove_domain\":{\"one\":0,\"count\":0},\"backends.mod_inbox.remove_inbox_row\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"processQueueLengths\":{\"total\":0,\"regular\":0,\"fsm\":0},\"backends.mod_inbox.calls.remove_domain\":{\"one\":0,\"count\":0},\"backends.mod_offline.write_messages\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"mod_muc.deep_hibernations\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.modify_aff_users\":{\"one\":4,\"count\":25},\"mod_muc.process_recreations\":{\"one\":0,\"count\":0},\"clusterSize\":{\"value\":1},\"backends.mod_roster.calls.roster_subscribe_t\":{\"one\":134,\"count\":234},\"backends.mod_inbox.set_inbox\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_vcard.set_vcard\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_muc.get_nick\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.ejabberd_auth_anonymous.calls.does_anonymous_user_exist\":{\"one\":0,\"count\":0},\"backends.mod_inbox.get_full_entry\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_inbox.reset_unread\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_roster.calls.write_roster_version\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.update_roster_t\":{\"one\":7,\"count\":7},\"backends.mongoose_rdbms.execute\":{\"n\":2767,\"min\":72,\"median\":322,\"mean\":812,\"max\":62422,\"999\":18713,\"99\":8262,\"95\":1521,\"90\":694,\"75\":445,\"50\":322},\"backends.mod_roster.update_roster_t\":{\"n\":9,\"min\":576,\"median\":720,\"mean\":784,\"max\":1004,\"999\":1004,\"99\":1004,\"95\":1004,\"90\":1004,\"75\":1000,\"50\":720},\"backends.mod_vcard.get_vcard\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"cache.unique_sessions_number\":{\"value\":2,\"ms_since_reset\":148407},\"backends.mod_muc.store_room\":{\"n\":92,\"min\":747,\"median\":1279,\"mean\":2331,\"max\":46304,\"999\":46304,\"99\":46304,\"95\":4240,\"90\":2708,\"75\":1671,\"50\":1279},\"erlang.memory\":{\"total\":161403680,\"system\":96413464,\"processes_used\":65398336,\"ets\":15965496,\"binary\":1215096,\"atom_used\":1293670},\"backends.mod_vcard.calls.get_vcard\":{\"one\":0,\"count\":0},\"erlang.system_info\":{\"process_limit\":262144,\"process_count\":2012,\"port_limit\":65536,\"port_count\":36,\"ets_limit\":8192},\"backends.mod_muc_light_db.calls.create_room\":{\"one\":37,\"count\":101},\"tcpPortsUsed\":{\"value\":36},\"data.xmpp.sent.c2s.tcp\":{\"one\":4385098,\"count\":10740244},\"backends.mod_inbox.calls.set_inbox\":{\"one\":0,\"count\":274},\"uniqueSessionCount\":{\"value\":2},\"backends.mod_inbox.set_entry_properties\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_offline.calls.write_messages\":{\"one\":0,\"count\":2},\"backends.mod_muc_light_db.calls.destroy_room\":{\"one\":0,\"count\":10},\"backends.mod_last.calls.get_last\":{\"one\":0,\"count\":1},\"backends.mod_muc.restore_room\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_roster.get_roster_entry\":{\"n\":93,\"min\":131,\"median\":759,\"mean\":1628,\"max\":50285,\"999\":50285,\"99\":25733,\"95\":2250,\"90\":2120,\"75\":1088,\"50\":759},\"data.xmpp.sent.s2s\":{\"one\":0,\"count\":0},\"backends.mod_muc.can_use_nick\":{\"n\":84,\"min\":141,\"median\":564,\"mean\":2082,\"max\":46019,\"999\":46019,\"99\":46019,\"95\":2518,\"90\":1889,\"75\":981,\"50\":564},\"backends.mod_roster.calls.get_roster\":{\"one\":1110,\"count\":2501},\"backends.mod_roster.write_roster_version\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_muc.calls.can_use_nick\":{\"one\":208,\"count\":408},\"nodeSessionCount\":{\"value\":3},\"backends.mod_last.set_last_info\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"data.xmpp.received.c2s.tls\":{\"one\":0,\"count\":31663},\"backends.mod_muc_light_db.set_blocking\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_inbox.get_entry_properties\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"data.xmpp.received.c2s.websocket\":{\"one\":0,\"count\":0},\"data.xmpp.received.component\":{\"one\":0,\"count\":0},\"backends.mod_vcard.calls.set_vcard\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.get_nick\":{\"one\":0,\"count\":0},\"backends.mod_inbox.get_inbox\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_inbox.calls.set_entry_properties\":{\"one\":0,\"count\":102},\"backends.mongoose_rdbms.calls.query\":{\"one\":5752,\"count\":14392},\"backends.mod_muc_light_db.calls.get_user_rooms\":{\"one\":0,\"count\":0},\"backends.mod_inbox.remove_domain\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_roster.del_roster_t\":{\"n\":3,\"min\":473,\"median\":473,\"mean\":473,\"max\":473,\"999\":473,\"99\":473,\"95\":473,\"90\":473,\"75\":473,\"50\":473},\"data.xmpp.sent.c2s.tls\":{\"one\":0,\"count\":63814},\"backends.mod_inbox.calls.clear_inbox\":{\"one\":0,\"count\":618},\"backends.mod_inbox.calls.remove_inbox_row\":{\"one\":0,\"count\":14},\"data.xmpp.received.xml_stanza_size\":{\"n\":59,\"min\":11,\"median\":92,\"mean\":88,\"max\":200,\"999\":200,\"99\":200,\"95\":137,\"90\":137,\"75\":137,\"50\":92},\"data.xmpp.received.c2s.tcp\":{\"one\":1161290,\"count\":3006899},\"backends.mod_muc_light_db.remove_user\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_offline.pop_messages\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_inbox.calls.get_inbox_unread\":{\"one\":0,\"count\":0},\"backends.mod_muc_online.calls.get_online_rooms\":{\"one\":0,\"count\":0},\"data.xmpp.sent.xml_stanza_size\":{\"n\":71,\"min\":16,\"median\":165,\"mean\":164,\"max\":359,\"999\":359,\"99\":345,\"95\":253,\"90\":192,\"75\":191,\"50\":165},\"backends.mod_muc_light_db.create_room\":{\"n\":39,\"min\":1168,\"median\":2290,\"mean\":2282,\"max\":3681,\"999\":3681,\"99\":3681,\"95\":3630,\"90\":3318,\"75\":2569,\"50\":2290},\"backends.mod_inbox.set_inbox_incr_unread\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"mod_muc.hibernations\":{\"one\":0,\"count\":0},\"backends.mod_muc_online.calls.register_room\":{\"one\":176,\"count\":322},\"backends.mod_muc_light_db.remove_domain\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"nodeUpTime\":{\"value\":645},\"backends.mod_muc_online.room_destroyed\":{\"n\":99,\"min\":51,\"median\":99,\"mean\":124,\"max\":774,\"999\":774,\"99\":774,\"95\":268,\"90\":222,\"75\":132,\"50\":99},\"backends.mod_muc_light_db.set_config\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_inbox.get_inbox_unread\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"data.rdbms.default\":{\"workers\":5,\"send_pend\":0,\"send_oct\":13648675,\"send_max\":45461,\"send_cnt\":86157,\"recv_oct\":7003529,\"recv_max\":7229,\"recv_cnt\":86198},\"backends.mod_muc_light_db.get_user_rooms\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"mod_muc.online_rooms\":{\"value\":0},\"backends.mongoose_rdbms.calls.execute\":{\"one\":29043,\"count\":70335},\"backends.mod_vcard.calls.search\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.restore_room\":{\"one\":0,\"count\":0},\"routingErrors\":{\"one\":0,\"count\":0},\"backends.mod_last.get_last\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_muc_light_db.calls.set_config\":{\"one\":0,\"count\":0},\"backends.mod_muc_online.register_room\":{\"n\":100,\"min\":48,\"median\":89,\"mean\":103,\"max\":384,\"999\":384,\"99\":384,\"95\":213,\"90\":143,\"75\":109,\"50\":89},\"backends.mod_inbox.calls.get_inbox\":{\"one\":0,\"count\":818},\"backends.mod_roster.calls.get_roster_entry\":{\"one\":216,\"count\":380},\"backends.mod_muc.get_rooms\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_muc_light_db.calls.room_exists\":{\"one\":65,\"count\":260}}}">>,
         12461,5692}
Params: #{path => <<"/api/metrics/global/">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,return_maps => true,
          return_headers => true}

*** CT 2024-04-09 11:46:13.452 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2315.html



=== Ended at 2024-04-09 11:46:13
=== successfully completed test case
=== === Returned value: ok


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