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

=== Config value:

    [{watchdog,<0.26901.1>},
     {preset,"pgsql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/metrics_api_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@1d8001dd39bd.2023-11-13_19.21.09/big_tests.tests.metrics_api_SUITE.logs/run.2023-11-13_19.29.36/metrics_api_suite.session_counters.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@1d8001dd39bd.2023-11-13_19.21.09/big_tests.tests.metrics_api_SUITE.logs/run.2023-11-13_19.29.36/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_amp => #{},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{number_of_segments => 5,strategy => fifo,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue},
        mod_disco =>
            #{extra_domains => [],iqdisc => one_queue,server_info => [],
              users_can_see_hidden_services => false},
        mod_presence => #{},
        mod_register =>
            #{access => register,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}],
              iqdisc => one_queue,password_strength => 0,
              registration_watchers => []},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,store_current_id => false,
              versioning => false},
        mod_sic => #{iqdisc => one_queue},
        mod_stream_management =>
            #{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
              buffer_max => 100,resume_timeout => 600,
              stale_h =>
                  #{enabled => false,geriatric => 3600,repeat_after => 1800}},
        mod_vcard =>
            #{backend => rdbms,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,matches => 30,search => true}}},
     {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@1d8001dd39bd.2023-11-13_19.21.09"

=== Started at 2023-11-13 19:29:40


*** CT 2023-11-13 19:29:40.358 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2258.html

*** User 2023-11-13 19:29:40.360 ***🔗
alicE@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-13 19:29:40.360 ***🔗
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='67b03ffd19fb2f21' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-13 19:29:40.361 ***🔗
alicE@domain.example.com/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-13 19:29:40.361 ***🔗
alicE@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2023-11-13 19:29:40.362 ***🔗
alicE@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-13 19:29:40.362 ***🔗
alicE@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-13 19:29:40.362 ***🔗
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7008af2b62eccb8d' from='domain.example.com' version='1.0' xml:lang='en' to='alice@domain.example.com'>

*** User 2023-11-13 19:29:40.362 ***🔗
alicE@domain.example.com/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-13 19:29:40.362 ***🔗
alicE@domain.example.com/res1 out
<iq type='set' id='a52e279a1010ba148eb8ed2625c6f106'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-13 19:29:40.362 ***🔗
alicE@domain.example.com/res1 in
<iq id='a52e279a1010ba148eb8ed2625c6f106' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-13 19:29:40.363 ***🔗
alice@domain.example.com/res1 out
<iq type='set' id='ab24640b1188c5fd33b9a39bdfb73b0b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-13 19:29:40.363 ***🔗
alice@domain.example.com/res1 in
<iq from='domain.example.com' to='alice@domain.example.com/res1' id='ab24640b1188c5fd33b9a39bdfb73b0b' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-13 19:29:40.363 ***🔗
alice@domain.example.com/res1 out
<presence/>



*** User 2023-11-13 19:29:40.364 ***🔗
alice@domain.example.com/res1 in
<presence from='alice@domain.example.com/res1' to='alice@domain.example.com/res1'/>



*** User 2023-11-13 19:29:40.364 ***🔗
alicE@domain.example.com/res2 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-13 19:29:40.365 ***🔗
alicE@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cde9428733df0a35' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-13 19:29:40.365 ***🔗
alicE@domain.example.com/res2 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-13 19:29:40.365 ***🔗
alicE@domain.example.com/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2023-11-13 19:29:40.366 ***🔗
alicE@domain.example.com/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-13 19:29:40.366 ***🔗
alicE@domain.example.com/res2 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-13 19:29:40.366 ***🔗
alicE@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='25b83a94300d3a5d' from='domain.example.com' version='1.0' xml:lang='en' to='alice@domain.example.com'>

*** User 2023-11-13 19:29:40.366 ***🔗
alicE@domain.example.com/res2 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-13 19:29:40.366 ***🔗
alicE@domain.example.com/res2 out
<iq type='set' id='5e86cfb02000f4c86dde1b802b5188e0'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2023-11-13 19:29:40.366 ***🔗
alicE@domain.example.com/res2 in
<iq id='5e86cfb02000f4c86dde1b802b5188e0' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice@domain.example.com/res2</jid>
	</bind>
</iq>



*** User 2023-11-13 19:29:40.366 ***🔗
alice@domain.example.com/res2 out
<iq type='set' id='c26febd455a345ab1cb5dd49d58174f7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-13 19:29:40.367 ***🔗
alice@domain.example.com/res2 in
<iq from='domain.example.com' to='alice@domain.example.com/res2' id='c26febd455a345ab1cb5dd49d58174f7' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-13 19:29:40.367 ***🔗
alice@domain.example.com/res2 out
<presence/>



*** User 2023-11-13 19:29:40.367 ***🔗
alice@domain.example.com/res2 in
<presence from='alice@domain.example.com/res2' to='alice@domain.example.com/res2'/>



*** User 2023-11-13 19:29:40.367 ***🔗
alice@domain.example.com/res2 in
<presence from='alice@domain.example.com/res1' to='alice@domain.example.com/res2'>
	<delay xmlns='urn:xmpp:delay' stamp='2023-11-13T19:29:40.363861Z' from='alice@domain.example.com/res1'/>
</presence>



*** User 2023-11-13 19:29:40.367 ***🔗
alice@domain.example.com/res1 in
<presence from='alice@domain.example.com/res2' to='alice@domain.example.com/res1'/>



*** User 2023-11-13 19:29:40.368 ***🔗
bOb@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-13 19:29:40.368 ***🔗
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='992fd8fe6938685d' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-13 19:29:40.368 ***🔗
bOb@domain.example.com/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-13 19:29:40.368 ***🔗
bOb@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2023-11-13 19:29:40.369 ***🔗
bOb@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-13 19:29:40.369 ***🔗
bOb@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-13 19:29:40.369 ***🔗
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='02c5a50cd84f57d4' from='domain.example.com' version='1.0' xml:lang='en' to='bob@domain.example.com'>

*** User 2023-11-13 19:29:40.369 ***🔗
bOb@domain.example.com/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-13 19:29:40.369 ***🔗
bOb@domain.example.com/res1 out
<iq type='set' id='3fc5cd8e4b09adc56bbff29854a7cd67'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-13 19:29:40.370 ***🔗
bOb@domain.example.com/res1 in
<iq id='3fc5cd8e4b09adc56bbff29854a7cd67' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-13 19:29:40.370 ***🔗
bob@domain.example.com/res1 out
<iq type='set' id='c0f3af9445c10d2692f0b19e99eb2528'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-13 19:29:40.370 ***🔗
bob@domain.example.com/res1 in
<iq from='domain.example.com' to='bob@domain.example.com/res1' id='c0f3af9445c10d2692f0b19e99eb2528' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-13 19:29:40.370 ***🔗
bob@domain.example.com/res1 out
<presence/>



*** User 2023-11-13 19:29:40.371 ***🔗
bob@domain.example.com/res1 in
<presence from='bob@domain.example.com/res1' to='bob@domain.example.com/res1'/>



*** User 2023-11-13 19:29:41.373 ***🔗
REST request:
Code: 200
Req: {<0.26913.1>,<<"/api/metrics/global/totalSessionCount">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"79776ef976431fed">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 13 Nov 2023 19:29:41 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"metric\":{\"value\":3}}">>,146,396}
Params: #{body => <<>>,method => <<"GET">>,
          path => <<"/api/metrics/global/totalSessionCount">>,
          return_headers => true,return_maps => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2023-11-13 19:29:41.380 ***🔗
REST request:
Code: 200
Req: {<0.26915.1>,<<"/api/metrics/global/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"e7a40795f3b26e21">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 13 Nov 2023 19:29:41 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"12290">>}],
         <<"{\"metrics\":{\"backends.mod_muc.forget_room\":{\"n\":77,\"min\":676,\"median\":1019,\"mean\":1878,\"max\":53078,\"999\":53078,\"99\":53078,\"95\":1998,\"90\":1880,\"75\":1254,\"50\":1019},\"mod_muc.hibernated_rooms\":{\"value\":0},\"backends.mongoose_rdbms.query\":{\"n\":994,\"min\":58,\"median\":203,\"mean\":417,\"max\":51845,\"999\":51845,\"99\":1069,\"95\":525,\"90\":427,\"75\":304,\"50\":203},\"backends.mod_muc_light_db.calls.get_config\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.store_room\":{\"one\":125,\"count\":175},\"backends.mongoose_muc_online.room_destroyed\":{\"n\":85,\"min\":53,\"median\":100,\"mean\":129,\"max\":855,\"999\":855,\"99\":739,\"95\":270,\"90\":219,\"75\":144,\"50\":100},\"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\":25,\"count\":97},\"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\":46,\"min\":1,\"median\":2,\"mean\":29,\"max\":652,\"999\":652,\"99\":652,\"95\":405,\"90\":4,\"75\":3,\"50\":2},\"backends.mod_offline.calls.pop_messages\":{\"one\":0,\"count\":305},\"data.dist\":{\"send_pend\":0,\"send_oct\":21467049,\"send_max\":58148,\"send_cnt\":71289,\"recv_oct\":13512158,\"recv_max\":70357,\"recv_cnt\":40105,\"connections\":2},\"backends.mod_muc_light_db.modify_aff_users\":{\"n\":7,\"min\":134,\"median\":192,\"mean\":223,\"max\":334,\"999\":334,\"99\":334,\"95\":334,\"90\":334,\"75\":317,\"50\":192},\"backends.mod_muc_light_db.get_blocking\":{\"n\":27,\"min\":4,\"median\":6,\"mean\":6,\"max\":8,\"999\":8,\"99\":8,\"95\":8,\"90\":8,\"75\":7,\"50\":6},\"backends.mongoose_muc_online.calls.get_online_rooms\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.get_aff_users\":{\"one\":77,\"count\":254},\"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},\"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\":34,\"min\":4,\"median\":6,\"mean\":20,\"max\":430,\"999\":430,\"99\":430,\"95\":13,\"90\":13,\"75\":11,\"50\":6},\"backends.mod_roster.roster_subscribe_t\":{\"n\":65,\"min\":128,\"median\":355,\"mean\":349,\"max\":958,\"999\":958,\"99\":732,\"95\":700,\"90\":557,\"75\":469,\"50\":355},\"backends.mod_inbox.calls.reset_unread\":{\"one\":0,\"count\":129},\"backends.mod_roster.get_subscription_lists\":{\"n\":20,\"min\":176,\"median\":280,\"mean\":282,\"max\":397,\"999\":397,\"99\":397,\"95\":395,\"90\":345,\"75\":323,\"50\":280},\"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\":110,\"count\":154},\"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\":824,\"count\":1760},\"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\":17,\"min\":330,\"median\":440,\"mean\":441,\"max\":552,\"999\":552,\"99\":552,\"95\":538,\"90\":535,\"75\":492,\"50\":440},\"backends.mongoose_muc_online.register_room\":{\"n\":93,\"min\":41,\"median\":90,\"mean\":131,\"max\":616,\"999\":616,\"99\":616,\"95\":292,\"90\":221,\"75\":116,\"50\":90},\"backends.mod_muc.calls.set_nick\":{\"one\":0,\"count\":0},\"backends.mongoose_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},\"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\":15,\"count\":21},\"backends.mod_muc_light_db.calls.modify_aff_users\":{\"one\":5,\"count\":25},\"mod_muc.process_recreations\":{\"one\":0,\"count\":0},\"clusterSize\":{\"value\":1},\"backends.mod_roster.calls.roster_subscribe_t\":{\"one\":163,\"count\":233},\"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\":2712,\"min\":69,\"median\":294,\"mean\":1069,\"max\":58530,\"999\":51069,\"99\":19703,\"95\":679,\"90\":521,\"75\":389,\"50\":294},\"backends.mod_roster.update_roster_t\":{\"n\":8,\"min\":435,\"median\":759,\"mean\":768,\"max\":1063,\"999\":1063,\"99\":1063,\"95\":1063,\"90\":1063,\"75\":910,\"50\":759},\"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\":125451},\"backends.mod_muc.store_room\":{\"n\":77,\"min\":784,\"median\":1159,\"mean\":1412,\"max\":2989,\"999\":2989,\"99\":2798,\"95\":2634,\"90\":2044,\"75\":1785,\"50\":1159},\"erlang.memory\":{\"total\":153166712,\"system\":95965848,\"processes_used\":57740776,\"ets\":15919624,\"binary\":3336272,\"atom_used\":1255229},\"backends.mod_vcard.calls.get_vcard\":{\"one\":0,\"count\":0},\"erlang.system_info\":{\"process_limit\":262144,\"process_count\":2007,\"port_limit\":65536,\"port_count\":40,\"ets_limit\":8192},\"backends.mod_muc_light_db.calls.create_room\":{\"one\":26,\"count\":73},\"tcpPortsUsed\":{\"value\":32},\"data.xmpp.sent.c2s.tcp\":{\"one\":5006402,\"count\":9527136},\"backends.mod_inbox.calls.set_inbox\":{\"one\":0,\"count\":274},\"uniqueSessionCount\":{\"value\":2},\"backends.mod_inbox.set_entry_properties\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_offline.calls.write_messages\":{\"one\":0,\"count\":2},\"backends.mongoose_muc_online.calls.register_room\":{\"one\":155,\"count\":231},\"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\":109,\"min\":113,\"median\":681,\"mean\":1527,\"max\":40943,\"999\":40943,\"99\":40943,\"95\":2176,\"90\":1801,\"75\":1028,\"50\":681},\"data.xmpp.sent.s2s\":{\"one\":0,\"count\":0},\"backends.mod_muc.can_use_nick\":{\"n\":85,\"min\":168,\"median\":542,\"mean\":2918,\"max\":53753,\"999\":53753,\"99\":53753,\"95\":1343,\"90\":910,\"75\":681,\"50\":542},\"backends.mod_roster.calls.get_roster\":{\"one\":1038,\"count\":2027},\"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\":230,\"count\":366},\"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\":5600,\"count\":12214},\"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\":513,\"median\":513,\"mean\":513,\"max\":513,\"999\":513,\"99\":513,\"95\":513,\"90\":513,\"75\":513,\"50\":513},\"data.xmpp.sent.c2s.tls\":{\"one\":0,\"count\":63814},\"backends.mod_inbox.calls.clear_inbox\":{\"one\":0,\"count\":618},\"backends.mod_inbox.calls.remove_inbox_row\":{\"one\":0,\"count\":14},\"data.xmpp.received.xml_stanza_size\":{\"n\":59,\"min\":11,\"median\":105,\"mean\":86,\"max\":200,\"999\":200,\"99\":137,\"95\":137,\"90\":137,\"75\":137,\"50\":105},\"data.xmpp.received.c2s.tcp\":{\"one\":1303933,\"count\":2658159},\"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},\"data.xmpp.sent.xml_stanza_size\":{\"n\":71,\"min\":16,\"median\":160,\"mean\":158,\"max\":359,\"999\":359,\"99\":345,\"95\":202,\"90\":194,\"75\":191,\"50\":160},\"backends.mod_muc_light_db.create_room\":{\"n\":28,\"min\":122,\"median\":187,\"mean\":291,\"max\":1760,\"999\":1760,\"99\":1760,\"95\":1760,\"90\":527,\"75\":258,\"50\":187},\"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\":15,\"count\":21},\"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\":545},\"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\":10874165,\"send_max\":45529,\"send_cnt\":69808,\"recv_oct\":5865500,\"recv_max\":7258,\"recv_cnt\":69851},\"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\":3},\"backends.mongoose_rdbms.calls.execute\":{\"one\":29102,\"count\":56234},\"backends.mod_vcard.calls.search\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.restore_room\":{\"one\":0,\"count\":0},\"backends.mongoose_muc_online.calls.room_destroyed\":{\"one\":155,\"count\":231},\"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_inbox.calls.get_inbox\":{\"one\":0,\"count\":815},\"backends.mod_roster.calls.get_roster_entry\":{\"one\":263,\"count\":379},\"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\":56,\"count\":225}}}">>,
         12417,6280}
Params: #{body => <<>>,method => <<"GET">>,path => <<"/api/metrics/global/">>,
          return_headers => true,return_maps => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2023-11-13 19:29:41.383 ***🔗
REST request:
Code: 200
Req: {<0.26917.1>,<<"/api/metrics/global/uniqueSessionCount">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"07a366147c92845e">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 13 Nov 2023 19:29:41 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"metric\":{\"value\":2}}">>,146,288}
Params: #{body => <<>>,method => <<"GET">>,
          path => <<"/api/metrics/global/uniqueSessionCount">>,
          return_headers => true,return_maps => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2023-11-13 19:29:41.389 ***🔗
REST request:
Code: 200
Req: {<0.26919.1>,<<"/api/metrics/global/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"90da27d3dc9cff8c">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 13 Nov 2023 19:29:41 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"12290">>}],
         <<"{\"metrics\":{\"backends.mod_muc.forget_room\":{\"n\":77,\"min\":676,\"median\":1019,\"mean\":1878,\"max\":53078,\"999\":53078,\"99\":53078,\"95\":1998,\"90\":1880,\"75\":1254,\"50\":1019},\"mod_muc.hibernated_rooms\":{\"value\":0},\"backends.mongoose_rdbms.query\":{\"n\":994,\"min\":58,\"median\":203,\"mean\":417,\"max\":51845,\"999\":51845,\"99\":1069,\"95\":525,\"90\":427,\"75\":304,\"50\":203},\"backends.mod_muc_light_db.calls.get_config\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.store_room\":{\"one\":125,\"count\":175},\"backends.mongoose_muc_online.room_destroyed\":{\"n\":85,\"min\":53,\"median\":100,\"mean\":129,\"max\":855,\"999\":855,\"99\":739,\"95\":270,\"90\":219,\"75\":144,\"50\":100},\"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\":25,\"count\":97},\"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\":46,\"min\":1,\"median\":2,\"mean\":29,\"max\":652,\"999\":652,\"99\":652,\"95\":405,\"90\":4,\"75\":3,\"50\":2},\"backends.mod_offline.calls.pop_messages\":{\"one\":0,\"count\":305},\"data.dist\":{\"send_pend\":0,\"send_oct\":21476801,\"send_max\":58148,\"send_cnt\":71297,\"recv_oct\":13512670,\"recv_max\":70357,\"recv_cnt\":40109,\"connections\":2},\"backends.mod_muc_light_db.modify_aff_users\":{\"n\":7,\"min\":134,\"median\":192,\"mean\":223,\"max\":334,\"999\":334,\"99\":334,\"95\":334,\"90\":334,\"75\":317,\"50\":192},\"backends.mod_muc_light_db.get_blocking\":{\"n\":27,\"min\":4,\"median\":6,\"mean\":6,\"max\":8,\"999\":8,\"99\":8,\"95\":8,\"90\":8,\"75\":7,\"50\":6},\"backends.mongoose_muc_online.calls.get_online_rooms\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.get_aff_users\":{\"one\":77,\"count\":254},\"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},\"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\":34,\"min\":4,\"median\":6,\"mean\":20,\"max\":430,\"999\":430,\"99\":430,\"95\":13,\"90\":13,\"75\":11,\"50\":6},\"backends.mod_roster.roster_subscribe_t\":{\"n\":65,\"min\":128,\"median\":355,\"mean\":349,\"max\":958,\"999\":958,\"99\":732,\"95\":700,\"90\":557,\"75\":469,\"50\":355},\"backends.mod_inbox.calls.reset_unread\":{\"one\":0,\"count\":129},\"backends.mod_roster.get_subscription_lists\":{\"n\":20,\"min\":176,\"median\":280,\"mean\":282,\"max\":397,\"999\":397,\"99\":397,\"95\":395,\"90\":345,\"75\":323,\"50\":280},\"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\":110,\"count\":154},\"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\":824,\"count\":1760},\"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\":17,\"min\":330,\"median\":440,\"mean\":441,\"max\":552,\"999\":552,\"99\":552,\"95\":538,\"90\":535,\"75\":492,\"50\":440},\"backends.mongoose_muc_online.register_room\":{\"n\":93,\"min\":41,\"median\":90,\"mean\":131,\"max\":616,\"999\":616,\"99\":616,\"95\":292,\"90\":221,\"75\":116,\"50\":90},\"backends.mod_muc.calls.set_nick\":{\"one\":0,\"count\":0},\"backends.mongoose_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},\"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\":15,\"count\":21},\"backends.mod_muc_light_db.calls.modify_aff_users\":{\"one\":5,\"count\":25},\"mod_muc.process_recreations\":{\"one\":0,\"count\":0},\"clusterSize\":{\"value\":1},\"backends.mod_roster.calls.roster_subscribe_t\":{\"one\":163,\"count\":233},\"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\":2712,\"min\":69,\"median\":294,\"mean\":1069,\"max\":58530,\"999\":51069,\"99\":19703,\"95\":679,\"90\":521,\"75\":389,\"50\":294},\"backends.mod_roster.update_roster_t\":{\"n\":8,\"min\":435,\"median\":759,\"mean\":768,\"max\":1063,\"999\":1063,\"99\":1063,\"95\":1063,\"90\":1063,\"75\":910,\"50\":759},\"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\":125460},\"backends.mod_muc.store_room\":{\"n\":77,\"min\":784,\"median\":1159,\"mean\":1412,\"max\":2989,\"999\":2989,\"99\":2798,\"95\":2634,\"90\":2044,\"75\":1785,\"50\":1159},\"erlang.memory\":{\"total\":154788992,\"system\":95965592,\"processes_used\":59223088,\"ets\":15919624,\"binary\":3336272,\"atom_used\":1255229},\"backends.mod_vcard.calls.get_vcard\":{\"one\":0,\"count\":0},\"erlang.system_info\":{\"process_limit\":262144,\"process_count\":2007,\"port_limit\":65536,\"port_count\":40,\"ets_limit\":8192},\"backends.mod_muc_light_db.calls.create_room\":{\"one\":26,\"count\":73},\"tcpPortsUsed\":{\"value\":32},\"data.xmpp.sent.c2s.tcp\":{\"one\":5006402,\"count\":9527136},\"backends.mod_inbox.calls.set_inbox\":{\"one\":0,\"count\":274},\"uniqueSessionCount\":{\"value\":2},\"backends.mod_inbox.set_entry_properties\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_offline.calls.write_messages\":{\"one\":0,\"count\":2},\"backends.mongoose_muc_online.calls.register_room\":{\"one\":155,\"count\":231},\"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\":109,\"min\":113,\"median\":681,\"mean\":1527,\"max\":40943,\"999\":40943,\"99\":40943,\"95\":2176,\"90\":1801,\"75\":1028,\"50\":681},\"data.xmpp.sent.s2s\":{\"one\":0,\"count\":0},\"backends.mod_muc.can_use_nick\":{\"n\":85,\"min\":168,\"median\":542,\"mean\":2918,\"max\":53753,\"999\":53753,\"99\":53753,\"95\":1343,\"90\":910,\"75\":681,\"50\":542},\"backends.mod_roster.calls.get_roster\":{\"one\":1038,\"count\":2027},\"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\":230,\"count\":366},\"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\":5600,\"count\":12214},\"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\":513,\"median\":513,\"mean\":513,\"max\":513,\"999\":513,\"99\":513,\"95\":513,\"90\":513,\"75\":513,\"50\":513},\"data.xmpp.sent.c2s.tls\":{\"one\":0,\"count\":63814},\"backends.mod_inbox.calls.clear_inbox\":{\"one\":0,\"count\":618},\"backends.mod_inbox.calls.remove_inbox_row\":{\"one\":0,\"count\":14},\"data.xmpp.received.xml_stanza_size\":{\"n\":59,\"min\":11,\"median\":105,\"mean\":86,\"max\":200,\"999\":200,\"99\":137,\"95\":137,\"90\":137,\"75\":137,\"50\":105},\"data.xmpp.received.c2s.tcp\":{\"one\":1303933,\"count\":2658159},\"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},\"data.xmpp.sent.xml_stanza_size\":{\"n\":71,\"min\":16,\"median\":160,\"mean\":158,\"max\":359,\"999\":359,\"99\":345,\"95\":202,\"90\":194,\"75\":191,\"50\":160},\"backends.mod_muc_light_db.create_room\":{\"n\":28,\"min\":122,\"median\":187,\"mean\":291,\"max\":1760,\"999\":1760,\"99\":1760,\"95\":1760,\"90\":527,\"75\":258,\"50\":187},\"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\":15,\"count\":21},\"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\":545},\"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\":10874165,\"send_max\":45529,\"send_cnt\":69808,\"recv_oct\":5865500,\"recv_max\":7258,\"recv_cnt\":69851},\"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\":3},\"backends.mongoose_rdbms.calls.execute\":{\"one\":29102,\"count\":56234},\"backends.mod_vcard.calls.search\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.restore_room\":{\"one\":0,\"count\":0},\"backends.mongoose_muc_online.calls.room_destroyed\":{\"one\":155,\"count\":231},\"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_inbox.calls.get_inbox\":{\"one\":0,\"count\":815},\"backends.mod_roster.calls.get_roster_entry\":{\"one\":263,\"count\":379},\"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\":56,\"count\":225}}}">>,
         12417,5949}
Params: #{body => <<>>,method => <<"GET">>,path => <<"/api/metrics/global/">>,
          return_headers => true,return_maps => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2023-11-13 19:29:41.391 ***🔗
REST request:
Code: 200
Req: {<0.26921.1>,<<"/api/metrics/global/nodeSessionCount">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"2042ddd8bf5d7142">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 13 Nov 2023 19:29:41 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"metric\":{\"value\":3}}">>,146,238}
Params: #{body => <<>>,method => <<"GET">>,
          path => <<"/api/metrics/global/nodeSessionCount">>,
          return_headers => true,return_maps => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2023-11-13 19:29:41.398 ***🔗
REST request:
Code: 200
Req: {<0.26923.1>,<<"/api/metrics/global/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"bbf6269535c08460">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 13 Nov 2023 19:29:41 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"12290">>}],
         <<"{\"metrics\":{\"backends.mod_muc.forget_room\":{\"n\":77,\"min\":676,\"median\":1019,\"mean\":1878,\"max\":53078,\"999\":53078,\"99\":53078,\"95\":1998,\"90\":1880,\"75\":1254,\"50\":1019},\"mod_muc.hibernated_rooms\":{\"value\":0},\"backends.mongoose_rdbms.query\":{\"n\":994,\"min\":58,\"median\":203,\"mean\":417,\"max\":51845,\"999\":51845,\"99\":1069,\"95\":525,\"90\":427,\"75\":304,\"50\":203},\"backends.mod_muc_light_db.calls.get_config\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.store_room\":{\"one\":125,\"count\":175},\"backends.mongoose_muc_online.room_destroyed\":{\"n\":85,\"min\":53,\"median\":100,\"mean\":129,\"max\":855,\"999\":855,\"99\":739,\"95\":270,\"90\":219,\"75\":144,\"50\":100},\"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\":25,\"count\":97},\"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\":46,\"min\":1,\"median\":2,\"mean\":29,\"max\":652,\"999\":652,\"99\":652,\"95\":405,\"90\":4,\"75\":3,\"50\":2},\"backends.mod_offline.calls.pop_messages\":{\"one\":0,\"count\":305},\"data.dist\":{\"send_pend\":0,\"send_oct\":21486553,\"send_max\":58148,\"send_cnt\":71305,\"recv_oct\":13513182,\"recv_max\":70357,\"recv_cnt\":40113,\"connections\":2},\"backends.mod_muc_light_db.modify_aff_users\":{\"n\":7,\"min\":134,\"median\":192,\"mean\":223,\"max\":334,\"999\":334,\"99\":334,\"95\":334,\"90\":334,\"75\":317,\"50\":192},\"backends.mod_muc_light_db.get_blocking\":{\"n\":27,\"min\":4,\"median\":6,\"mean\":6,\"max\":8,\"999\":8,\"99\":8,\"95\":8,\"90\":8,\"75\":7,\"50\":6},\"backends.mongoose_muc_online.calls.get_online_rooms\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.get_aff_users\":{\"one\":77,\"count\":254},\"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},\"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\":34,\"min\":4,\"median\":6,\"mean\":20,\"max\":430,\"999\":430,\"99\":430,\"95\":13,\"90\":13,\"75\":11,\"50\":6},\"backends.mod_roster.roster_subscribe_t\":{\"n\":65,\"min\":128,\"median\":355,\"mean\":349,\"max\":958,\"999\":958,\"99\":732,\"95\":700,\"90\":557,\"75\":469,\"50\":355},\"backends.mod_inbox.calls.reset_unread\":{\"one\":0,\"count\":129},\"backends.mod_roster.get_subscription_lists\":{\"n\":20,\"min\":176,\"median\":280,\"mean\":282,\"max\":397,\"999\":397,\"99\":397,\"95\":395,\"90\":345,\"75\":323,\"50\":280},\"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\":110,\"count\":154},\"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\":824,\"count\":1760},\"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\":17,\"min\":330,\"median\":440,\"mean\":441,\"max\":552,\"999\":552,\"99\":552,\"95\":538,\"90\":535,\"75\":492,\"50\":440},\"backends.mongoose_muc_online.register_room\":{\"n\":93,\"min\":41,\"median\":90,\"mean\":131,\"max\":616,\"999\":616,\"99\":616,\"95\":292,\"90\":221,\"75\":116,\"50\":90},\"backends.mod_muc.calls.set_nick\":{\"one\":0,\"count\":0},\"backends.mongoose_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},\"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\":15,\"count\":21},\"backends.mod_muc_light_db.calls.modify_aff_users\":{\"one\":5,\"count\":25},\"mod_muc.process_recreations\":{\"one\":0,\"count\":0},\"clusterSize\":{\"value\":1},\"backends.mod_roster.calls.roster_subscribe_t\":{\"one\":163,\"count\":233},\"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\":2712,\"min\":69,\"median\":294,\"mean\":1069,\"max\":58530,\"999\":51069,\"99\":19703,\"95\":679,\"90\":521,\"75\":389,\"50\":294},\"backends.mod_roster.update_roster_t\":{\"n\":8,\"min\":435,\"median\":759,\"mean\":768,\"max\":1063,\"999\":1063,\"99\":1063,\"95\":1063,\"90\":1063,\"75\":910,\"50\":759},\"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\":125469},\"backends.mod_muc.store_room\":{\"n\":77,\"min\":784,\"median\":1159,\"mean\":1412,\"max\":2989,\"999\":2989,\"99\":2798,\"95\":2634,\"90\":2044,\"75\":1785,\"50\":1159},\"erlang.memory\":{\"total\":155644128,\"system\":95965832,\"processes_used\":60077584,\"ets\":15919624,\"binary\":3336272,\"atom_used\":1255229},\"backends.mod_vcard.calls.get_vcard\":{\"one\":0,\"count\":0},\"erlang.system_info\":{\"process_limit\":262144,\"process_count\":2007,\"port_limit\":65536,\"port_count\":40,\"ets_limit\":8192},\"backends.mod_muc_light_db.calls.create_room\":{\"one\":26,\"count\":73},\"tcpPortsUsed\":{\"value\":32},\"data.xmpp.sent.c2s.tcp\":{\"one\":5006402,\"count\":9527136},\"backends.mod_inbox.calls.set_inbox\":{\"one\":0,\"count\":274},\"uniqueSessionCount\":{\"value\":2},\"backends.mod_inbox.set_entry_properties\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_offline.calls.write_messages\":{\"one\":0,\"count\":2},\"backends.mongoose_muc_online.calls.register_room\":{\"one\":155,\"count\":231},\"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\":109,\"min\":113,\"median\":681,\"mean\":1527,\"max\":40943,\"999\":40943,\"99\":40943,\"95\":2176,\"90\":1801,\"75\":1028,\"50\":681},\"data.xmpp.sent.s2s\":{\"one\":0,\"count\":0},\"backends.mod_muc.can_use_nick\":{\"n\":85,\"min\":168,\"median\":542,\"mean\":2918,\"max\":53753,\"999\":53753,\"99\":53753,\"95\":1343,\"90\":910,\"75\":681,\"50\":542},\"backends.mod_roster.calls.get_roster\":{\"one\":1038,\"count\":2027},\"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\":230,\"count\":366},\"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\":5600,\"count\":12214},\"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\":513,\"median\":513,\"mean\":513,\"max\":513,\"999\":513,\"99\":513,\"95\":513,\"90\":513,\"75\":513,\"50\":513},\"data.xmpp.sent.c2s.tls\":{\"one\":0,\"count\":63814},\"backends.mod_inbox.calls.clear_inbox\":{\"one\":0,\"count\":618},\"backends.mod_inbox.calls.remove_inbox_row\":{\"one\":0,\"count\":14},\"data.xmpp.received.xml_stanza_size\":{\"n\":59,\"min\":11,\"median\":105,\"mean\":86,\"max\":200,\"999\":200,\"99\":137,\"95\":137,\"90\":137,\"75\":137,\"50\":105},\"data.xmpp.received.c2s.tcp\":{\"one\":1303933,\"count\":2658159},\"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},\"data.xmpp.sent.xml_stanza_size\":{\"n\":71,\"min\":16,\"median\":160,\"mean\":158,\"max\":359,\"999\":359,\"99\":345,\"95\":202,\"90\":194,\"75\":191,\"50\":160},\"backends.mod_muc_light_db.create_room\":{\"n\":28,\"min\":122,\"median\":187,\"mean\":291,\"max\":1760,\"999\":1760,\"99\":1760,\"95\":1760,\"90\":527,\"75\":258,\"50\":187},\"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\":15,\"count\":21},\"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\":545},\"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\":10874165,\"send_max\":45529,\"send_cnt\":69808,\"recv_oct\":5865500,\"recv_max\":7258,\"recv_cnt\":69851},\"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\":3},\"backends.mongoose_rdbms.calls.execute\":{\"one\":29102,\"count\":56234},\"backends.mod_vcard.calls.search\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.restore_room\":{\"one\":0,\"count\":0},\"backends.mongoose_muc_online.calls.room_destroyed\":{\"one\":155,\"count\":231},\"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_inbox.calls.get_inbox\":{\"one\":0,\"count\":815},\"backends.mod_roster.calls.get_roster_entry\":{\"one\":263,\"count\":379},\"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\":56,\"count\":225}}}">>,
         12417,5714}
Params: #{body => <<>>,method => <<"GET">>,path => <<"/api/metrics/global/">>,
          return_headers => true,return_maps => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2023-11-13 19:29:41.399 ***🔗
bob@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-13 19:29:41.399 ***🔗
bob@domain.example.com/res1 in
</stream:stream>

*** User 2023-11-13 19:29:41.399 ***🔗
alice@domain.example.com/res2 out
</stream:stream>

*** User 2023-11-13 19:29:41.399 ***🔗
alice@domain.example.com/res2 in
</stream:stream>

*** User 2023-11-13 19:29:41.399 ***🔗
alice@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-13 19:29:41.399 ***🔗
alice@domain.example.com/res1 in
</stream:stream>
*** CT 2023-11-13 19:29:41.402 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2258.html



=== Ended at 2023-11-13 19:29:41
=== successfully completed test case
=== === Returned value: ok


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