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

=== Config value:

    [{watchdog,<0.62307.0>},
     {preset,"odbc_mssql_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@76f252b4c6ae.2024-03-11_08.50.44/big_tests.tests.metrics_api_SUITE.logs/run.2024-03-11_09.01.43/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@76f252b4c6ae.2024-03-11_08.50.44/big_tests.tests.metrics_api_SUITE.logs/run.2024-03-11_09.01.43/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,backend => rdbms,iqdisc => parallel},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,versioning => false,
              store_current_id => false},
        mod_amp => #{},
        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_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_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        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@76f252b4c6ae.2024-03-11_08.50.44"

=== Started at 2024-03-11 09:01:51


*** CT 2024-03-11 09:01:51.323 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2335.html

*** User 2024-03-11 09:01:51.326 ***🔗
REST request:
Code: 200
Req: {<0.62359.0>,<<"/api/metrics/global/clusterSize">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"9bd046c365f7e2b9">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 11 Mar 2024 09:01:50 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"metric\":{\"value\":1}}">>,146,527}
Params: #{path => <<"/api/metrics/global/clusterSize">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,role => admin,method => <<"GET">>,return_maps => true,
          return_headers => true}


*** User 2024-03-11 09:01:51.337 ***🔗
REST request:
Code: 200
Req: {<0.62361.0>,<<"/api/metrics/global/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"350a17ca7be373e1">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 11 Mar 2024 09:01:50 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"12410">>}],
         <<"{\"metrics\":{\"backends.mod_muc.forget_room\":{\"n\":53,\"min\":2172,\"median\":4881,\"mean\":14087,\"max\":85789,\"999\":85789,\"99\":85789,\"95\":70312,\"90\":68528,\"75\":9901,\"50\":4881},\"mod_muc.hibernated_rooms\":{\"value\":0},\"backends.mongoose_rdbms.query\":{\"n\":992,\"min\":131,\"median\":400,\"mean\":2358,\"max\":98155,\"999\":98155,\"99\":21525,\"95\":7326,\"90\":3190,\"75\":686,\"50\":400},\"backends.mod_muc_light_db.calls.get_config\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.store_room\":{\"one\":66,\"count\":231},\"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\":24,\"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\":58,\"min\":477,\"median\":798,\"mean\":1060,\"max\":10415,\"999\":10415,\"99\":10415,\"95\":1574,\"90\":1200,\"75\":1056,\"50\":798},\"backends.mod_offline.calls.pop_messages\":{\"one\":0,\"count\":305},\"data.dist\":{\"send_pend\":0,\"send_oct\":23668297,\"send_max\":58190,\"send_cnt\":91930,\"recv_oct\":16364610,\"recv_max\":70340,\"recv_cnt\":52165,\"connections\":2},\"backends.mod_muc_light_db.modify_aff_users\":{\"n\":5,\"min\":3604,\"median\":3663,\"mean\":4513,\"max\":6272,\"999\":6272,\"99\":6272,\"95\":6272,\"90\":6272,\"75\":6272,\"50\":3663},\"backends.mod_muc_light_db.get_blocking\":{\"n\":26,\"min\":542,\"median\":728,\"mean\":1131,\"max\":9188,\"999\":9188,\"99\":9188,\"95\":9188,\"90\":994,\"75\":951,\"50\":728},\"backends.mod_muc_light_db.calls.get_aff_users\":{\"one\":65,\"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\":44,\"min\":461,\"median\":823,\"mean\":1008,\"max\":14022,\"999\":14022,\"99\":14022,\"95\":1484,\"90\":1410,\"75\":1168,\"50\":823},\"backends.mod_roster.roster_subscribe_t\":{\"n\":53,\"min\":474,\"median\":1291,\"mean\":5395,\"max\":54052,\"999\":54052,\"99\":54052,\"95\":36938,\"90\":15994,\"75\":2699,\"50\":1291},\"backends.mod_inbox.calls.reset_unread\":{\"one\":0,\"count\":129},\"backends.mod_roster.get_subscription_lists\":{\"n\":20,\"min\":604,\"median\":780,\"mean\":782,\"max\":960,\"999\":960,\"99\":960,\"95\":953,\"90\":916,\"75\":830,\"50\":780},\"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\":61,\"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\":493,\"count\":2026},\"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\":892,\"median\":1290,\"mean\":1342,\"max\":6295,\"999\":6295,\"99\":6295,\"95\":2190,\"90\":2055,\"75\":1362,\"50\":1290},\"backends.mod_muc_online.calls.room_destroyed\":{\"one\":79,\"count\":287},\"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\":6,\"count\":21},\"backends.mod_muc_light_db.calls.modify_aff_users\":{\"one\":3,\"count\":25},\"mod_muc.process_recreations\":{\"one\":0,\"count\":0},\"clusterSize\":{\"value\":1},\"backends.mod_roster.calls.roster_subscribe_t\":{\"one\":104,\"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\":3234,\"min\":169,\"median\":874,\"mean\":3006,\"max\":79770,\"999\":74664,\"99\":23507,\"95\":9937,\"90\":4646,\"75\":1963,\"50\":874},\"backends.mod_roster.update_roster_t\":{\"n\":9,\"min\":1327,\"median\":2048,\"mean\":1885,\"max\":2586,\"999\":2586,\"99\":2586,\"95\":2586,\"90\":2586,\"75\":2143,\"50\":2048},\"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\":196640},\"backends.mod_muc.store_room\":{\"n\":54,\"min\":2700,\"median\":4764,\"mean\":11510,\"max\":80006,\"999\":80006,\"99\":80006,\"95\":66482,\"90\":30536,\"75\":9861,\"50\":4764},\"erlang.memory\":{\"total\":165603936,\"system\":96096192,\"processes_used\":69924800,\"ets\":15925376,\"binary\":1287392,\"atom_used\":1277040},\"backends.mod_vcard.calls.get_vcard\":{\"one\":0,\"count\":0},\"erlang.system_info\":{\"process_limit\":262144,\"process_count\":1998,\"port_limit\":65536,\"port_count\":46,\"ets_limit\":8192},\"backends.mod_muc_light_db.calls.create_room\":{\"one\":28,\"count\":101},\"tcpPortsUsed\":{\"value\":38},\"data.xmpp.sent.c2s.tcp\":{\"one\":2752757,\"count\":10540544},\"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\":1},\"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\":84,\"min\":374,\"median\":992,\"mean\":1874,\"max\":35840,\"999\":35840,\"99\":19481,\"95\":7170,\"90\":2828,\"75\":1399,\"50\":992},\"data.xmpp.sent.s2s\":{\"one\":0,\"count\":0},\"backends.mod_muc.can_use_nick\":{\"n\":49,\"min\":356,\"median\":1136,\"mean\":11464,\"max\":77019,\"999\":77019,\"99\":77019,\"95\":68502,\"90\":36530,\"75\":4976,\"50\":1136},\"backends.mod_roster.calls.get_roster\":{\"one\":712,\"count\":2452},\"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\":106,\"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\":3724,\"count\":14124},\"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\":1141,\"median\":1141,\"mean\":1141,\"max\":1141,\"999\":1141,\"99\":1141,\"95\":1141,\"90\":1141,\"75\":1141,\"50\":1141},\"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\":65,\"min\":11,\"median\":102,\"mean\":85,\"max\":200,\"999\":200,\"99\":137,\"95\":137,\"90\":137,\"75\":137,\"50\":102},\"data.xmpp.received.c2s.tcp\":{\"one\":737233,\"count\":2949256},\"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\":77,\"min\":16,\"median\":173,\"mean\":158,\"max\":359,\"999\":359,\"99\":345,\"95\":253,\"90\":212,\"75\":191,\"50\":173},\"backends.mod_muc_light_db.create_room\":{\"n\":30,\"min\":2947,\"median\":6317,\"mean\":9506,\"max\":28379,\"999\":28379,\"99\":28379,\"95\":28379,\"90\":23334,\"75\":13382,\"50\":6317},\"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\":6,\"count\":21},\"backends.mod_muc_online.calls.register_room\":{\"one\":78,\"count\":287},\"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\":698},\"backends.mod_muc_online.room_destroyed\":{\"n\":60,\"min\":61,\"median\":133,\"mean\":140,\"max\":397,\"999\":397,\"99\":350,\"95\":219,\"90\":170,\"75\":147,\"50\":133},\"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\":23502734,\"send_max\":44431,\"send_cnt\":83260,\"recv_oct\":9336354,\"recv_max\":13584,\"recv_cnt\":83260},\"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\":17975,\"count\":68466},\"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\":57,\"min\":46,\"median\":142,\"mean\":173,\"max\":589,\"999\":589,\"99\":589,\"95\":418,\"90\":293,\"75\":170,\"50\":142},\"backends.mod_inbox.calls.get_inbox\":{\"one\":0,\"count\":816},\"backends.mod_roster.calls.get_roster_entry\":{\"one\":168,\"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\":49,\"count\":260}}}">>,
         12537,9796}
Params: #{path => <<"/api/metrics/global/">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,role => admin,method => <<"GET">>,return_maps => true,
          return_headers => true}


*** User 2024-03-11 09:01:52.121 ***🔗
waiting for verify_result is done in 0 miliseconds

*** User 2024-03-11 09:01:52.122 ***🔗
waiting for verify_mongooseim_started is done in 0 miliseconds

*** User 2024-03-11 09:01:52.124 ***🔗
REST request:
Code: 200
Req: {<0.62363.0>,<<"/api/metrics/global/clusterSize">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"44296facdb6f28bc">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 11 Mar 2024 09:01:51 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"metric\":{\"value\":2}}">>,146,512}
Params: #{path => <<"/api/metrics/global/clusterSize">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,role => admin,method => <<"GET">>,return_maps => true,
          return_headers => true}


*** User 2024-03-11 09:01:52.150 ***🔗
REST request:
Code: 200
Req: {<0.62365.0>,<<"/api/metrics/global/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"1ca4476f256570c1">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 11 Mar 2024 09:01:51 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"12410">>}],
         <<"{\"metrics\":{\"backends.mod_muc.forget_room\":{\"n\":52,\"min\":2172,\"median\":4881,\"mean\":14298,\"max\":85789,\"999\":85789,\"99\":85789,\"95\":70312,\"90\":68528,\"75\":9901,\"50\":4881},\"mod_muc.hibernated_rooms\":{\"value\":0},\"backends.mongoose_rdbms.query\":{\"n\":958,\"min\":131,\"median\":401,\"mean\":2411,\"max\":98155,\"999\":98155,\"99\":21525,\"95\":7349,\"90\":3430,\"75\":708,\"50\":401},\"backends.mod_muc_light_db.calls.get_config\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.store_room\":{\"one\":66,\"count\":231},\"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\":24,\"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\":58,\"min\":477,\"median\":798,\"mean\":1060,\"max\":10415,\"999\":10415,\"99\":10415,\"95\":1574,\"90\":1200,\"75\":1056,\"50\":798},\"backends.mod_offline.calls.pop_messages\":{\"one\":0,\"count\":305},\"data.dist\":{\"send_pend\":0,\"send_oct\":23728188,\"send_max\":58190,\"send_cnt\":92412,\"recv_oct\":16405264,\"recv_max\":70340,\"recv_cnt\":52574,\"connections\":2},\"backends.mod_muc_light_db.modify_aff_users\":{\"n\":5,\"min\":3604,\"median\":3663,\"mean\":4513,\"max\":6272,\"999\":6272,\"99\":6272,\"95\":6272,\"90\":6272,\"75\":6272,\"50\":3663},\"backends.mod_muc_light_db.get_blocking\":{\"n\":26,\"min\":542,\"median\":728,\"mean\":1131,\"max\":9188,\"999\":9188,\"99\":9188,\"95\":9188,\"90\":994,\"75\":951,\"50\":728},\"backends.mod_muc_light_db.calls.get_aff_users\":{\"one\":65,\"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\":44,\"min\":461,\"median\":823,\"mean\":1008,\"max\":14022,\"999\":14022,\"99\":14022,\"95\":1484,\"90\":1410,\"75\":1168,\"50\":823},\"backends.mod_roster.roster_subscribe_t\":{\"n\":53,\"min\":474,\"median\":1291,\"mean\":5395,\"max\":54052,\"999\":54052,\"99\":54052,\"95\":36938,\"90\":15994,\"75\":2699,\"50\":1291},\"backends.mod_inbox.calls.reset_unread\":{\"one\":0,\"count\":129},\"backends.mod_roster.get_subscription_lists\":{\"n\":20,\"min\":604,\"median\":780,\"mean\":782,\"max\":960,\"999\":960,\"99\":960,\"95\":953,\"90\":916,\"75\":830,\"50\":780},\"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\":60,\"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\":492,\"count\":2026},\"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\":892,\"median\":1290,\"mean\":1342,\"max\":6295,\"999\":6295,\"99\":6295,\"95\":2190,\"90\":2055,\"75\":1362,\"50\":1290},\"backends.mod_muc_online.calls.room_destroyed\":{\"one\":78,\"count\":287},\"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\":6,\"count\":21},\"backends.mod_muc_light_db.calls.modify_aff_users\":{\"one\":3,\"count\":25},\"mod_muc.process_recreations\":{\"one\":0,\"count\":0},\"clusterSize\":{\"value\":2},\"backends.mod_roster.calls.roster_subscribe_t\":{\"one\":104,\"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\":3170,\"min\":169,\"median\":883,\"mean\":3044,\"max\":79770,\"999\":74664,\"99\":23507,\"95\":9996,\"90\":4724,\"75\":1980,\"50\":883},\"backends.mod_roster.update_roster_t\":{\"n\":9,\"min\":1327,\"median\":2048,\"mean\":1885,\"max\":2586,\"999\":2586,\"99\":2586,\"95\":2586,\"90\":2586,\"75\":2143,\"50\":2048},\"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\":197453},\"backends.mod_muc.store_room\":{\"n\":54,\"min\":2700,\"median\":4764,\"mean\":11510,\"max\":80006,\"999\":80006,\"99\":80006,\"95\":66482,\"90\":30536,\"75\":9861,\"50\":4764},\"erlang.memory\":{\"total\":166389112,\"system\":96080568,\"processes_used\":70723672,\"ets\":15937552,\"binary\":1261624,\"atom_used\":1277040},\"backends.mod_vcard.calls.get_vcard\":{\"one\":0,\"count\":0},\"erlang.system_info\":{\"process_limit\":262144,\"process_count\":1998,\"port_limit\":65536,\"port_count\":46,\"ets_limit\":8192},\"backends.mod_muc_light_db.calls.create_room\":{\"one\":28,\"count\":101},\"tcpPortsUsed\":{\"value\":38},\"data.xmpp.sent.c2s.tcp\":{\"one\":2617404,\"count\":10540544},\"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\":1},\"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\":84,\"min\":374,\"median\":992,\"mean\":1874,\"max\":35840,\"999\":35840,\"99\":19481,\"95\":7170,\"90\":2828,\"75\":1399,\"50\":992},\"data.xmpp.sent.s2s\":{\"one\":0,\"count\":0},\"backends.mod_muc.can_use_nick\":{\"n\":49,\"min\":356,\"median\":1136,\"mean\":11464,\"max\":77019,\"999\":77019,\"99\":77019,\"95\":68502,\"90\":36530,\"75\":4976,\"50\":1136},\"backends.mod_roster.calls.get_roster\":{\"one\":636,\"count\":2452},\"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\":104,\"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\":3414,\"count\":14124},\"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\":1141,\"median\":1141,\"mean\":1141,\"max\":1141,\"999\":1141,\"99\":1141,\"95\":1141,\"90\":1141,\"75\":1141,\"50\":1141},\"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\":65,\"min\":11,\"median\":102,\"mean\":85,\"max\":200,\"999\":200,\"99\":137,\"95\":137,\"90\":137,\"75\":137,\"50\":102},\"data.xmpp.received.c2s.tcp\":{\"one\":709438,\"count\":2949256},\"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\":77,\"min\":16,\"median\":173,\"mean\":158,\"max\":359,\"999\":359,\"99\":345,\"95\":253,\"90\":212,\"75\":191,\"50\":173},\"backends.mod_muc_light_db.create_room\":{\"n\":30,\"min\":2947,\"median\":6317,\"mean\":9506,\"max\":28379,\"999\":28379,\"99\":28379,\"95\":28379,\"90\":23334,\"75\":13382,\"50\":6317},\"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\":6,\"count\":21},\"backends.mod_muc_online.calls.register_room\":{\"one\":78,\"count\":287},\"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\":699},\"backends.mod_muc_online.room_destroyed\":{\"n\":59,\"min\":61,\"median\":133,\"mean\":141,\"max\":397,\"999\":397,\"99\":350,\"95\":219,\"90\":170,\"75\":147,\"50\":133},\"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\":23502734,\"send_max\":44431,\"send_cnt\":83260,\"recv_oct\":9336354,\"recv_max\":13584,\"recv_cnt\":83260},\"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\":17233,\"count\":68466},\"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\":57,\"min\":46,\"median\":142,\"mean\":173,\"max\":589,\"999\":589,\"99\":589,\"95\":418,\"90\":293,\"75\":170,\"50\":142},\"backends.mod_inbox.calls.get_inbox\":{\"one\":0,\"count\":816},\"backends.mod_roster.calls.get_roster_entry\":{\"one\":168,\"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\":49,\"count\":260}}}">>,
         12537,24549}
Params: #{path => <<"/api/metrics/global/">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,role => admin,method => <<"GET">>,return_maps => true,
          return_headers => true}


*** User 2024-03-11 09:01:52.822 ***🔗
waiting for verify_result is done in 0 miliseconds

*** User 2024-03-11 09:01:52.822 ***🔗
waiting for verify_mongooseim_started is done in 0 miliseconds

*** User 2024-03-11 09:01:52.824 ***🔗
REST request:
Code: 200
Req: {<0.62367.0>,<<"/api/metrics/global/clusterSize">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"dc236ed77c27bd42">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 11 Mar 2024 09:01:52 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"metric\":{\"value\":1}}">>,146,510}
Params: #{path => <<"/api/metrics/global/clusterSize">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,role => admin,method => <<"GET">>,return_maps => true,
          return_headers => true}


*** User 2024-03-11 09:01:52.834 ***🔗
REST request:
Code: 200
Req: {<0.62369.0>,<<"/api/metrics/global/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"ba535fc2d2232b36">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 11 Mar 2024 09:01:52 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"12412">>}],
         <<"{\"metrics\":{\"backends.mod_muc.forget_room\":{\"n\":52,\"min\":2172,\"median\":4881,\"mean\":14298,\"max\":85789,\"999\":85789,\"99\":85789,\"95\":70312,\"90\":68528,\"75\":9901,\"50\":4881},\"mod_muc.hibernated_rooms\":{\"value\":0},\"backends.mongoose_rdbms.query\":{\"n\":952,\"min\":131,\"median\":400,\"mean\":2419,\"max\":98155,\"999\":98155,\"99\":21525,\"95\":7349,\"90\":3430,\"75\":702,\"50\":400},\"backends.mod_muc_light_db.calls.get_config\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.store_room\":{\"one\":66,\"count\":231},\"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\":24,\"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\":51,\"min\":580,\"median\":871,\"mean\":1110,\"max\":10415,\"999\":10415,\"99\":10415,\"95\":1574,\"90\":1311,\"75\":1071,\"50\":871},\"backends.mod_offline.calls.pop_messages\":{\"one\":0,\"count\":305},\"data.dist\":{\"send_pend\":0,\"send_oct\":23743953,\"send_max\":58190,\"send_cnt\":92436,\"recv_oct\":16407453,\"recv_max\":70340,\"recv_cnt\":52597,\"connections\":2},\"backends.mod_muc_light_db.modify_aff_users\":{\"n\":4,\"min\":3604,\"median\":3604,\"mean\":4938,\"max\":6272,\"999\":6272,\"99\":6272,\"95\":6272,\"90\":6272,\"75\":6272,\"50\":3604},\"backends.mod_muc_light_db.get_blocking\":{\"n\":22,\"min\":542,\"median\":741,\"mean\":1215,\"max\":9188,\"999\":9188,\"99\":9188,\"95\":9188,\"90\":1099,\"75\":959,\"50\":741},\"backends.mod_muc_light_db.calls.get_aff_users\":{\"one\":65,\"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\":39,\"min\":461,\"median\":839,\"mean\":1033,\"max\":14022,\"999\":14022,\"99\":14022,\"95\":1484,\"90\":1410,\"75\":1168,\"50\":839},\"backends.mod_roster.roster_subscribe_t\":{\"n\":53,\"min\":474,\"median\":1291,\"mean\":5395,\"max\":54052,\"999\":54052,\"99\":54052,\"95\":36938,\"90\":15994,\"75\":2699,\"50\":1291},\"backends.mod_inbox.calls.reset_unread\":{\"one\":0,\"count\":129},\"backends.mod_roster.get_subscription_lists\":{\"n\":20,\"min\":604,\"median\":780,\"mean\":782,\"max\":960,\"999\":960,\"99\":960,\"95\":953,\"90\":916,\"75\":830,\"50\":780},\"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\":60,\"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\":492,\"count\":2026},\"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\":892,\"median\":1290,\"mean\":1342,\"max\":6295,\"999\":6295,\"99\":6295,\"95\":2190,\"90\":2055,\"75\":1362,\"50\":1290},\"backends.mod_muc_online.calls.room_destroyed\":{\"one\":78,\"count\":287},\"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\":6,\"count\":21},\"backends.mod_muc_light_db.calls.modify_aff_users\":{\"one\":3,\"count\":25},\"mod_muc.process_recreations\":{\"one\":0,\"count\":0},\"clusterSize\":{\"value\":1},\"backends.mod_roster.calls.roster_subscribe_t\":{\"one\":104,\"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\":3114,\"min\":169,\"median\":888,\"mean\":3081,\"max\":79770,\"999\":74664,\"99\":23765,\"95\":10179,\"90\":4799,\"75\":2002,\"50\":888},\"backends.mod_roster.update_roster_t\":{\"n\":9,\"min\":1327,\"median\":2048,\"mean\":1885,\"max\":2586,\"999\":2586,\"99\":2586,\"95\":2586,\"90\":2586,\"75\":2143,\"50\":2048},\"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\":198137},\"backends.mod_muc.store_room\":{\"n\":54,\"min\":2700,\"median\":4764,\"mean\":11510,\"max\":80006,\"999\":80006,\"99\":80006,\"95\":66482,\"90\":30536,\"75\":9861,\"50\":4764},\"erlang.memory\":{\"total\":166373568,\"system\":96088288,\"processes_used\":70548768,\"ets\":15936488,\"binary\":1269856,\"atom_used\":1277040},\"backends.mod_vcard.calls.get_vcard\":{\"one\":0,\"count\":0},\"erlang.system_info\":{\"process_limit\":262144,\"process_count\":1998,\"port_limit\":65536,\"port_count\":46,\"ets_limit\":8192},\"backends.mod_muc_light_db.calls.create_room\":{\"one\":28,\"count\":101},\"tcpPortsUsed\":{\"value\":38},\"data.xmpp.sent.c2s.tcp\":{\"one\":2617404,\"count\":10540544},\"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\":1},\"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\":84,\"min\":374,\"median\":992,\"mean\":1874,\"max\":35840,\"999\":35840,\"99\":19481,\"95\":7170,\"90\":2828,\"75\":1399,\"50\":992},\"data.xmpp.sent.s2s\":{\"one\":0,\"count\":0},\"backends.mod_muc.can_use_nick\":{\"n\":49,\"min\":356,\"median\":1136,\"mean\":11464,\"max\":77019,\"999\":77019,\"99\":77019,\"95\":68502,\"90\":36530,\"75\":4976,\"50\":1136},\"backends.mod_roster.calls.get_roster\":{\"one\":636,\"count\":2452},\"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\":104,\"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\":3414,\"count\":14124},\"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\":1141,\"median\":1141,\"mean\":1141,\"max\":1141,\"999\":1141,\"99\":1141,\"95\":1141,\"90\":1141,\"75\":1141,\"50\":1141},\"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\":65,\"min\":11,\"median\":102,\"mean\":85,\"max\":200,\"999\":200,\"99\":137,\"95\":137,\"90\":137,\"75\":137,\"50\":102},\"data.xmpp.received.c2s.tcp\":{\"one\":709438,\"count\":2949256},\"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\":77,\"min\":16,\"median\":173,\"mean\":158,\"max\":359,\"999\":359,\"99\":345,\"95\":253,\"90\":212,\"75\":191,\"50\":173},\"backends.mod_muc_light_db.create_room\":{\"n\":26,\"min\":2989,\"median\":7083,\"mean\":9892,\"max\":28379,\"999\":28379,\"99\":28379,\"95\":28379,\"90\":23334,\"75\":13382,\"50\":7083},\"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\":6,\"count\":21},\"backends.mod_muc_online.calls.register_room\":{\"one\":78,\"count\":287},\"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\":700},\"backends.mod_muc_online.room_destroyed\":{\"n\":59,\"min\":61,\"median\":133,\"mean\":141,\"max\":397,\"999\":397,\"99\":350,\"95\":219,\"90\":170,\"75\":147,\"50\":133},\"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\":23502734,\"send_max\":44431,\"send_cnt\":83260,\"recv_oct\":9336354,\"recv_max\":13584,\"recv_cnt\":83260},\"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\":17233,\"count\":68466},\"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\":57,\"min\":46,\"median\":142,\"mean\":173,\"max\":589,\"999\":589,\"99\":589,\"95\":418,\"90\":293,\"75\":170,\"50\":142},\"backends.mod_inbox.calls.get_inbox\":{\"one\":0,\"count\":816},\"backends.mod_roster.calls.get_roster_entry\":{\"one\":168,\"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\":49,\"count\":260}}}">>,
         12539,8828}
Params: #{path => <<"/api/metrics/global/">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,role => admin,method => <<"GET">>,return_maps => true,
          return_headers => true}

*** CT 2024-03-11 09:01:52.837 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2337.html



=== Ended at 2024-03-11 09:01:52
=== successfully completed test case
=== === Returned value: ok


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