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

=== Config value:

    [{watchdog,<0.62291.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@b4ad729f7f38.2024-03-11_11.28.48/big_tests.tests.metrics_api_SUITE.logs/run.2024-03-11_11.39.50/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@b4ad729f7f38.2024-03-11_11.28.48/big_tests.tests.metrics_api_SUITE.logs/run.2024-03-11_11.39.50/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{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_sic => #{iqdisc => one_queue},
        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_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_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,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@b4ad729f7f38.2024-03-11_11.28.48"

=== Started at 2024-03-11 11:39:58


*** CT 2024-03-11 11:39:58.568 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2324.html

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


*** User 2024-03-11 11:39:58.580 ***🔗
REST request:
Code: 200
Req: {<0.62345.0>,<<"/api/metrics/global/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"819cc20195ce24b3">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 11 Mar 2024 11:39:57 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"12369">>}],
         <<"{\"metrics\":{\"backends.mod_muc.forget_room\":{\"n\":69,\"min\":1919,\"median\":3764,\"mean\":14831,\"max\":94872,\"999\":94872,\"99\":85751,\"95\":72929,\"90\":68427,\"75\":7722,\"50\":3764},\"mod_muc.hibernated_rooms\":{\"value\":0},\"backends.mongoose_rdbms.query\":{\"n\":1107,\"min\":141,\"median\":390,\"mean\":1843,\"max\":125184,\"999\":125184,\"99\":16868,\"95\":5485,\"90\":1337,\"75\":596,\"50\":390},\"backends.mod_muc_light_db.calls.get_config\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.store_room\":{\"one\":114,\"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\":31,\"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\":64,\"min\":435,\"median\":771,\"mean\":1063,\"max\":8961,\"999\":8961,\"99\":8961,\"95\":1395,\"90\":1114,\"75\":932,\"50\":771},\"backends.mod_offline.calls.pop_messages\":{\"one\":0,\"count\":303},\"data.dist\":{\"send_pend\":0,\"send_oct\":24270722,\"send_max\":58190,\"send_cnt\":96122,\"recv_oct\":16388784,\"recv_max\":70207,\"recv_cnt\":54594,\"connections\":2},\"backends.mod_muc_light_db.modify_aff_users\":{\"n\":5,\"min\":3021,\"median\":3503,\"mean\":3773,\"max\":4797,\"999\":4797,\"99\":4797,\"95\":4797,\"90\":4797,\"75\":4797,\"50\":3503},\"backends.mod_muc_light_db.get_blocking\":{\"n\":29,\"min\":403,\"median\":704,\"mean\":1480,\"max\":12990,\"999\":12990,\"99\":12990,\"95\":12990,\"90\":1057,\"75\":921,\"50\":704},\"backends.mod_muc_light_db.calls.get_aff_users\":{\"one\":83,\"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\":48,\"min\":420,\"median\":706,\"mean\":737,\"max\":1291,\"999\":1291,\"99\":1291,\"95\":1109,\"90\":996,\"75\":865,\"50\":706},\"backends.mod_roster.roster_subscribe_t\":{\"n\":53,\"min\":464,\"median\":1047,\"mean\":2701,\"max\":57691,\"999\":57691,\"99\":29693,\"95\":1893,\"90\":1807,\"75\":1287,\"50\":1047},\"backends.mod_inbox.calls.reset_unread\":{\"one\":0,\"count\":129},\"backends.mod_roster.get_subscription_lists\":{\"n\":386,\"min\":380,\"median\":825,\"mean\":2545,\"max\":72543,\"999\":72543,\"99\":57468,\"95\":7675,\"90\":2428,\"75\":1142,\"50\":825},\"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\":90,\"count\":210},\"data.xmpp.sent.c2s.bosh\":{\"one\":0,\"count\":0},\"backends.mod_inbox.calls.set_inbox_incr_unread\":{\"one\":0,\"count\":425},\"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\":644,\"count\":2023},\"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\":407,\"min\":679,\"median\":1868,\"mean\":3603,\"max\":72474,\"999\":72474,\"99\":49021,\"95\":9916,\"90\":4810,\"75\":2975,\"50\":1868},\"backends.mod_muc_online.calls.room_destroyed\":{\"one\":132,\"count\":322},\"backends.mod_muc.calls.set_nick\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.remove_user\":{\"one\":0,\"count\":514},\"data.xmpp.received.s2s\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.del_roster_t\":{\"one\":0,\"count\":0},\"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\":26,\"regular\":26,\"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\":3,\"count\":25},\"mod_muc.process_recreations\":{\"one\":0,\"count\":0},\"clusterSize\":{\"value\":1},\"backends.mod_roster.calls.roster_subscribe_t\":{\"one\":120,\"count\":220},\"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\":0,\"count\":0},\"backends.mongoose_rdbms.execute\":{\"n\":3480,\"min\":174,\"median\":782,\"mean\":2175,\"max\":91378,\"999\":53579,\"99\":18359,\"95\":5948,\"90\":2491,\"75\":1285,\"50\":782},\"backends.mod_roster.update_roster_t\":{\"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.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\":200132},\"backends.mod_muc.store_room\":{\"n\":79,\"min\":1842,\"median\":3884,\"mean\":8259,\"max\":60601,\"999\":60601,\"99\":57934,\"95\":52146,\"90\":21422,\"75\":4713,\"50\":3884},\"erlang.memory\":{\"total\":164477648,\"system\":99671672,\"processes_used\":65195616,\"ets\":16290592,\"binary\":1502488,\"atom_used\":1314895},\"backends.mod_vcard.calls.get_vcard\":{\"one\":0,\"count\":0},\"erlang.system_info\":{\"process_limit\":262144,\"process_count\":2260,\"port_limit\":65536,\"port_count\":50,\"ets_limit\":8192},\"backends.mod_muc_light_db.calls.create_room\":{\"one\":36,\"count\":101},\"tcpPortsUsed\":{\"value\":40},\"data.xmpp.sent.c2s.tcp\":{\"one\":3426897,\"count\":10029322},\"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\":8},\"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\":96,\"min\":339,\"median\":1024,\"mean\":2651,\"max\":55326,\"999\":55326,\"99\":34684,\"95\":7514,\"90\":3812,\"75\":1583,\"50\":1024},\"data.xmpp.sent.s2s\":{\"one\":0,\"count\":0},\"backends.mod_muc.can_use_nick\":{\"n\":64,\"min\":408,\"median\":1246,\"mean\":5999,\"max\":74285,\"999\":74285,\"99\":74285,\"95\":34037,\"90\":23097,\"75\":2412,\"50\":1246},\"backends.mod_roster.calls.get_roster\":{\"one\":846,\"count\":2440},\"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\":156,\"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\":30907},\"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\":4508,\"count\":14112},\"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\":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.tls\":{\"one\":0,\"count\":61420},\"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\":1623,\"min\":11,\"median\":114,\"mean\":114,\"max\":1460,\"999\":916,\"99\":330,\"95\":211,\"90\":181,\"75\":137,\"50\":114},\"data.xmpp.received.c2s.tcp\":{\"one\":936242,\"count\":2975035},\"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\":1866,\"min\":16,\"median\":217,\"mean\":263,\"max\":1214,\"999\":833,\"99\":685,\"95\":514,\"90\":422,\"75\":334,\"50\":217},\"backends.mod_muc_light_db.create_room\":{\"n\":34,\"min\":2930,\"median\":4525,\"mean\":6109,\"max\":19263,\"999\":19263,\"99\":19263,\"95\":16706,\"90\":14255,\"75\":6551,\"50\":4525},\"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\":132,\"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\":700},\"backends.mod_muc_online.room_destroyed\":{\"n\":93,\"min\":57,\"median\":126,\"mean\":141,\"max\":635,\"999\":635,\"99\":635,\"95\":278,\"90\":193,\"75\":146,\"50\":126},\"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\":22286947,\"send_max\":48236,\"send_cnt\":83580,\"recv_oct\":9139706,\"recv_max\":12816,\"recv_cnt\":83580},\"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\":23998,\"count\":68814},\"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\":86,\"min\":50,\"median\":134,\"mean\":154,\"max\":617,\"999\":617,\"99\":617,\"95\":406,\"90\":209,\"75\":159,\"50\":134},\"backends.mod_inbox.calls.get_inbox\":{\"one\":0,\"count\":808},\"backends.mod_roster.calls.get_roster_entry\":{\"one\":193,\"count\":357},\"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\":62,\"count\":260}}}">>,
         12496,8800}
Params: #{path => <<"/api/metrics/global/">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,return_maps => true,
          return_headers => true}


*** User 2024-03-11 11:39:59.345 ***🔗
waiting for verify_result is done in 0 miliseconds

*** User 2024-03-11 11:39:59.345 ***🔗
waiting for verify_mongooseim_started is done in 0 miliseconds

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


*** User 2024-03-11 11:39:59.356 ***🔗
REST request:
Code: 200
Req: {<0.62349.0>,<<"/api/metrics/global/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"95b64b3583d42e79">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 11 Mar 2024 11:39:58 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"12369">>}],
         <<"{\"metrics\":{\"backends.mod_muc.forget_room\":{\"n\":69,\"min\":1919,\"median\":3764,\"mean\":14831,\"max\":94872,\"999\":94872,\"99\":85751,\"95\":72929,\"90\":68427,\"75\":7722,\"50\":3764},\"mod_muc.hibernated_rooms\":{\"value\":0},\"backends.mongoose_rdbms.query\":{\"n\":1085,\"min\":141,\"median\":393,\"mean\":1859,\"max\":125184,\"999\":125184,\"99\":16868,\"95\":5485,\"90\":1330,\"75\":597,\"50\":393},\"backends.mod_muc_light_db.calls.get_config\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.store_room\":{\"one\":114,\"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\":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\":53,\"min\":435,\"median\":809,\"mean\":1129,\"max\":8961,\"999\":8961,\"99\":8961,\"95\":1395,\"90\":1166,\"75\":948,\"50\":809},\"backends.mod_offline.calls.pop_messages\":{\"one\":0,\"count\":303},\"data.dist\":{\"send_pend\":0,\"send_oct\":24398137,\"send_max\":58190,\"send_cnt\":96647,\"recv_oct\":16432742,\"recv_max\":70207,\"recv_cnt\":55036,\"connections\":2},\"backends.mod_muc_light_db.modify_aff_users\":{\"n\":5,\"min\":3021,\"median\":3503,\"mean\":3773,\"max\":4797,\"999\":4797,\"99\":4797,\"95\":4797,\"90\":4797,\"75\":4797,\"50\":3503},\"backends.mod_muc_light_db.get_blocking\":{\"n\":26,\"min\":403,\"median\":692,\"mean\":1568,\"max\":12990,\"999\":12990,\"99\":12990,\"95\":12990,\"90\":1057,\"75\":921,\"50\":692},\"backends.mod_muc_light_db.calls.get_aff_users\":{\"one\":71,\"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\":420,\"median\":712,\"mean\":734,\"max\":1252,\"999\":1252,\"99\":1252,\"95\":1082,\"90\":996,\"75\":853,\"50\":712},\"backends.mod_roster.roster_subscribe_t\":{\"n\":53,\"min\":464,\"median\":1047,\"mean\":2701,\"max\":57691,\"999\":57691,\"99\":29693,\"95\":1893,\"90\":1807,\"75\":1287,\"50\":1047},\"backends.mod_inbox.calls.reset_unread\":{\"one\":0,\"count\":129},\"backends.mod_roster.get_subscription_lists\":{\"n\":379,\"min\":380,\"median\":833,\"mean\":2582,\"max\":72543,\"999\":72543,\"99\":57468,\"95\":7675,\"90\":2491,\"75\":1166,\"50\":833},\"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\":90,\"count\":210},\"data.xmpp.sent.c2s.bosh\":{\"one\":0,\"count\":0},\"backends.mod_inbox.calls.set_inbox_incr_unread\":{\"one\":0,\"count\":425},\"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\":630,\"count\":2023},\"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\":400,\"min\":679,\"median\":1892,\"mean\":3642,\"max\":72474,\"999\":72474,\"99\":49021,\"95\":9916,\"90\":4882,\"75\":3008,\"50\":1892},\"backends.mod_muc_online.calls.room_destroyed\":{\"one\":132,\"count\":322},\"backends.mod_muc.calls.set_nick\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.remove_user\":{\"one\":0,\"count\":514},\"data.xmpp.received.s2s\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.del_roster_t\":{\"one\":0,\"count\":0},\"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\":26,\"regular\":26,\"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\":3,\"count\":25},\"mod_muc.process_recreations\":{\"one\":0,\"count\":0},\"clusterSize\":{\"value\":2},\"backends.mod_roster.calls.roster_subscribe_t\":{\"one\":120,\"count\":220},\"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\":0,\"count\":0},\"backends.mongoose_rdbms.execute\":{\"n\":3403,\"min\":174,\"median\":783,\"mean\":2195,\"max\":91378,\"999\":53579,\"99\":19064,\"95\":6092,\"90\":2501,\"75\":1286,\"50\":783},\"backends.mod_roster.update_roster_t\":{\"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.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\":200908},\"backends.mod_muc.store_room\":{\"n\":79,\"min\":1842,\"median\":3884,\"mean\":8259,\"max\":60601,\"999\":60601,\"99\":57934,\"95\":52146,\"90\":21422,\"75\":4713,\"50\":3884},\"erlang.memory\":{\"total\":165562240,\"system\":99658600,\"processes_used\":66292704,\"ets\":16301688,\"binary\":1478360,\"atom_used\":1314895},\"backends.mod_vcard.calls.get_vcard\":{\"one\":0,\"count\":0},\"erlang.system_info\":{\"process_limit\":262144,\"process_count\":2260,\"port_limit\":65536,\"port_count\":50,\"ets_limit\":8192},\"backends.mod_muc_light_db.calls.create_room\":{\"one\":29,\"count\":101},\"tcpPortsUsed\":{\"value\":40},\"data.xmpp.sent.c2s.tcp\":{\"one\":3364301,\"count\":10029322},\"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\":8},\"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\":96,\"min\":339,\"median\":1024,\"mean\":2651,\"max\":55326,\"999\":55326,\"99\":34684,\"95\":7514,\"90\":3812,\"75\":1583,\"50\":1024},\"data.xmpp.sent.s2s\":{\"one\":0,\"count\":0},\"backends.mod_muc.can_use_nick\":{\"n\":64,\"min\":408,\"median\":1246,\"mean\":5999,\"max\":74285,\"999\":74285,\"99\":74285,\"95\":34037,\"90\":23097,\"75\":2412,\"50\":1246},\"backends.mod_roster.calls.get_roster\":{\"one\":846,\"count\":2440},\"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\":156,\"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\":30907},\"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\":4494,\"count\":14112},\"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\":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.tls\":{\"one\":0,\"count\":61420},\"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\":1590,\"min\":11,\"median\":114,\"mean\":115,\"max\":1460,\"999\":916,\"99\":330,\"95\":212,\"90\":181,\"75\":137,\"50\":114},\"data.xmpp.received.c2s.tcp\":{\"one\":921612,\"count\":2975035},\"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\":1825,\"min\":16,\"median\":217,\"mean\":262,\"max\":1214,\"999\":833,\"99\":696,\"95\":514,\"90\":417,\"75\":333,\"50\":217},\"backends.mod_muc_light_db.create_room\":{\"n\":30,\"min\":2930,\"median\":4384,\"mean\":6119,\"max\":19263,\"999\":19263,\"99\":19263,\"95\":19263,\"90\":14255,\"75\":6551,\"50\":4384},\"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\":132,\"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\":701},\"backends.mod_muc_online.room_destroyed\":{\"n\":93,\"min\":57,\"median\":126,\"mean\":141,\"max\":635,\"999\":635,\"99\":635,\"95\":278,\"90\":193,\"75\":146,\"50\":126},\"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\":22286947,\"send_max\":48236,\"send_cnt\":83580,\"recv_oct\":9139706,\"recv_max\":12816,\"recv_cnt\":83580},\"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\":23703,\"count\":68814},\"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\":86,\"min\":50,\"median\":134,\"mean\":154,\"max\":617,\"999\":617,\"99\":617,\"95\":406,\"90\":209,\"75\":159,\"50\":134},\"backends.mod_inbox.calls.get_inbox\":{\"one\":0,\"count\":808},\"backends.mod_roster.calls.get_roster_entry\":{\"one\":193,\"count\":357},\"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\":53,\"count\":260}}}">>,
         12496,8634}
Params: #{path => <<"/api/metrics/global/">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,return_maps => true,
          return_headers => true}


*** User 2024-03-11 11:40:00.035 ***🔗
waiting for verify_result is done in 0 miliseconds

*** User 2024-03-11 11:40:00.036 ***🔗
waiting for verify_mongooseim_started is done in 0 miliseconds

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


*** User 2024-03-11 11:40:00.046 ***🔗
REST request:
Code: 200
Req: {<0.62353.0>,<<"/api/metrics/global/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"6c9e282d1a47f798">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 11 Mar 2024 11:39:59 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"12368">>}],
         <<"{\"metrics\":{\"backends.mod_muc.forget_room\":{\"n\":69,\"min\":1919,\"median\":3764,\"mean\":14831,\"max\":94872,\"999\":94872,\"99\":85751,\"95\":72929,\"90\":68427,\"75\":7722,\"50\":3764},\"mod_muc.hibernated_rooms\":{\"value\":0},\"backends.mongoose_rdbms.query\":{\"n\":1069,\"min\":141,\"median\":390,\"mean\":1858,\"max\":125184,\"999\":125184,\"99\":16868,\"95\":5485,\"90\":1290,\"75\":590,\"50\":390},\"backends.mod_muc_light_db.calls.get_config\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.store_room\":{\"one\":114,\"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\":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\":53,\"min\":435,\"median\":809,\"mean\":1129,\"max\":8961,\"999\":8961,\"99\":8961,\"95\":1395,\"90\":1166,\"75\":948,\"50\":809},\"backends.mod_offline.calls.pop_messages\":{\"one\":0,\"count\":303},\"data.dist\":{\"send_pend\":0,\"send_oct\":24413954,\"send_max\":58190,\"send_cnt\":96671,\"recv_oct\":16434931,\"recv_max\":70207,\"recv_cnt\":55059,\"connections\":2},\"backends.mod_muc_light_db.modify_aff_users\":{\"n\":5,\"min\":3021,\"median\":3503,\"mean\":3773,\"max\":4797,\"999\":4797,\"99\":4797,\"95\":4797,\"90\":4797,\"75\":4797,\"50\":3503},\"backends.mod_muc_light_db.get_blocking\":{\"n\":26,\"min\":403,\"median\":692,\"mean\":1568,\"max\":12990,\"999\":12990,\"99\":12990,\"95\":12990,\"90\":1057,\"75\":921,\"50\":692},\"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\":420,\"median\":712,\"mean\":734,\"max\":1252,\"999\":1252,\"99\":1252,\"95\":1082,\"90\":996,\"75\":853,\"50\":712},\"backends.mod_roster.roster_subscribe_t\":{\"n\":43,\"min\":464,\"median\":1002,\"mean\":2149,\"max\":57691,\"999\":57691,\"99\":57691,\"95\":1893,\"90\":1702,\"75\":1220,\"50\":1002},\"backends.mod_inbox.calls.reset_unread\":{\"one\":0,\"count\":129},\"backends.mod_roster.get_subscription_lists\":{\"n\":372,\"min\":380,\"median\":822,\"mean\":2608,\"max\":72543,\"999\":72543,\"99\":57468,\"95\":7675,\"90\":2538,\"75\":1170,\"50\":822},\"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\":90,\"count\":210},\"data.xmpp.sent.c2s.bosh\":{\"one\":0,\"count\":0},\"backends.mod_inbox.calls.set_inbox_incr_unread\":{\"one\":0,\"count\":425},\"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\":614,\"count\":2023},\"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\":400,\"min\":679,\"median\":1892,\"mean\":3642,\"max\":72474,\"999\":72474,\"99\":49021,\"95\":9916,\"90\":4882,\"75\":3008,\"50\":1892},\"backends.mod_muc_online.calls.room_destroyed\":{\"one\":132,\"count\":322},\"backends.mod_muc.calls.set_nick\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.remove_user\":{\"one\":0,\"count\":514},\"data.xmpp.received.s2s\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.del_roster_t\":{\"one\":0,\"count\":0},\"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\":26,\"regular\":26,\"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\":3,\"count\":25},\"mod_muc.process_recreations\":{\"one\":0,\"count\":0},\"clusterSize\":{\"value\":1},\"backends.mod_roster.calls.roster_subscribe_t\":{\"one\":96,\"count\":220},\"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\":0,\"count\":0},\"backends.mongoose_rdbms.execute\":{\"n\":3336,\"min\":174,\"median\":779,\"mean\":2174,\"max\":91378,\"999\":53579,\"99\":19656,\"95\":5971,\"90\":2491,\"75\":1275,\"50\":779},\"backends.mod_roster.update_roster_t\":{\"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.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\":201598},\"backends.mod_muc.store_room\":{\"n\":79,\"min\":1842,\"median\":3884,\"mean\":8259,\"max\":60601,\"999\":60601,\"99\":57934,\"95\":52146,\"90\":21422,\"75\":4713,\"50\":3884},\"erlang.memory\":{\"total\":168463080,\"system\":99664248,\"processes_used\":69187952,\"ets\":16301552,\"binary\":1484192,\"atom_used\":1314895},\"backends.mod_vcard.calls.get_vcard\":{\"one\":0,\"count\":0},\"erlang.system_info\":{\"process_limit\":262144,\"process_count\":2260,\"port_limit\":65536,\"port_count\":50,\"ets_limit\":8192},\"backends.mod_muc_light_db.calls.create_room\":{\"one\":28,\"count\":101},\"tcpPortsUsed\":{\"value\":40},\"data.xmpp.sent.c2s.tcp\":{\"one\":3231834,\"count\":10029322},\"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\":8},\"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\":75,\"min\":339,\"median\":1015,\"mean\":1932,\"max\":14919,\"999\":14919,\"99\":14919,\"95\":5259,\"90\":3812,\"75\":1395,\"50\":1015},\"data.xmpp.sent.s2s\":{\"one\":0,\"count\":0},\"backends.mod_muc.can_use_nick\":{\"n\":64,\"min\":408,\"median\":1246,\"mean\":5999,\"max\":74285,\"999\":74285,\"99\":74285,\"95\":34037,\"90\":23097,\"75\":2412,\"50\":1246},\"backends.mod_roster.calls.get_roster\":{\"one\":833,\"count\":2440},\"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\":156,\"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\":30907},\"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\":4384,\"count\":14112},\"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\":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.tls\":{\"one\":0,\"count\":61420},\"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\":1529,\"min\":11,\"median\":113,\"mean\":114,\"max\":1460,\"999\":916,\"99\":333,\"95\":212,\"90\":177,\"75\":137,\"50\":113},\"data.xmpp.received.c2s.tcp\":{\"one\":880227,\"count\":2975035},\"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\":1761,\"min\":16,\"median\":215,\"mean\":260,\"max\":1214,\"999\":833,\"99\":676,\"95\":514,\"90\":422,\"75\":329,\"50\":215},\"backends.mod_muc_light_db.create_room\":{\"n\":30,\"min\":2930,\"median\":4384,\"mean\":6119,\"max\":19263,\"999\":19263,\"99\":19263,\"95\":19263,\"90\":14255,\"75\":6551,\"50\":4384},\"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\":132,\"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\":701},\"backends.mod_muc_online.room_destroyed\":{\"n\":93,\"min\":57,\"median\":126,\"mean\":141,\"max\":635,\"999\":635,\"99\":635,\"95\":278,\"90\":193,\"75\":146,\"50\":126},\"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\":22286947,\"send_max\":48236,\"send_cnt\":83580,\"recv_oct\":9139706,\"recv_max\":12816,\"recv_cnt\":83580},\"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\":22948,\"count\":68814},\"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\":86,\"min\":50,\"median\":134,\"mean\":154,\"max\":617,\"999\":617,\"99\":617,\"95\":406,\"90\":209,\"75\":159,\"50\":134},\"backends.mod_inbox.calls.get_inbox\":{\"one\":0,\"count\":808},\"backends.mod_roster.calls.get_roster_entry\":{\"one\":151,\"count\":357},\"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}}}">>,
         12495,7901}
Params: #{path => <<"/api/metrics/global/">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => admin,return_maps => true,
          return_headers => true}

*** CT 2024-03-11 11:40:00.049 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2326.html



=== Ended at 2024-03-11 11:40:00
=== successfully completed test case
=== === Returned value: ok


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