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

=== Config value:

    [{watchdog,<0.16214.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/metrics_api_SUITE_data"},
     {preset,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@a072b68d2bee.2022-03-18_10.50.04/big_tests.tests.metrics_api_SUITE.logs/run.2022-03-18_10.54.54/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@a072b68d2bee.2022-03-18_10.50.04/big_tests.tests.metrics_api_SUITE.logs/run.2022-03-18_10.54.54/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 => [],mod_commands => [],
        mod_disco =>
            #{extra_domains => [],iqdisc => one_queue,server_info => [],
              users_can_see_hidden_services => false},
        mod_muc_commands => [],mod_muc_light_commands => [],
        mod_register =>
            [{access,register},
             {ip_access,[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
             {welcome_message,{[],[]}}],
        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@a072b68d2bee.2022-03-18_10.50.04"

=== Started at 2022-03-18 10:54:59


*** CT 2022-03-18 10:54:59.219 *** View log from node mongooseim@localhost when started mongooseim@localhost_974.html
*** CT 2022-03-18 10:54:59.220 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_468.html

*** User 2022-03-18 10:54:59.222 ***
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 2022-03-18 10:54:59.223 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='788c16a278d13976' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:54:59.223 ***
alicE@domain.example.com/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-18 10:54:59.224 ***
alicE@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-03-18 10:54:59.225 ***
alicE@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:54:59.225 ***
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 2022-03-18 10:54:59.225 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5378b4a61be45789' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:54:59.225 ***
alicE@domain.example.com/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-18 10:54:59.226 ***
alicE@domain.example.com/res1 out
<iq type='set' id='38063c480fe7e563bb384b17450cda80'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:54:59.226 ***
alicE@domain.example.com/res1 in
<iq id='38063c480fe7e563bb384b17450cda80' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:54:59.226 ***
alicE@domain.example.com/res1 out
<iq type='set' id='62a6ab760a73ba4ea94c8eec48e8335b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:54:59.226 ***
alicE@domain.example.com/res1 in
<iq type='result' id='62a6ab760a73ba4ea94c8eec48e8335b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:54:59.227 ***
alicE@domain.example.com/res1 out
<presence/>



*** User 2022-03-18 10:54:59.228 ***
alicE@domain.example.com/res1 in
<presence from='alicE@domain.example.com/res1' to='alice@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-18 10:54:59.228 ***
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 2022-03-18 10:54:59.229 ***
alicE@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f018f186cdc851e8' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:54:59.229 ***
alicE@domain.example.com/res2 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-18 10:54:59.229 ***
alicE@domain.example.com/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-03-18 10:54:59.230 ***
alicE@domain.example.com/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:54:59.230 ***
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 2022-03-18 10:54:59.230 ***
alicE@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fbccbefe5d08e0b8' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:54:59.230 ***
alicE@domain.example.com/res2 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-18 10:54:59.231 ***
alicE@domain.example.com/res2 out
<iq type='set' id='6f2d399e62b1bce2c1c77d3e37cbb654'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2022-03-18 10:54:59.231 ***
alicE@domain.example.com/res2 in
<iq id='6f2d399e62b1bce2c1c77d3e37cbb654' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@domain.example.com/res2</jid>
	</bind>
</iq>



*** User 2022-03-18 10:54:59.231 ***
alicE@domain.example.com/res2 out
<iq type='set' id='890e056edcc195020840d475a36d3418'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:54:59.231 ***
alicE@domain.example.com/res2 in
<iq type='result' id='890e056edcc195020840d475a36d3418'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:54:59.231 ***
alicE@domain.example.com/res2 out
<presence/>



*** User 2022-03-18 10:54:59.233 ***
alicE@domain.example.com/res2 in
<presence from='alicE@domain.example.com/res2' to='alice@domain.example.com/res2' xml:lang='en'/>



*** User 2022-03-18 10:54:59.233 ***
alicE@domain.example.com/res2 in
<presence from='alice@domain.example.com/res1' to='alicE@domain.example.com/res2' xml:lang='en'>
	<delay xmlns='urn:xmpp:delay' stamp='2022-03-18T10:54:59Z' from='alice@domain.example.com/res1'/>
</presence>



*** User 2022-03-18 10:54:59.233 ***
alicE@domain.example.com/res1 in
<presence from='alicE@domain.example.com/res2' to='alice@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-18 10:54:59.234 ***
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 2022-03-18 10:54:59.234 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='faf23a79a0e94b95' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:54:59.234 ***
bOb@domain.example.com/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-18 10:54:59.234 ***
bOb@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-03-18 10:54:59.235 ***
bOb@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:54:59.235 ***
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 2022-03-18 10:54:59.235 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9830e37cb465f5b9' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:54:59.235 ***
bOb@domain.example.com/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-18 10:54:59.235 ***
bOb@domain.example.com/res1 out
<iq type='set' id='cea3116253023ed26f73d5e12f884417'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:54:59.236 ***
bOb@domain.example.com/res1 in
<iq id='cea3116253023ed26f73d5e12f884417' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:54:59.236 ***
bOb@domain.example.com/res1 out
<iq type='set' id='4728b6cae86736aa251b54fa81cd5f32'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:54:59.236 ***
bOb@domain.example.com/res1 in
<iq type='result' id='4728b6cae86736aa251b54fa81cd5f32'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:54:59.236 ***
bOb@domain.example.com/res1 out
<presence/>



*** User 2022-03-18 10:54:59.237 ***
bOb@domain.example.com/res1 in
<presence from='bOb@domain.example.com/res1' to='bob@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-18 10:54:59.238 ***
REST request:
Code: 200
Req: {<0.16242.1>,<<"/api/metrics/global/totalSessionCount">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"6d5e233b0170d419">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 10:54:58 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"metric\":{\"value\":3}}">>,160,338}
Params: #{body => <<>>,method => <<"GET">>,
          path => <<"/api/metrics/global/totalSessionCount">>,port => 5288,
          return_headers => true,return_maps => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-18 10:54:59.248 ***
REST request:
Code: 200
Req: {<0.16244.1>,<<"/api/metrics/global/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"4c20f9d401434cd8">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 10:54:58 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"11533">>}],
         <<"{\"metrics\":{\"backends.mod_muc.forget_room\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"mod_muc.hibernated_rooms\":{\"value\":0},\"backends.mongoose_rdbms.query\":{\"999\":23495,\"99\":1784,\"95\":731,\"90\":477,\"75\":261,\"50\":186,\"n\":807,\"min\":55,\"median\":186,\"mean\":393,\"max\":46993},\"backends.mod_muc_light_db.calls.get_config\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.store_room\":{\"one\":125,\"count\":175},\"backends.mod_muc.calls.get_rooms\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.get_blocking\":{\"one\":25,\"count\":115},\"data.xmpp.received.encrypted_size\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc_light_db.destroy_room\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc_light_db.get_aff_users\":{\"999\":3810,\"99\":3810,\"95\":284,\"90\":5,\"75\":3,\"50\":2,\"n\":45,\"min\":1,\"median\":2,\"mean\":102,\"max\":3810},\"backends.mod_offline.calls.pop_messages\":{\"one\":0,\"count\":297},\"data.dist\":{\"send_pend\":0,\"send_oct\":7287829,\"send_max\":8140,\"send_cnt\":51417,\"recv_oct\":12248023,\"recv_max\":70427,\"recv_cnt\":29309,\"connections\":3},\"backends.mod_muc_light_db.modify_aff_users\":{\"999\":169,\"99\":169,\"95\":169,\"90\":169,\"75\":169,\"50\":165,\"n\":7,\"min\":153,\"median\":165,\"mean\":162,\"max\":169},\"register_command\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.get_blocking\":{\"999\":40,\"99\":40,\"95\":40,\"90\":10,\"75\":8,\"50\":8,\"n\":27,\"min\":3,\"median\":8,\"mean\":8,\"max\":40},\"backends.mod_muc_light_db.calls.get_aff_users\":{\"one\":77,\"count\":277},\"backends.mod_inbox.clear_inbox\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"unregister_command\":{\"one\":0,\"count\":0},\"node_cleanup\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.unset_nick\":{\"one\":0,\"count\":0},\"backends.mod_muc.unset_nick\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc_light_db.room_exists\":{\"999\":355,\"99\":355,\"95\":9,\"90\":9,\"75\":7,\"50\":6,\"n\":35,\"min\":2,\"median\":6,\"mean\":16,\"max\":355},\"backends.mod_roster.roster_subscribe_t\":{\"999\":36251,\"99\":10281,\"95\":603,\"90\":421,\"75\":334,\"50\":300,\"n\":63,\"min\":138,\"median\":300,\"mean\":648,\"max\":36251},\"backends.mod_inbox.calls.reset_unread\":{\"one\":0,\"count\":108},\"backends.mod_roster.get_subscription_lists\":{\"999\":756,\"99\":756,\"95\":653,\"90\":491,\"75\":390,\"50\":349,\"n\":24,\"min\":195,\"median\":349,\"mean\":365,\"max\":756},\"backends.mod_muc_light_db.get_config\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc_light_db.calls.set_blocking\":{\"one\":0,\"count\":4},\"backends.mod_muc.calls.forget_room\":{\"one\":0,\"count\":0},\"backends.mod_inbox.calls.set_inbox_incr_unread\":{\"one\":0,\"count\":348},\"backends.mod_last.calls.set_last_info\":{\"one\":0,\"count\":22},\"backends.mod_roster.calls.read_roster_version\":{\"one\":0,\"count\":0},\"backends.mod_muc.set_nick\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_roster.calls.get_subscription_lists\":{\"one\":1999,\"count\":4231},\"backends.mod_vcard.search\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"totalSessionCount\":{\"value\":3},\"backends.mod_roster.read_roster_version\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_roster.get_roster\":{\"999\":1447,\"99\":1447,\"95\":985,\"90\":975,\"75\":693,\"50\":556,\"n\":18,\"min\":239,\"median\":556,\"mean\":595,\"max\":1447},\"backends.mod_muc.calls.set_nick\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.remove_user\":{\"one\":0,\"count\":484},\"backends.mod_roster.calls.del_roster_t\":{\"one\":1,\"count\":9},\"backends.mod_inbox.calls.get_entry_properties\":{\"one\":0,\"count\":2},\"backends.mod_muc_light_db.calls.remove_domain\":{\"one\":0,\"count\":0},\"backends.mod_inbox.remove_inbox_row\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"processQueueLengths\":{\"total\":0,\"regular\":0,\"fsm\":0},\"backends.mod_inbox.calls.remove_domain\":{\"one\":0,\"count\":0},\"backends.mod_offline.write_messages\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"mod_muc.deep_hibernations\":{\"one\":125,\"count\":153},\"backends.mod_private.calls.multi_get_data\":{\"one\":0,\"count\":12},\"backends.mod_muc_light_db.calls.modify_aff_users\":{\"one\":5,\"count\":31},\"mod_muc.process_recreations\":{\"one\":0,\"count\":0},\"clusterSize\":{\"value\":1},\"backends.mod_roster.calls.roster_subscribe_t\":{\"one\":163,\"count\":411},\"backends.mod_inbox.set_inbox\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_vcard.set_vcard\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc.get_nick\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_inbox.reset_unread\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_roster.calls.write_roster_version\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.update_roster_t\":{\"one\":7,\"count\":41},\"backends.mongoose_rdbms.execute\":{\"999\":10305,\"99\":4295,\"95\":1258,\"90\":719,\"75\":421,\"50\":305,\"n\":2812,\"min\":69,\"median\":305,\"mean\":568,\"max\":60701},\"backends.mod_roster.update_roster_t\":{\"999\":1642,\"99\":1642,\"95\":1642,\"90\":1642,\"75\":912,\"50\":775,\"n\":8,\"min\":675,\"median\":775,\"mean\":927,\"max\":1642},\"data.xmpp.sent.compressed_size\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_vcard.get_vcard\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"cache.unique_sessions_number\":{\"value\":2,\"ms_since_reset\":240053},\"backends.mod_private.calls.multi_set_data\":{\"one\":0,\"count\":14},\"backends.mod_muc.store_room\":{\"999\":28251,\"99\":18029,\"95\":5504,\"90\":4228,\"75\":2891,\"50\":1716,\"n\":89,\"min\":913,\"median\":1716,\"mean\":2567,\"max\":28251},\"erlang.memory\":{\"total\":141493672,\"system\":90935720,\"processes_used\":51714688,\"ets\":15396056,\"binary\":610976,\"atom_used\":1280849},\"backends.mod_vcard.calls.get_vcard\":{\"one\":0,\"count\":53},\"data.xmpp.received.compressed_size\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"erlang.system_info\":{\"process_limit\":262144,\"process_count\":2304,\"port_limit\":65536,\"port_count\":41,\"ets_limit\":8192},\"backends.mod_muc_light_db.calls.create_room\":{\"one\":26,\"count\":109},\"tcpPortsUsed\":{\"value\":33},\"backends.mod_inbox.calls.set_inbox\":{\"one\":0,\"count\":210},\"uniqueSessionCount\":{\"value\":2},\"backends.mod_private.multi_get_data\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_inbox.set_entry_properties\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_offline.calls.write_messages\":{\"one\":0,\"count\":7},\"backends.mod_muc_light_db.calls.destroy_room\":{\"one\":0,\"count\":47},\"backends.mod_last.calls.get_last\":{\"one\":0,\"count\":19},\"backends.mod_muc.restore_room\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_roster.get_roster_entry\":{\"999\":50591,\"99\":50286,\"95\":1803,\"90\":1288,\"75\":859,\"50\":540,\"n\":121,\"min\":149,\"median\":540,\"mean\":2285,\"max\":50591},\"backends.mod_muc.can_use_nick\":{\"999\":57142,\"99\":21911,\"95\":8923,\"90\":2735,\"75\":1543,\"50\":942,\"n\":93,\"min\":190,\"median\":942,\"mean\":2240,\"max\":57142},\"backends.mod_roster.calls.get_roster\":{\"one\":993,\"count\":2200},\"backends.mod_roster.write_roster_version\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc.calls.can_use_nick\":{\"one\":230,\"count\":378},\"nodeSessionCount\":{\"value\":3},\"backends.mod_last.set_last_info\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc_light_db.set_blocking\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_inbox.get_entry_properties\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"data.xmpp.sent.encrypted_size\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_vcard.calls.set_vcard\":{\"one\":0,\"count\":2},\"backends.mod_muc.calls.get_nick\":{\"one\":0,\"count\":0},\"backends.mod_inbox.get_inbox\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_inbox.calls.set_entry_properties\":{\"one\":0,\"count\":64},\"backends.mongoose_rdbms.calls.query\":{\"one\":5160,\"count\":11932},\"backends.mod_muc_light_db.calls.get_user_rooms\":{\"one\":0,\"count\":32},\"backends.mod_inbox.remove_domain\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_roster.del_roster_t\":{\"999\":427,\"99\":427,\"95\":427,\"90\":427,\"75\":427,\"50\":427,\"n\":3,\"min\":427,\"median\":427,\"mean\":427,\"max\":427},\"backends.mod_inbox.calls.clear_inbox\":{\"one\":0,\"count\":525},\"backends.mod_inbox.calls.remove_inbox_row\":{\"one\":0,\"count\":7},\"backends.mod_private.multi_set_data\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"data.xmpp.received.xml_stanza_size\":{\"999\":200,\"99\":137,\"95\":137,\"90\":137,\"75\":128,\"50\":102,\"n\":63,\"min\":11,\"median\":102,\"mean\":89,\"max\":200},\"backends.mod_muc_light_db.remove_user\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_offline.pop_messages\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_inbox.calls.get_inbox_unread\":{\"one\":0,\"count\":0},\"data.xmpp.sent.xml_stanza_size\":{\"999\":437,\"99\":437,\"95\":309,\"90\":232,\"75\":211,\"50\":182,\"n\":72,\"min\":16,\"median\":182,\"mean\":181,\"max\":437},\"backends.mod_muc_light_db.create_room\":{\"999\":3390,\"99\":3390,\"95\":3390,\"90\":235,\"75\":203,\"50\":173,\"n\":28,\"min\":116,\"median\":173,\"mean\":297,\"max\":3390},\"backends.mod_inbox.set_inbox_incr_unread\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"mod_muc.hibernations\":{\"one\":125,\"count\":175},\"backends.mod_muc_light_db.remove_domain\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"nodeUpTime\":{\"value\":322},\"backends.mod_muc_light_db.set_config\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_inbox.get_inbox_unread\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"data.rdbms.default\":{\"workers\":5,\"send_pend\":0,\"send_oct\":11106572,\"send_max\":47372,\"send_cnt\":67798,\"recv_oct\":5942898,\"recv_max\":7271,\"recv_cnt\":67837},\"backends.mod_muc_light_db.get_user_rooms\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"mod_muc.online_rooms\":{\"value\":0},\"backends.mongoose_rdbms.calls.execute\":{\"one\":26853,\"count\":55027},\"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\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc_light_db.calls.set_config\":{\"one\":0,\"count\":2},\"backends.mod_inbox.calls.get_inbox\":{\"one\":0,\"count\":566},\"backends.mod_roster.calls.get_roster_entry\":{\"one\":293,\"count\":666},\"backends.mod_muc.get_rooms\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc_light_db.calls.room_exists\":{\"one\":56,\"count\":231}}}">>,
         11674,9633}
Params: #{body => <<>>,method => <<"GET">>,path => <<"/api/metrics/global/">>,
          port => 5288,return_headers => true,return_maps => true,
          role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-18 10:54:59.250 ***
REST request:
Code: 200
Req: {<0.16246.1>,<<"/api/metrics/global/uniqueSessionCount">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"5cfc30b903c5ce77">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 10:54:58 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"metric\":{\"value\":2}}">>,160,511}
Params: #{body => <<>>,method => <<"GET">>,
          path => <<"/api/metrics/global/uniqueSessionCount">>,port => 5288,
          return_headers => true,return_maps => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-18 10:54:59.260 ***
REST request:
Code: 200
Req: {<0.16248.1>,<<"/api/metrics/global/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"5d0527370fbd7ec2">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 10:54:58 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"11533">>}],
         <<"{\"metrics\":{\"backends.mod_muc.forget_room\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"mod_muc.hibernated_rooms\":{\"value\":0},\"backends.mongoose_rdbms.query\":{\"999\":23495,\"99\":1784,\"95\":731,\"90\":477,\"75\":261,\"50\":186,\"n\":807,\"min\":55,\"median\":186,\"mean\":393,\"max\":46993},\"backends.mod_muc_light_db.calls.get_config\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.store_room\":{\"one\":125,\"count\":175},\"backends.mod_muc.calls.get_rooms\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.get_blocking\":{\"one\":25,\"count\":115},\"data.xmpp.received.encrypted_size\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc_light_db.destroy_room\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc_light_db.get_aff_users\":{\"999\":3810,\"99\":3810,\"95\":284,\"90\":5,\"75\":3,\"50\":2,\"n\":45,\"min\":1,\"median\":2,\"mean\":102,\"max\":3810},\"backends.mod_offline.calls.pop_messages\":{\"one\":0,\"count\":297},\"data.dist\":{\"send_pend\":0,\"send_oct\":7287829,\"send_max\":8140,\"send_cnt\":51417,\"recv_oct\":12248023,\"recv_max\":70427,\"recv_cnt\":29309,\"connections\":3},\"backends.mod_muc_light_db.modify_aff_users\":{\"999\":169,\"99\":169,\"95\":169,\"90\":169,\"75\":169,\"50\":165,\"n\":7,\"min\":153,\"median\":165,\"mean\":162,\"max\":169},\"register_command\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.get_blocking\":{\"999\":40,\"99\":40,\"95\":40,\"90\":10,\"75\":8,\"50\":8,\"n\":27,\"min\":3,\"median\":8,\"mean\":8,\"max\":40},\"backends.mod_muc_light_db.calls.get_aff_users\":{\"one\":77,\"count\":277},\"backends.mod_inbox.clear_inbox\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"unregister_command\":{\"one\":0,\"count\":0},\"node_cleanup\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.unset_nick\":{\"one\":0,\"count\":0},\"backends.mod_muc.unset_nick\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc_light_db.room_exists\":{\"999\":355,\"99\":355,\"95\":9,\"90\":9,\"75\":7,\"50\":6,\"n\":35,\"min\":2,\"median\":6,\"mean\":16,\"max\":355},\"backends.mod_roster.roster_subscribe_t\":{\"999\":36251,\"99\":10281,\"95\":603,\"90\":421,\"75\":334,\"50\":300,\"n\":63,\"min\":138,\"median\":300,\"mean\":648,\"max\":36251},\"backends.mod_inbox.calls.reset_unread\":{\"one\":0,\"count\":108},\"backends.mod_roster.get_subscription_lists\":{\"999\":756,\"99\":756,\"95\":653,\"90\":491,\"75\":390,\"50\":349,\"n\":24,\"min\":195,\"median\":349,\"mean\":365,\"max\":756},\"backends.mod_muc_light_db.get_config\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc_light_db.calls.set_blocking\":{\"one\":0,\"count\":4},\"backends.mod_muc.calls.forget_room\":{\"one\":0,\"count\":0},\"backends.mod_inbox.calls.set_inbox_incr_unread\":{\"one\":0,\"count\":348},\"backends.mod_last.calls.set_last_info\":{\"one\":0,\"count\":22},\"backends.mod_roster.calls.read_roster_version\":{\"one\":0,\"count\":0},\"backends.mod_muc.set_nick\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_roster.calls.get_subscription_lists\":{\"one\":1999,\"count\":4231},\"backends.mod_vcard.search\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"totalSessionCount\":{\"value\":3},\"backends.mod_roster.read_roster_version\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_roster.get_roster\":{\"999\":1447,\"99\":1447,\"95\":985,\"90\":975,\"75\":693,\"50\":556,\"n\":18,\"min\":239,\"median\":556,\"mean\":595,\"max\":1447},\"backends.mod_muc.calls.set_nick\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.remove_user\":{\"one\":0,\"count\":484},\"backends.mod_roster.calls.del_roster_t\":{\"one\":1,\"count\":9},\"backends.mod_inbox.calls.get_entry_properties\":{\"one\":0,\"count\":2},\"backends.mod_muc_light_db.calls.remove_domain\":{\"one\":0,\"count\":0},\"backends.mod_inbox.remove_inbox_row\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"processQueueLengths\":{\"total\":0,\"regular\":0,\"fsm\":0},\"backends.mod_inbox.calls.remove_domain\":{\"one\":0,\"count\":0},\"backends.mod_offline.write_messages\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"mod_muc.deep_hibernations\":{\"one\":125,\"count\":153},\"backends.mod_private.calls.multi_get_data\":{\"one\":0,\"count\":12},\"backends.mod_muc_light_db.calls.modify_aff_users\":{\"one\":5,\"count\":31},\"mod_muc.process_recreations\":{\"one\":0,\"count\":0},\"clusterSize\":{\"value\":1},\"backends.mod_roster.calls.roster_subscribe_t\":{\"one\":163,\"count\":411},\"backends.mod_inbox.set_inbox\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_vcard.set_vcard\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc.get_nick\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_inbox.reset_unread\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_roster.calls.write_roster_version\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.update_roster_t\":{\"one\":7,\"count\":41},\"backends.mongoose_rdbms.execute\":{\"999\":10305,\"99\":4295,\"95\":1258,\"90\":719,\"75\":421,\"50\":305,\"n\":2812,\"min\":69,\"median\":305,\"mean\":568,\"max\":60701},\"backends.mod_roster.update_roster_t\":{\"999\":1642,\"99\":1642,\"95\":1642,\"90\":1642,\"75\":912,\"50\":775,\"n\":8,\"min\":675,\"median\":775,\"mean\":927,\"max\":1642},\"data.xmpp.sent.compressed_size\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_vcard.get_vcard\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"cache.unique_sessions_number\":{\"value\":2,\"ms_since_reset\":240065},\"backends.mod_private.calls.multi_set_data\":{\"one\":0,\"count\":14},\"backends.mod_muc.store_room\":{\"999\":28251,\"99\":18029,\"95\":5504,\"90\":4228,\"75\":2891,\"50\":1716,\"n\":89,\"min\":913,\"median\":1716,\"mean\":2567,\"max\":28251},\"erlang.memory\":{\"total\":142784176,\"system\":90940928,\"processes_used\":53019960,\"ets\":15396056,\"binary\":612312,\"atom_used\":1280849},\"backends.mod_vcard.calls.get_vcard\":{\"one\":0,\"count\":53},\"data.xmpp.received.compressed_size\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"erlang.system_info\":{\"process_limit\":262144,\"process_count\":2305,\"port_limit\":65536,\"port_count\":41,\"ets_limit\":8192},\"backends.mod_muc_light_db.calls.create_room\":{\"one\":26,\"count\":109},\"tcpPortsUsed\":{\"value\":37},\"backends.mod_inbox.calls.set_inbox\":{\"one\":0,\"count\":210},\"uniqueSessionCount\":{\"value\":2},\"backends.mod_private.multi_get_data\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_inbox.set_entry_properties\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_offline.calls.write_messages\":{\"one\":0,\"count\":7},\"backends.mod_muc_light_db.calls.destroy_room\":{\"one\":0,\"count\":47},\"backends.mod_last.calls.get_last\":{\"one\":0,\"count\":19},\"backends.mod_muc.restore_room\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_roster.get_roster_entry\":{\"999\":50591,\"99\":50286,\"95\":1803,\"90\":1288,\"75\":859,\"50\":540,\"n\":121,\"min\":149,\"median\":540,\"mean\":2285,\"max\":50591},\"backends.mod_muc.can_use_nick\":{\"999\":57142,\"99\":21911,\"95\":8923,\"90\":2735,\"75\":1543,\"50\":942,\"n\":93,\"min\":190,\"median\":942,\"mean\":2240,\"max\":57142},\"backends.mod_roster.calls.get_roster\":{\"one\":993,\"count\":2200},\"backends.mod_roster.write_roster_version\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc.calls.can_use_nick\":{\"one\":230,\"count\":378},\"nodeSessionCount\":{\"value\":3},\"backends.mod_last.set_last_info\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc_light_db.set_blocking\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_inbox.get_entry_properties\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"data.xmpp.sent.encrypted_size\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_vcard.calls.set_vcard\":{\"one\":0,\"count\":2},\"backends.mod_muc.calls.get_nick\":{\"one\":0,\"count\":0},\"backends.mod_inbox.get_inbox\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_inbox.calls.set_entry_properties\":{\"one\":0,\"count\":64},\"backends.mongoose_rdbms.calls.query\":{\"one\":5160,\"count\":11932},\"backends.mod_muc_light_db.calls.get_user_rooms\":{\"one\":0,\"count\":32},\"backends.mod_inbox.remove_domain\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_roster.del_roster_t\":{\"999\":427,\"99\":427,\"95\":427,\"90\":427,\"75\":427,\"50\":427,\"n\":3,\"min\":427,\"median\":427,\"mean\":427,\"max\":427},\"backends.mod_inbox.calls.clear_inbox\":{\"one\":0,\"count\":525},\"backends.mod_inbox.calls.remove_inbox_row\":{\"one\":0,\"count\":7},\"backends.mod_private.multi_set_data\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"data.xmpp.received.xml_stanza_size\":{\"999\":200,\"99\":137,\"95\":137,\"90\":137,\"75\":128,\"50\":102,\"n\":63,\"min\":11,\"median\":102,\"mean\":89,\"max\":200},\"backends.mod_muc_light_db.remove_user\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_offline.pop_messages\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_inbox.calls.get_inbox_unread\":{\"one\":0,\"count\":0},\"data.xmpp.sent.xml_stanza_size\":{\"999\":437,\"99\":437,\"95\":309,\"90\":232,\"75\":211,\"50\":182,\"n\":72,\"min\":16,\"median\":182,\"mean\":181,\"max\":437},\"backends.mod_muc_light_db.create_room\":{\"999\":3390,\"99\":3390,\"95\":3390,\"90\":235,\"75\":203,\"50\":173,\"n\":28,\"min\":116,\"median\":173,\"mean\":297,\"max\":3390},\"backends.mod_inbox.set_inbox_incr_unread\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"mod_muc.hibernations\":{\"one\":125,\"count\":175},\"backends.mod_muc_light_db.remove_domain\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"nodeUpTime\":{\"value\":322},\"backends.mod_muc_light_db.set_config\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_inbox.get_inbox_unread\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"data.rdbms.default\":{\"workers\":5,\"send_pend\":0,\"send_oct\":11106572,\"send_max\":47372,\"send_cnt\":67798,\"recv_oct\":5942898,\"recv_max\":7271,\"recv_cnt\":67837},\"backends.mod_muc_light_db.get_user_rooms\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"mod_muc.online_rooms\":{\"value\":0},\"backends.mongoose_rdbms.calls.execute\":{\"one\":26853,\"count\":55027},\"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\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc_light_db.calls.set_config\":{\"one\":0,\"count\":2},\"backends.mod_inbox.calls.get_inbox\":{\"one\":0,\"count\":566},\"backends.mod_roster.calls.get_roster_entry\":{\"one\":293,\"count\":666},\"backends.mod_muc.get_rooms\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc_light_db.calls.room_exists\":{\"one\":56,\"count\":231}}}">>,
         11674,9094}
Params: #{body => <<>>,method => <<"GET">>,path => <<"/api/metrics/global/">>,
          port => 5288,return_headers => true,return_maps => true,
          role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-18 10:54:59.265 ***
REST request:
Code: 200
Req: {<0.16250.1>,<<"/api/metrics/global/nodeSessionCount">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"1028ad3ab39267da">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 10:54:58 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"metric\":{\"value\":3}}">>,160,569}
Params: #{body => <<>>,method => <<"GET">>,
          path => <<"/api/metrics/global/nodeSessionCount">>,port => 5288,
          return_headers => true,return_maps => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-18 10:54:59.291 ***
REST request:
Code: 200
Req: {<0.16252.1>,<<"/api/metrics/global/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"51f4808670b737a5">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 10:54:58 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"11533">>}],
         <<"{\"metrics\":{\"backends.mod_muc.forget_room\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"mod_muc.hibernated_rooms\":{\"value\":0},\"backends.mongoose_rdbms.query\":{\"999\":23495,\"99\":1784,\"95\":731,\"90\":477,\"75\":261,\"50\":186,\"n\":807,\"min\":55,\"median\":186,\"mean\":393,\"max\":46993},\"backends.mod_muc_light_db.calls.get_config\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.store_room\":{\"one\":125,\"count\":175},\"backends.mod_muc.calls.get_rooms\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.get_blocking\":{\"one\":25,\"count\":115},\"data.xmpp.received.encrypted_size\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc_light_db.destroy_room\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc_light_db.get_aff_users\":{\"999\":3810,\"99\":3810,\"95\":284,\"90\":5,\"75\":3,\"50\":2,\"n\":45,\"min\":1,\"median\":2,\"mean\":102,\"max\":3810},\"backends.mod_offline.calls.pop_messages\":{\"one\":0,\"count\":297},\"data.dist\":{\"send_pend\":0,\"send_oct\":7287829,\"send_max\":8140,\"send_cnt\":51417,\"recv_oct\":12248023,\"recv_max\":70427,\"recv_cnt\":29309,\"connections\":3},\"backends.mod_muc_light_db.modify_aff_users\":{\"999\":169,\"99\":169,\"95\":169,\"90\":169,\"75\":169,\"50\":165,\"n\":7,\"min\":153,\"median\":165,\"mean\":162,\"max\":169},\"register_command\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.get_blocking\":{\"999\":40,\"99\":40,\"95\":40,\"90\":10,\"75\":8,\"50\":8,\"n\":27,\"min\":3,\"median\":8,\"mean\":8,\"max\":40},\"backends.mod_muc_light_db.calls.get_aff_users\":{\"one\":77,\"count\":277},\"backends.mod_inbox.clear_inbox\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"unregister_command\":{\"one\":0,\"count\":0},\"node_cleanup\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.unset_nick\":{\"one\":0,\"count\":0},\"backends.mod_muc.unset_nick\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc_light_db.room_exists\":{\"999\":355,\"99\":355,\"95\":9,\"90\":9,\"75\":7,\"50\":6,\"n\":35,\"min\":2,\"median\":6,\"mean\":16,\"max\":355},\"backends.mod_roster.roster_subscribe_t\":{\"999\":36251,\"99\":10281,\"95\":603,\"90\":421,\"75\":334,\"50\":300,\"n\":63,\"min\":138,\"median\":300,\"mean\":648,\"max\":36251},\"backends.mod_inbox.calls.reset_unread\":{\"one\":0,\"count\":108},\"backends.mod_roster.get_subscription_lists\":{\"999\":756,\"99\":756,\"95\":653,\"90\":491,\"75\":390,\"50\":349,\"n\":24,\"min\":195,\"median\":349,\"mean\":365,\"max\":756},\"backends.mod_muc_light_db.get_config\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc_light_db.calls.set_blocking\":{\"one\":0,\"count\":4},\"backends.mod_muc.calls.forget_room\":{\"one\":0,\"count\":0},\"backends.mod_inbox.calls.set_inbox_incr_unread\":{\"one\":0,\"count\":348},\"backends.mod_last.calls.set_last_info\":{\"one\":0,\"count\":22},\"backends.mod_roster.calls.read_roster_version\":{\"one\":0,\"count\":0},\"backends.mod_muc.set_nick\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_roster.calls.get_subscription_lists\":{\"one\":1999,\"count\":4231},\"backends.mod_vcard.search\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"totalSessionCount\":{\"value\":3},\"backends.mod_roster.read_roster_version\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_roster.get_roster\":{\"999\":1447,\"99\":1447,\"95\":985,\"90\":975,\"75\":693,\"50\":556,\"n\":18,\"min\":239,\"median\":556,\"mean\":595,\"max\":1447},\"backends.mod_muc.calls.set_nick\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.remove_user\":{\"one\":0,\"count\":484},\"backends.mod_roster.calls.del_roster_t\":{\"one\":1,\"count\":9},\"backends.mod_inbox.calls.get_entry_properties\":{\"one\":0,\"count\":2},\"backends.mod_muc_light_db.calls.remove_domain\":{\"one\":0,\"count\":0},\"backends.mod_inbox.remove_inbox_row\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"processQueueLengths\":{\"total\":0,\"regular\":0,\"fsm\":0},\"backends.mod_inbox.calls.remove_domain\":{\"one\":0,\"count\":0},\"backends.mod_offline.write_messages\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"mod_muc.deep_hibernations\":{\"one\":125,\"count\":153},\"backends.mod_private.calls.multi_get_data\":{\"one\":0,\"count\":12},\"backends.mod_muc_light_db.calls.modify_aff_users\":{\"one\":5,\"count\":31},\"mod_muc.process_recreations\":{\"one\":0,\"count\":0},\"clusterSize\":{\"value\":1},\"backends.mod_roster.calls.roster_subscribe_t\":{\"one\":163,\"count\":411},\"backends.mod_inbox.set_inbox\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_vcard.set_vcard\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc.get_nick\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_inbox.reset_unread\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_roster.calls.write_roster_version\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.update_roster_t\":{\"one\":7,\"count\":41},\"backends.mongoose_rdbms.execute\":{\"999\":10305,\"99\":4295,\"95\":1258,\"90\":719,\"75\":421,\"50\":305,\"n\":2812,\"min\":69,\"median\":305,\"mean\":568,\"max\":60701},\"backends.mod_roster.update_roster_t\":{\"999\":1642,\"99\":1642,\"95\":1642,\"90\":1642,\"75\":912,\"50\":775,\"n\":8,\"min\":675,\"median\":775,\"mean\":927,\"max\":1642},\"data.xmpp.sent.compressed_size\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_vcard.get_vcard\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"cache.unique_sessions_number\":{\"value\":2,\"ms_since_reset\":240096},\"backends.mod_private.calls.multi_set_data\":{\"one\":0,\"count\":14},\"backends.mod_muc.store_room\":{\"999\":28251,\"99\":18029,\"95\":5504,\"90\":4228,\"75\":2891,\"50\":1716,\"n\":89,\"min\":913,\"median\":1716,\"mean\":2567,\"max\":28251},\"erlang.memory\":{\"total\":141756456,\"system\":90940696,\"processes_used\":51619560,\"ets\":15396056,\"binary\":614000,\"atom_used\":1280849},\"backends.mod_vcard.calls.get_vcard\":{\"one\":0,\"count\":53},\"data.xmpp.received.compressed_size\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"erlang.system_info\":{\"process_limit\":262144,\"process_count\":2304,\"port_limit\":65536,\"port_count\":41,\"ets_limit\":8192},\"backends.mod_muc_light_db.calls.create_room\":{\"one\":26,\"count\":109},\"tcpPortsUsed\":{\"value\":37},\"backends.mod_inbox.calls.set_inbox\":{\"one\":0,\"count\":210},\"uniqueSessionCount\":{\"value\":2},\"backends.mod_private.multi_get_data\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_inbox.set_entry_properties\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_offline.calls.write_messages\":{\"one\":0,\"count\":7},\"backends.mod_muc_light_db.calls.destroy_room\":{\"one\":0,\"count\":47},\"backends.mod_last.calls.get_last\":{\"one\":0,\"count\":19},\"backends.mod_muc.restore_room\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_roster.get_roster_entry\":{\"999\":50591,\"99\":50286,\"95\":1803,\"90\":1288,\"75\":859,\"50\":540,\"n\":121,\"min\":149,\"median\":540,\"mean\":2285,\"max\":50591},\"backends.mod_muc.can_use_nick\":{\"999\":57142,\"99\":21911,\"95\":8923,\"90\":2735,\"75\":1543,\"50\":942,\"n\":93,\"min\":190,\"median\":942,\"mean\":2240,\"max\":57142},\"backends.mod_roster.calls.get_roster\":{\"one\":993,\"count\":2200},\"backends.mod_roster.write_roster_version\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc.calls.can_use_nick\":{\"one\":230,\"count\":378},\"nodeSessionCount\":{\"value\":3},\"backends.mod_last.set_last_info\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc_light_db.set_blocking\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_inbox.get_entry_properties\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"data.xmpp.sent.encrypted_size\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_vcard.calls.set_vcard\":{\"one\":0,\"count\":2},\"backends.mod_muc.calls.get_nick\":{\"one\":0,\"count\":0},\"backends.mod_inbox.get_inbox\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_inbox.calls.set_entry_properties\":{\"one\":0,\"count\":64},\"backends.mongoose_rdbms.calls.query\":{\"one\":5160,\"count\":11932},\"backends.mod_muc_light_db.calls.get_user_rooms\":{\"one\":0,\"count\":32},\"backends.mod_inbox.remove_domain\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_roster.del_roster_t\":{\"999\":427,\"99\":427,\"95\":427,\"90\":427,\"75\":427,\"50\":427,\"n\":3,\"min\":427,\"median\":427,\"mean\":427,\"max\":427},\"backends.mod_inbox.calls.clear_inbox\":{\"one\":0,\"count\":525},\"backends.mod_inbox.calls.remove_inbox_row\":{\"one\":0,\"count\":7},\"backends.mod_private.multi_set_data\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"data.xmpp.received.xml_stanza_size\":{\"999\":200,\"99\":137,\"95\":137,\"90\":137,\"75\":128,\"50\":102,\"n\":63,\"min\":11,\"median\":102,\"mean\":89,\"max\":200},\"backends.mod_muc_light_db.remove_user\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_offline.pop_messages\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_inbox.calls.get_inbox_unread\":{\"one\":0,\"count\":0},\"data.xmpp.sent.xml_stanza_size\":{\"999\":437,\"99\":437,\"95\":309,\"90\":232,\"75\":211,\"50\":182,\"n\":72,\"min\":16,\"median\":182,\"mean\":181,\"max\":437},\"backends.mod_muc_light_db.create_room\":{\"999\":3390,\"99\":3390,\"95\":3390,\"90\":235,\"75\":203,\"50\":173,\"n\":28,\"min\":116,\"median\":173,\"mean\":297,\"max\":3390},\"backends.mod_inbox.set_inbox_incr_unread\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"mod_muc.hibernations\":{\"one\":125,\"count\":175},\"backends.mod_muc_light_db.remove_domain\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"nodeUpTime\":{\"value\":322},\"backends.mod_muc_light_db.set_config\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_inbox.get_inbox_unread\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"data.rdbms.default\":{\"workers\":5,\"send_pend\":0,\"send_oct\":11106572,\"send_max\":47372,\"send_cnt\":67798,\"recv_oct\":5942898,\"recv_max\":7271,\"recv_cnt\":67837},\"backends.mod_muc_light_db.get_user_rooms\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"mod_muc.online_rooms\":{\"value\":0},\"backends.mongoose_rdbms.calls.execute\":{\"one\":26853,\"count\":55027},\"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\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc_light_db.calls.set_config\":{\"one\":0,\"count\":2},\"backends.mod_inbox.calls.get_inbox\":{\"one\":0,\"count\":566},\"backends.mod_roster.calls.get_roster_entry\":{\"one\":293,\"count\":666},\"backends.mod_muc.get_rooms\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc_light_db.calls.room_exists\":{\"one\":56,\"count\":231}}}">>,
         11674,25106}
Params: #{body => <<>>,method => <<"GET">>,path => <<"/api/metrics/global/">>,
          port => 5288,return_headers => true,return_maps => true,
          role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-18 10:54:59.292 ***
bOb@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-18 10:54:59.293 ***
bOb@domain.example.com/res1 in
</stream:stream>

*** User 2022-03-18 10:54:59.293 ***
alicE@domain.example.com/res2 out
</stream:stream>

*** User 2022-03-18 10:54:59.293 ***
alicE@domain.example.com/res2 in
</stream:stream>

*** User 2022-03-18 10:54:59.293 ***
alicE@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-18 10:54:59.294 ***
alicE@domain.example.com/res1 in
</stream:stream>
*** CT 2022-03-18 10:54:59.296 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_468.html
*** CT 2022-03-18 10:54:59.297 *** View log from node mongooseim@localhost when finished mongooseim@localhost_974.html



=== Ended at 2022-03-18 10:54:59
=== successfully completed test case
=== === Returned value: ok


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