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

=== Config value:

    [{watchdog,<0.32068.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@c3695dab14af.2024-04-22_14.48.10/big_tests.tests.metrics_api_SUITE.logs/run.2024-04-22_14.58.44/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@c3695dab14af.2024-04-22_14.48.10/big_tests.tests.metrics_api_SUITE.logs/run.2024-04-22_14.58.44/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@c3695dab14af.2024-04-22_14.48.10"

=== Started at 2024-04-22 14:58:48


*** CT 2024-04-22 14:58:48.265 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_3410.html

*** User 2024-04-22 14:58:48.266 ***🔗
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 2024-04-22 14:58:48.267 ***🔗
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0796a2a42cdb431a' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-22 14:58:48.267 ***🔗
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 2024-04-22 14:58:48.267 ***🔗
alicE@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2024-04-22 14:58:48.268 ***🔗
alicE@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-22 14:58:48.268 ***🔗
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 2024-04-22 14:58:48.268 ***🔗
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e10e2b179846e03f' from='domain.example.com' version='1.0' xml:lang='en' to='alice@domain.example.com'>

*** User 2024-04-22 14:58:48.268 ***🔗
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 2024-04-22 14:58:48.269 ***🔗
alicE@domain.example.com/res1 out
<iq type='set' id='cf02d93c2bd7f98ce55384c8527d75d2'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-22 14:58:48.269 ***🔗
alicE@domain.example.com/res1 in
<iq id='cf02d93c2bd7f98ce55384c8527d75d2' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-22 14:58:48.269 ***🔗
alice@domain.example.com/res1 out
<iq type='set' id='438377d5776a04874fce523f50df2a79'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 14:58:48.269 ***🔗
alice@domain.example.com/res1 in
<iq from='domain.example.com' to='alice@domain.example.com/res1' id='438377d5776a04874fce523f50df2a79' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 14:58:48.269 ***🔗
alice@domain.example.com/res1 out
<presence/>



*** User 2024-04-22 14:58:48.270 ***🔗
alice@domain.example.com/res1 in
<presence from='alice@domain.example.com/res1' to='alice@domain.example.com/res1'/>



*** User 2024-04-22 14:58:48.271 ***🔗
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 2024-04-22 14:58:48.271 ***🔗
alicE@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1bdfb124dd8798c8' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-22 14:58:48.271 ***🔗
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 2024-04-22 14:58:48.271 ***🔗
alicE@domain.example.com/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2024-04-22 14:58:48.272 ***🔗
alicE@domain.example.com/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-22 14:58:48.272 ***🔗
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 2024-04-22 14:58:48.272 ***🔗
alicE@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bda90c5bfd0b5a42' from='domain.example.com' version='1.0' xml:lang='en' to='alice@domain.example.com'>

*** User 2024-04-22 14:58:48.272 ***🔗
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 2024-04-22 14:58:48.272 ***🔗
alicE@domain.example.com/res2 out
<iq type='set' id='3fd9dabd7fd5f24c3e8d24fcbf5b24c9'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2024-04-22 14:58:48.272 ***🔗
alicE@domain.example.com/res2 in
<iq id='3fd9dabd7fd5f24c3e8d24fcbf5b24c9' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice@domain.example.com/res2</jid>
	</bind>
</iq>



*** User 2024-04-22 14:58:48.272 ***🔗
alice@domain.example.com/res2 out
<iq type='set' id='35ea127851738ab434731e30e4655ad8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 14:58:48.273 ***🔗
alice@domain.example.com/res2 in
<iq from='domain.example.com' to='alice@domain.example.com/res2' id='35ea127851738ab434731e30e4655ad8' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 14:58:48.273 ***🔗
alice@domain.example.com/res2 out
<presence/>



*** User 2024-04-22 14:58:48.274 ***🔗
alice@domain.example.com/res2 in
<presence from='alice@domain.example.com/res2' to='alice@domain.example.com/res2'/>



*** User 2024-04-22 14:58:48.274 ***🔗
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='2024-04-22T14:58:48.270295Z' from='alice@domain.example.com/res1'/>
</presence>



*** User 2024-04-22 14:58:48.274 ***🔗
alice@domain.example.com/res1 in
<presence from='alice@domain.example.com/res2' to='alice@domain.example.com/res1'/>



*** User 2024-04-22 14:58:48.274 ***🔗
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 2024-04-22 14:58:48.275 ***🔗
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='29efd4e1a6d591b6' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-22 14:58:48.275 ***🔗
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 2024-04-22 14:58:48.275 ***🔗
bOb@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2024-04-22 14:58:48.275 ***🔗
bOb@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-22 14:58:48.275 ***🔗
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 2024-04-22 14:58:48.276 ***🔗
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='752894c374a6e246' from='domain.example.com' version='1.0' xml:lang='en' to='bob@domain.example.com'>

*** User 2024-04-22 14:58:48.276 ***🔗
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 2024-04-22 14:58:48.276 ***🔗
bOb@domain.example.com/res1 out
<iq type='set' id='b7ff009aa677188d87189a65e1d6e938'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-22 14:58:48.276 ***🔗
bOb@domain.example.com/res1 in
<iq id='b7ff009aa677188d87189a65e1d6e938' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-22 14:58:48.276 ***🔗
bob@domain.example.com/res1 out
<iq type='set' id='21cff35b792fdeefa951167d927a09f9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 14:58:48.276 ***🔗
bob@domain.example.com/res1 in
<iq from='domain.example.com' to='bob@domain.example.com/res1' id='21cff35b792fdeefa951167d927a09f9' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 14:58:48.277 ***🔗
bob@domain.example.com/res1 out
<presence/>



*** User 2024-04-22 14:58:48.277 ***🔗
bob@domain.example.com/res1 in
<presence from='bob@domain.example.com/res1' to='bob@domain.example.com/res1'/>



*** User 2024-04-22 14:58:49.280 ***🔗
REST request:
Code: 200
Req: {<0.32080.1>,<<"/api/metrics/global/totalSessionCount">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"2461470f8d9b2b4a">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 22 Apr 2024 14:58:49 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"metric\":{\"value\":3}}">>,146,403}
Params: #{body => <<>>,method => <<"GET">>,
          path => <<"/api/metrics/global/totalSessionCount">>,
          return_headers => true,return_maps => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2024-04-22 14:58:49.287 ***🔗
REST request:
Code: 200
Req: {<0.32082.1>,<<"/api/metrics/global/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"c14fcab95b5dd6e7">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 22 Apr 2024 14:58:49 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"12343">>}],
         <<"{\"metrics\":{\"backends.mod_muc.forget_room\":{\"n\":69,\"min\":693,\"median\":1573,\"mean\":6071,\"max\":70312,\"999\":70312,\"99\":65395,\"95\":58070,\"90\":10415,\"75\":3098,\"50\":1573},\"mod_muc.hibernated_rooms\":{\"value\":0},\"backends.mongoose_rdbms.query\":{\"n\":890,\"min\":56,\"median\":249,\"mean\":707,\"max\":59956,\"999\":46830,\"99\":8315,\"95\":964,\"90\":640,\"75\":384,\"50\":249},\"backends.mod_muc_light_db.calls.get_config\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.store_room\":{\"one\":123,\"count\":287},\"backends.mod_muc.calls.get_rooms\":{\"one\":0,\"count\":0},\"data.xmpp.sent.component\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.get_blocking\":{\"one\":24,\"count\":118},\"backends.mod_muc_light_db.destroy_room\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"data.xmpp.sent.c2s.websocket\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.get_aff_users\":{\"n\":51,\"min\":178,\"median\":472,\"mean\":527,\"max\":1442,\"999\":1442,\"99\":1111,\"95\":908,\"90\":896,\"75\":758,\"50\":472},\"backends.mod_offline.calls.pop_messages\":{\"one\":0,\"count\":305},\"data.dist\":{\"send_pend\":0,\"send_oct\":59932453,\"send_max\":65677,\"send_cnt\":96553,\"recv_oct\":16962334,\"recv_max\":70538,\"recv_cnt\":54227,\"connections\":2},\"backends.mod_muc_light_db.modify_aff_users\":{\"n\":5,\"min\":2425,\"median\":2514,\"mean\":2519,\"max\":2620,\"999\":2620,\"99\":2620,\"95\":2620,\"90\":2620,\"75\":2620,\"50\":2514},\"backends.mod_muc_light_db.get_blocking\":{\"n\":26,\"min\":195,\"median\":474,\"mean\":473,\"max\":800,\"999\":800,\"99\":800,\"95\":800,\"90\":746,\"75\":611,\"50\":474},\"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\":40,\"min\":208,\"median\":423,\"mean\":499,\"max\":1079,\"999\":1079,\"99\":1079,\"95\":984,\"90\":895,\"75\":703,\"50\":423},\"backends.mod_roster.roster_subscribe_t\":{\"n\":54,\"min\":152,\"median\":339,\"mean\":602,\"max\":50582,\"999\":50582,\"99\":7659,\"95\":966,\"90\":666,\"75\":487,\"50\":339},\"backends.mod_inbox.calls.reset_unread\":{\"one\":0,\"count\":129},\"backends.mod_roster.get_subscription_lists\":{\"n\":18,\"min\":226,\"median\":292,\"mean\":295,\"max\":356,\"999\":356,\"99\":356,\"95\":356,\"90\":350,\"75\":334,\"50\":292},\"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\":99,\"count\":231},\"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\":726,\"count\":2157},\"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\":19,\"min\":285,\"median\":453,\"mean\":451,\"max\":1594,\"999\":1594,\"99\":1594,\"95\":725,\"90\":621,\"75\":468,\"50\":453},\"backends.mod_muc_online.calls.room_destroyed\":{\"one\":141,\"count\":343},\"backends.mod_muc.calls.set_nick\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.remove_user\":{\"one\":0,\"count\":516},\"data.xmpp.received.s2s\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.del_roster_t\":{\"one\":1,\"count\":1},\"backends.mod_inbox.calls.get_entry_properties\":{\"one\":0,\"count\":2},\"backends.mod_inbox.calls.get_full_entry\":{\"one\":0,\"count\":2},\"backends.mod_muc_light_db.calls.remove_domain\":{\"one\":0,\"count\":0},\"backends.mod_inbox.remove_inbox_row\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"processQueueLengths\":{\"total\":0,\"regular\":0,\"fsm\":0},\"backends.mod_inbox.calls.remove_domain\":{\"one\":0,\"count\":0},\"backends.mod_offline.write_messages\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"mod_muc.deep_hibernations\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.modify_aff_users\":{\"one\":3,\"count\":25},\"mod_muc.process_recreations\":{\"one\":0,\"count\":0},\"clusterSize\":{\"value\":1},\"backends.mod_roster.calls.roster_subscribe_t\":{\"one\":134,\"count\":234},\"backends.mod_inbox.set_inbox\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_vcard.set_vcard\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_muc.get_nick\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.ejabberd_auth_anonymous.calls.does_anonymous_user_exist\":{\"one\":0,\"count\":0},\"backends.mod_inbox.get_full_entry\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_inbox.reset_unread\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_roster.calls.write_roster_version\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.update_roster_t\":{\"one\":7,\"count\":7},\"backends.mongoose_rdbms.execute\":{\"n\":3178,\"min\":67,\"median\":398,\"mean\":1115,\"max\":61505,\"999\":26948,\"99\":9297,\"95\":3848,\"90\":2351,\"75\":749,\"50\":398},\"backends.mod_roster.update_roster_t\":{\"n\":8,\"min\":651,\"median\":812,\"mean\":904,\"max\":1047,\"999\":1047,\"99\":1047,\"95\":1047,\"90\":1047,\"75\":1039,\"50\":812},\"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\":169200},\"backends.mod_muc.store_room\":{\"n\":76,\"min\":830,\"median\":1608,\"mean\":3768,\"max\":64225,\"999\":64225,\"99\":64225,\"95\":14069,\"90\":4721,\"75\":2343,\"50\":1608},\"erlang.memory\":{\"total\":189533432,\"system\":133454360,\"processes_used\":56500600,\"ets\":17599288,\"binary\":930312,\"atom_used\":2120261},\"backends.mod_vcard.calls.get_vcard\":{\"one\":0,\"count\":0},\"erlang.system_info\":{\"process_limit\":262144,\"process_count\":2044,\"port_limit\":65536,\"port_count\":41,\"ets_limit\":8192},\"backends.mod_muc_light_db.calls.create_room\":{\"one\":28,\"count\":101},\"tcpPortsUsed\":{\"value\":33},\"data.xmpp.sent.c2s.tcp\":{\"one\":3827106,\"count\":10905838},\"backends.mod_inbox.calls.set_inbox\":{\"one\":0,\"count\":274},\"uniqueSessionCount\":{\"value\":2},\"backends.mod_inbox.set_entry_properties\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_offline.calls.write_messages\":{\"one\":0,\"count\":2},\"backends.mod_muc_light_db.calls.destroy_room\":{\"one\":0,\"count\":10},\"backends.mod_last.calls.get_last\":{\"one\":0,\"count\":1},\"backends.mod_muc.restore_room\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_roster.get_roster_entry\":{\"n\":101,\"min\":99,\"median\":693,\"mean\":1509,\"max\":9095,\"999\":9095,\"99\":8467,\"95\":4437,\"90\":2755,\"75\":1635,\"50\":693},\"data.xmpp.sent.s2s\":{\"one\":0,\"count\":0},\"backends.mod_muc.can_use_nick\":{\"n\":69,\"min\":166,\"median\":810,\"mean\":3364,\"max\":63317,\"999\":63317,\"99\":54789,\"95\":26177,\"90\":6037,\"75\":1690,\"50\":810},\"backends.mod_roster.calls.get_roster\":{\"one\":945,\"count\":2578},\"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\":174,\"count\":450},\"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\":4946,\"count\":14786},\"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\":656,\"median\":656,\"mean\":656,\"max\":656,\"999\":656,\"99\":656,\"95\":656,\"90\":656,\"75\":656,\"50\":656},\"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\":58,\"min\":11,\"median\":101,\"mean\":86,\"max\":200,\"999\":200,\"99\":192,\"95\":137,\"90\":137,\"75\":137,\"50\":101},\"data.xmpp.received.c2s.tcp\":{\"one\":1038481,\"count\":3067358},\"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\":69,\"min\":16,\"median\":174,\"mean\":159,\"max\":359,\"999\":359,\"99\":321,\"95\":217,\"90\":192,\"75\":191,\"50\":174},\"backends.mod_muc_light_db.create_room\":{\"n\":30,\"min\":1240,\"median\":2299,\"mean\":2602,\"max\":7012,\"999\":7012,\"99\":7012,\"95\":7012,\"90\":3578,\"75\":3026,\"50\":2299},\"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\":141,\"count\":343},\"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\":686},\"backends.mod_muc_online.room_destroyed\":{\"n\":85,\"min\":51,\"median\":115,\"mean\":188,\"max\":1182,\"999\":1182,\"99\":1182,\"95\":507,\"90\":402,\"75\":213,\"50\":115},\"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\":13881733,\"send_max\":45500,\"send_cnt\":88297,\"recv_oct\":7137974,\"recv_max\":7268,\"recv_cnt\":88318},\"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\":25567,\"count\":72087},\"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\":81,\"min\":50,\"median\":103,\"mean\":161,\"max\":1041,\"999\":1041,\"99\":1000,\"95\":518,\"90\":385,\"75\":150,\"50\":103},\"backends.mod_inbox.calls.get_inbox\":{\"one\":0,\"count\":811},\"backends.mod_roster.calls.get_roster_entry\":{\"one\":216,\"count\":380},\"backends.mod_muc.get_rooms\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_muc_light_db.calls.room_exists\":{\"one\":49,\"count\":260}}}">>,
         12470,6426}
Params: #{body => <<>>,method => <<"GET">>,path => <<"/api/metrics/global/">>,
          return_headers => true,return_maps => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2024-04-22 14:58:49.290 ***🔗
REST request:
Code: 200
Req: {<0.32084.1>,<<"/api/metrics/global/uniqueSessionCount">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"2fc2b750ec6e0976">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 22 Apr 2024 14:58:49 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"metric\":{\"value\":2}}">>,146,343}
Params: #{body => <<>>,method => <<"GET">>,
          path => <<"/api/metrics/global/uniqueSessionCount">>,
          return_headers => true,return_maps => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2024-04-22 14:58:49.297 ***🔗
REST request:
Code: 200
Req: {<0.32086.1>,<<"/api/metrics/global/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"8b2d4277a193699c">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 22 Apr 2024 14:58:49 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"12343">>}],
         <<"{\"metrics\":{\"backends.mod_muc.forget_room\":{\"n\":69,\"min\":693,\"median\":1573,\"mean\":6071,\"max\":70312,\"999\":70312,\"99\":65395,\"95\":58070,\"90\":10415,\"75\":3098,\"50\":1573},\"mod_muc.hibernated_rooms\":{\"value\":0},\"backends.mongoose_rdbms.query\":{\"n\":890,\"min\":56,\"median\":249,\"mean\":707,\"max\":59956,\"999\":46830,\"99\":8315,\"95\":964,\"90\":640,\"75\":384,\"50\":249},\"backends.mod_muc_light_db.calls.get_config\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.store_room\":{\"one\":123,\"count\":287},\"backends.mod_muc.calls.get_rooms\":{\"one\":0,\"count\":0},\"data.xmpp.sent.component\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.get_blocking\":{\"one\":24,\"count\":118},\"backends.mod_muc_light_db.destroy_room\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"data.xmpp.sent.c2s.websocket\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.get_aff_users\":{\"n\":51,\"min\":178,\"median\":472,\"mean\":527,\"max\":1442,\"999\":1442,\"99\":1111,\"95\":908,\"90\":896,\"75\":758,\"50\":472},\"backends.mod_offline.calls.pop_messages\":{\"one\":0,\"count\":305},\"data.dist\":{\"send_pend\":0,\"send_oct\":59943529,\"send_max\":65677,\"send_cnt\":96561,\"recv_oct\":16962846,\"recv_max\":70538,\"recv_cnt\":54231,\"connections\":2},\"backends.mod_muc_light_db.modify_aff_users\":{\"n\":5,\"min\":2425,\"median\":2514,\"mean\":2519,\"max\":2620,\"999\":2620,\"99\":2620,\"95\":2620,\"90\":2620,\"75\":2620,\"50\":2514},\"backends.mod_muc_light_db.get_blocking\":{\"n\":26,\"min\":195,\"median\":474,\"mean\":473,\"max\":800,\"999\":800,\"99\":800,\"95\":800,\"90\":746,\"75\":611,\"50\":474},\"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\":40,\"min\":208,\"median\":423,\"mean\":499,\"max\":1079,\"999\":1079,\"99\":1079,\"95\":984,\"90\":895,\"75\":703,\"50\":423},\"backends.mod_roster.roster_subscribe_t\":{\"n\":54,\"min\":152,\"median\":339,\"mean\":602,\"max\":50582,\"999\":50582,\"99\":7659,\"95\":966,\"90\":666,\"75\":487,\"50\":339},\"backends.mod_inbox.calls.reset_unread\":{\"one\":0,\"count\":129},\"backends.mod_roster.get_subscription_lists\":{\"n\":18,\"min\":226,\"median\":292,\"mean\":295,\"max\":356,\"999\":356,\"99\":356,\"95\":356,\"90\":350,\"75\":334,\"50\":292},\"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\":99,\"count\":231},\"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\":726,\"count\":2157},\"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\":19,\"min\":285,\"median\":453,\"mean\":451,\"max\":1594,\"999\":1594,\"99\":1594,\"95\":725,\"90\":621,\"75\":468,\"50\":453},\"backends.mod_muc_online.calls.room_destroyed\":{\"one\":141,\"count\":343},\"backends.mod_muc.calls.set_nick\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.remove_user\":{\"one\":0,\"count\":516},\"data.xmpp.received.s2s\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.del_roster_t\":{\"one\":1,\"count\":1},\"backends.mod_inbox.calls.get_entry_properties\":{\"one\":0,\"count\":2},\"backends.mod_inbox.calls.get_full_entry\":{\"one\":0,\"count\":2},\"backends.mod_muc_light_db.calls.remove_domain\":{\"one\":0,\"count\":0},\"backends.mod_inbox.remove_inbox_row\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"processQueueLengths\":{\"total\":0,\"regular\":0,\"fsm\":0},\"backends.mod_inbox.calls.remove_domain\":{\"one\":0,\"count\":0},\"backends.mod_offline.write_messages\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"mod_muc.deep_hibernations\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.modify_aff_users\":{\"one\":3,\"count\":25},\"mod_muc.process_recreations\":{\"one\":0,\"count\":0},\"clusterSize\":{\"value\":1},\"backends.mod_roster.calls.roster_subscribe_t\":{\"one\":134,\"count\":234},\"backends.mod_inbox.set_inbox\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_vcard.set_vcard\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_muc.get_nick\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.ejabberd_auth_anonymous.calls.does_anonymous_user_exist\":{\"one\":0,\"count\":0},\"backends.mod_inbox.get_full_entry\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_inbox.reset_unread\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_roster.calls.write_roster_version\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.update_roster_t\":{\"one\":7,\"count\":7},\"backends.mongoose_rdbms.execute\":{\"n\":3176,\"min\":67,\"median\":397,\"mean\":1116,\"max\":61505,\"999\":26948,\"99\":9297,\"95\":3848,\"90\":2351,\"75\":749,\"50\":397},\"backends.mod_roster.update_roster_t\":{\"n\":8,\"min\":651,\"median\":812,\"mean\":904,\"max\":1047,\"999\":1047,\"99\":1047,\"95\":1047,\"90\":1047,\"75\":1039,\"50\":812},\"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\":169210},\"backends.mod_muc.store_room\":{\"n\":76,\"min\":830,\"median\":1608,\"mean\":3768,\"max\":64225,\"999\":64225,\"99\":64225,\"95\":14069,\"90\":4721,\"75\":2343,\"50\":1608},\"erlang.memory\":{\"total\":189495320,\"system\":133453568,\"processes_used\":56463456,\"ets\":17599288,\"binary\":929344,\"atom_used\":2120261},\"backends.mod_vcard.calls.get_vcard\":{\"one\":0,\"count\":0},\"erlang.system_info\":{\"process_limit\":262144,\"process_count\":2044,\"port_limit\":65536,\"port_count\":41,\"ets_limit\":8192},\"backends.mod_muc_light_db.calls.create_room\":{\"one\":28,\"count\":101},\"tcpPortsUsed\":{\"value\":33},\"data.xmpp.sent.c2s.tcp\":{\"one\":3827106,\"count\":10905838},\"backends.mod_inbox.calls.set_inbox\":{\"one\":0,\"count\":274},\"uniqueSessionCount\":{\"value\":2},\"backends.mod_inbox.set_entry_properties\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_offline.calls.write_messages\":{\"one\":0,\"count\":2},\"backends.mod_muc_light_db.calls.destroy_room\":{\"one\":0,\"count\":10},\"backends.mod_last.calls.get_last\":{\"one\":0,\"count\":1},\"backends.mod_muc.restore_room\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_roster.get_roster_entry\":{\"n\":101,\"min\":99,\"median\":693,\"mean\":1509,\"max\":9095,\"999\":9095,\"99\":8467,\"95\":4437,\"90\":2755,\"75\":1635,\"50\":693},\"data.xmpp.sent.s2s\":{\"one\":0,\"count\":0},\"backends.mod_muc.can_use_nick\":{\"n\":69,\"min\":166,\"median\":810,\"mean\":3364,\"max\":63317,\"999\":63317,\"99\":54789,\"95\":26177,\"90\":6037,\"75\":1690,\"50\":810},\"backends.mod_roster.calls.get_roster\":{\"one\":945,\"count\":2578},\"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\":174,\"count\":450},\"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\":4946,\"count\":14786},\"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\":656,\"median\":656,\"mean\":656,\"max\":656,\"999\":656,\"99\":656,\"95\":656,\"90\":656,\"75\":656,\"50\":656},\"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\":58,\"min\":11,\"median\":101,\"mean\":86,\"max\":200,\"999\":200,\"99\":192,\"95\":137,\"90\":137,\"75\":137,\"50\":101},\"data.xmpp.received.c2s.tcp\":{\"one\":1038481,\"count\":3067358},\"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\":69,\"min\":16,\"median\":174,\"mean\":159,\"max\":359,\"999\":359,\"99\":321,\"95\":217,\"90\":192,\"75\":191,\"50\":174},\"backends.mod_muc_light_db.create_room\":{\"n\":30,\"min\":1240,\"median\":2299,\"mean\":2602,\"max\":7012,\"999\":7012,\"99\":7012,\"95\":7012,\"90\":3578,\"75\":3026,\"50\":2299},\"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\":141,\"count\":343},\"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\":686},\"backends.mod_muc_online.room_destroyed\":{\"n\":85,\"min\":51,\"median\":115,\"mean\":188,\"max\":1182,\"999\":1182,\"99\":1182,\"95\":507,\"90\":402,\"75\":213,\"50\":115},\"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\":13881733,\"send_max\":45500,\"send_cnt\":88297,\"recv_oct\":7137974,\"recv_max\":7268,\"recv_cnt\":88318},\"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\":25567,\"count\":72087},\"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\":81,\"min\":50,\"median\":103,\"mean\":161,\"max\":1041,\"999\":1041,\"99\":1000,\"95\":518,\"90\":385,\"75\":150,\"50\":103},\"backends.mod_inbox.calls.get_inbox\":{\"one\":0,\"count\":811},\"backends.mod_roster.calls.get_roster_entry\":{\"one\":216,\"count\":380},\"backends.mod_muc.get_rooms\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_muc_light_db.calls.room_exists\":{\"one\":49,\"count\":260}}}">>,
         12470,6319}
Params: #{body => <<>>,method => <<"GET">>,path => <<"/api/metrics/global/">>,
          return_headers => true,return_maps => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2024-04-22 14:58:49.300 ***🔗
REST request:
Code: 200
Req: {<0.32088.1>,<<"/api/metrics/global/nodeSessionCount">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"686e360f1a399edf">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 22 Apr 2024 14:58:49 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"metric\":{\"value\":3}}">>,146,316}
Params: #{body => <<>>,method => <<"GET">>,
          path => <<"/api/metrics/global/nodeSessionCount">>,
          return_headers => true,return_maps => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2024-04-22 14:58:49.307 ***🔗
REST request:
Code: 200
Req: {<0.32090.1>,<<"/api/metrics/global/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"0bc10b8be88fee50">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 22 Apr 2024 14:58:49 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"12343">>}],
         <<"{\"metrics\":{\"backends.mod_muc.forget_room\":{\"n\":69,\"min\":693,\"median\":1573,\"mean\":6071,\"max\":70312,\"999\":70312,\"99\":65395,\"95\":58070,\"90\":10415,\"75\":3098,\"50\":1573},\"mod_muc.hibernated_rooms\":{\"value\":0},\"backends.mongoose_rdbms.query\":{\"n\":890,\"min\":56,\"median\":249,\"mean\":707,\"max\":59956,\"999\":46830,\"99\":8315,\"95\":964,\"90\":640,\"75\":384,\"50\":249},\"backends.mod_muc_light_db.calls.get_config\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.store_room\":{\"one\":123,\"count\":287},\"backends.mod_muc.calls.get_rooms\":{\"one\":0,\"count\":0},\"data.xmpp.sent.component\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.get_blocking\":{\"one\":24,\"count\":118},\"backends.mod_muc_light_db.destroy_room\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"data.xmpp.sent.c2s.websocket\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.get_aff_users\":{\"n\":51,\"min\":178,\"median\":472,\"mean\":527,\"max\":1442,\"999\":1442,\"99\":1111,\"95\":908,\"90\":896,\"75\":758,\"50\":472},\"backends.mod_offline.calls.pop_messages\":{\"one\":0,\"count\":305},\"data.dist\":{\"send_pend\":0,\"send_oct\":59954605,\"send_max\":65677,\"send_cnt\":96569,\"recv_oct\":16963358,\"recv_max\":70538,\"recv_cnt\":54235,\"connections\":2},\"backends.mod_muc_light_db.modify_aff_users\":{\"n\":5,\"min\":2425,\"median\":2514,\"mean\":2519,\"max\":2620,\"999\":2620,\"99\":2620,\"95\":2620,\"90\":2620,\"75\":2620,\"50\":2514},\"backends.mod_muc_light_db.get_blocking\":{\"n\":26,\"min\":195,\"median\":474,\"mean\":473,\"max\":800,\"999\":800,\"99\":800,\"95\":800,\"90\":746,\"75\":611,\"50\":474},\"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\":40,\"min\":208,\"median\":423,\"mean\":499,\"max\":1079,\"999\":1079,\"99\":1079,\"95\":984,\"90\":895,\"75\":703,\"50\":423},\"backends.mod_roster.roster_subscribe_t\":{\"n\":54,\"min\":152,\"median\":339,\"mean\":602,\"max\":50582,\"999\":50582,\"99\":7659,\"95\":966,\"90\":666,\"75\":487,\"50\":339},\"backends.mod_inbox.calls.reset_unread\":{\"one\":0,\"count\":129},\"backends.mod_roster.get_subscription_lists\":{\"n\":18,\"min\":226,\"median\":292,\"mean\":295,\"max\":356,\"999\":356,\"99\":356,\"95\":356,\"90\":350,\"75\":334,\"50\":292},\"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\":99,\"count\":231},\"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\":726,\"count\":2157},\"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\":19,\"min\":285,\"median\":453,\"mean\":451,\"max\":1594,\"999\":1594,\"99\":1594,\"95\":725,\"90\":621,\"75\":468,\"50\":453},\"backends.mod_muc_online.calls.room_destroyed\":{\"one\":141,\"count\":343},\"backends.mod_muc.calls.set_nick\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.remove_user\":{\"one\":0,\"count\":516},\"data.xmpp.received.s2s\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.del_roster_t\":{\"one\":1,\"count\":1},\"backends.mod_inbox.calls.get_entry_properties\":{\"one\":0,\"count\":2},\"backends.mod_inbox.calls.get_full_entry\":{\"one\":0,\"count\":2},\"backends.mod_muc_light_db.calls.remove_domain\":{\"one\":0,\"count\":0},\"backends.mod_inbox.remove_inbox_row\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"processQueueLengths\":{\"total\":0,\"regular\":0,\"fsm\":0},\"backends.mod_inbox.calls.remove_domain\":{\"one\":0,\"count\":0},\"backends.mod_offline.write_messages\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"mod_muc.deep_hibernations\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.modify_aff_users\":{\"one\":3,\"count\":25},\"mod_muc.process_recreations\":{\"one\":0,\"count\":0},\"clusterSize\":{\"value\":1},\"backends.mod_roster.calls.roster_subscribe_t\":{\"one\":134,\"count\":234},\"backends.mod_inbox.set_inbox\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_vcard.set_vcard\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_muc.get_nick\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.ejabberd_auth_anonymous.calls.does_anonymous_user_exist\":{\"one\":0,\"count\":0},\"backends.mod_inbox.get_full_entry\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_inbox.reset_unread\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_roster.calls.write_roster_version\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.update_roster_t\":{\"one\":7,\"count\":7},\"backends.mongoose_rdbms.execute\":{\"n\":3174,\"min\":67,\"median\":397,\"mean\":1116,\"max\":61505,\"999\":26948,\"99\":9297,\"95\":3848,\"90\":2352,\"75\":752,\"50\":397},\"backends.mod_roster.update_roster_t\":{\"n\":8,\"min\":651,\"median\":812,\"mean\":904,\"max\":1047,\"999\":1047,\"99\":1047,\"95\":1047,\"90\":1047,\"75\":1039,\"50\":812},\"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\":169219},\"backends.mod_muc.store_room\":{\"n\":76,\"min\":830,\"median\":1608,\"mean\":3768,\"max\":64225,\"999\":64225,\"99\":64225,\"95\":14069,\"90\":4721,\"75\":2343,\"50\":1608},\"erlang.memory\":{\"total\":189379088,\"system\":133451712,\"processes_used\":56347224,\"ets\":17599288,\"binary\":929344,\"atom_used\":2120261},\"backends.mod_vcard.calls.get_vcard\":{\"one\":0,\"count\":0},\"erlang.system_info\":{\"process_limit\":262144,\"process_count\":2044,\"port_limit\":65536,\"port_count\":41,\"ets_limit\":8192},\"backends.mod_muc_light_db.calls.create_room\":{\"one\":28,\"count\":101},\"tcpPortsUsed\":{\"value\":33},\"data.xmpp.sent.c2s.tcp\":{\"one\":3827106,\"count\":10905838},\"backends.mod_inbox.calls.set_inbox\":{\"one\":0,\"count\":274},\"uniqueSessionCount\":{\"value\":2},\"backends.mod_inbox.set_entry_properties\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_offline.calls.write_messages\":{\"one\":0,\"count\":2},\"backends.mod_muc_light_db.calls.destroy_room\":{\"one\":0,\"count\":10},\"backends.mod_last.calls.get_last\":{\"one\":0,\"count\":1},\"backends.mod_muc.restore_room\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_roster.get_roster_entry\":{\"n\":101,\"min\":99,\"median\":693,\"mean\":1509,\"max\":9095,\"999\":9095,\"99\":8467,\"95\":4437,\"90\":2755,\"75\":1635,\"50\":693},\"data.xmpp.sent.s2s\":{\"one\":0,\"count\":0},\"backends.mod_muc.can_use_nick\":{\"n\":69,\"min\":166,\"median\":810,\"mean\":3364,\"max\":63317,\"999\":63317,\"99\":54789,\"95\":26177,\"90\":6037,\"75\":1690,\"50\":810},\"backends.mod_roster.calls.get_roster\":{\"one\":945,\"count\":2578},\"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\":174,\"count\":450},\"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\":4946,\"count\":14786},\"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\":656,\"median\":656,\"mean\":656,\"max\":656,\"999\":656,\"99\":656,\"95\":656,\"90\":656,\"75\":656,\"50\":656},\"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\":58,\"min\":11,\"median\":101,\"mean\":86,\"max\":200,\"999\":200,\"99\":192,\"95\":137,\"90\":137,\"75\":137,\"50\":101},\"data.xmpp.received.c2s.tcp\":{\"one\":1038481,\"count\":3067358},\"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\":69,\"min\":16,\"median\":174,\"mean\":159,\"max\":359,\"999\":359,\"99\":321,\"95\":217,\"90\":192,\"75\":191,\"50\":174},\"backends.mod_muc_light_db.create_room\":{\"n\":30,\"min\":1240,\"median\":2299,\"mean\":2602,\"max\":7012,\"999\":7012,\"99\":7012,\"95\":7012,\"90\":3578,\"75\":3026,\"50\":2299},\"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\":141,\"count\":343},\"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\":686},\"backends.mod_muc_online.room_destroyed\":{\"n\":85,\"min\":51,\"median\":115,\"mean\":188,\"max\":1182,\"999\":1182,\"99\":1182,\"95\":507,\"90\":402,\"75\":213,\"50\":115},\"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\":13881733,\"send_max\":45500,\"send_cnt\":88297,\"recv_oct\":7137974,\"recv_max\":7268,\"recv_cnt\":88318},\"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\":25567,\"count\":72087},\"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\":81,\"min\":50,\"median\":103,\"mean\":161,\"max\":1041,\"999\":1041,\"99\":1000,\"95\":518,\"90\":385,\"75\":150,\"50\":103},\"backends.mod_inbox.calls.get_inbox\":{\"one\":0,\"count\":811},\"backends.mod_roster.calls.get_roster_entry\":{\"one\":216,\"count\":380},\"backends.mod_muc.get_rooms\":{\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0,\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0},\"backends.mod_muc_light_db.calls.room_exists\":{\"one\":49,\"count\":260}}}">>,
         12470,6912}
Params: #{body => <<>>,method => <<"GET">>,path => <<"/api/metrics/global/">>,
          return_headers => true,return_maps => true,role => admin,
          server => #{node => mongooseim@localhost}}


*** User 2024-04-22 14:58:49.308 ***🔗
bob@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-22 14:58:49.308 ***🔗
bob@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-22 14:58:49.308 ***🔗
alice@domain.example.com/res2 out
</stream:stream>

*** User 2024-04-22 14:58:49.309 ***🔗
alice@domain.example.com/res2 in
</stream:stream>

*** User 2024-04-22 14:58:49.309 ***🔗
alice@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-22 14:58:49.309 ***🔗
alice@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-22 14:58:49.311 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_3410.html



=== Ended at 2024-04-22 14:58:49
=== successfully completed test case
=== === Returned value: ok


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