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

=== Config value:

    [{watchdog,<0.19473.0>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/metrics_api_SUITE_data"},
     {preset,"ldap_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@fdcb4a001941.2022-03-03_10.29.25/big_tests.tests.metrics_api_SUITE.logs/run.2022-03-03_10.32.28/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@fdcb4a001941.2022-03-03_10.29.25/big_tests.tests.metrics_api_SUITE.logs/run.2022-03-03_10.32.28/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_adhoc => [],mod_amp => [],mod_bosh => [],
        mod_cache_users => [{number_of_segments,5},{time_to_live,2}],
        mod_carboncopy => [],mod_commands => [],
        mod_disco => [{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 => [],mod_sic => [],mod_stream_management => [],
        mod_vcard =>
            [{backend,ldap},
             {host,{prefix,<<"vjud.">>}},
             {ldap_base,"ou=Users,dc=esl,dc=com"},
             {ldap_filter,<<"(objectClass=inetOrgPerson)">>}]}},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@fdcb4a001941.2022-03-03_10.29.25"

=== Started at 2022-03-03 10:32:33


*** CT 2022-03-03 10:32:33.329 *** View log from node mongooseim@localhost when started mongooseim@localhost_927.html
*** CT 2022-03-03 10:32:33.329 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_556.html

*** User 2022-03-03 10:32:33.330 ***
alicE@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-03 10:32:33.331 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e4c92c6944df450f' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:32:33.331 ***
alicE@localhost/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>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-03 10:32:33.331 ***
alicE@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-03-03 10:32:33.333 ***
alicE@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:32:33.333 ***
alicE@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-03 10:32:33.333 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4acb93de7c89005c' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:32:33.333 ***
alicE@localhost/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-03 10:32:33.334 ***
alicE@localhost/res1 out
<iq type='set' id='181a4791aa02ef88da5378de3af0ef1d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:32:33.334 ***
alicE@localhost/res1 in
<iq id='181a4791aa02ef88da5378de3af0ef1d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:32:33.335 ***
alicE@localhost/res1 out
<iq type='set' id='ad8c73dd85fa908f53ec96d2dc194575'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:32:33.335 ***
alicE@localhost/res1 in
<iq type='result' id='ad8c73dd85fa908f53ec96d2dc194575'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:32:33.335 ***
alicE@localhost/res1 out
<presence/>



*** User 2022-03-03 10:32:33.336 ***
alicE@localhost/res1 in
<presence from='alicE@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:32:33.337 ***
alicE@localhost/res2 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-03 10:32:33.337 ***
alicE@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8496a28218bfb0b5' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:32:33.337 ***
alicE@localhost/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>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-03 10:32:33.337 ***
alicE@localhost/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-03-03 10:32:33.339 ***
alicE@localhost/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:32:33.339 ***
alicE@localhost/res2 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-03 10:32:33.339 ***
alicE@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9cc507e5c2fb9804' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:32:33.339 ***
alicE@localhost/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-03 10:32:33.339 ***
alicE@localhost/res2 out
<iq type='set' id='8a1802d3311b0652268c6dca35b1687c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2022-03-03 10:32:33.339 ***
alicE@localhost/res2 in
<iq id='8a1802d3311b0652268c6dca35b1687c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@localhost/res2</jid>
	</bind>
</iq>



*** User 2022-03-03 10:32:33.340 ***
alicE@localhost/res2 out
<iq type='set' id='4214f562a51704d939762ae20f5c2f9b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:32:33.340 ***
alicE@localhost/res2 in
<iq type='result' id='4214f562a51704d939762ae20f5c2f9b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:32:33.340 ***
alicE@localhost/res2 out
<presence/>



*** User 2022-03-03 10:32:33.341 ***
alicE@localhost/res2 in
<presence from='alice@localhost/res1' to='alicE@localhost/res2' xml:lang='en'>
	<delay xmlns='urn:xmpp:delay' stamp='2022-03-03T10:32:33Z' from='alice@localhost/res1'/>
</presence>



*** User 2022-03-03 10:32:33.341 ***
alicE@localhost/res2 in
<presence from='alicE@localhost/res2' to='alice@localhost/res2' xml:lang='en'/>



*** User 2022-03-03 10:32:33.341 ***
alicE@localhost/res1 in
<presence from='alicE@localhost/res2' to='alice@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:32:33.342 ***
bOb@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-03 10:32:33.342 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='68425921e101a2df' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:32:33.343 ***
bOb@localhost/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>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-03 10:32:33.343 ***
bOb@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-03-03 10:32:33.344 ***
bOb@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:32:33.344 ***
bOb@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-03 10:32:33.345 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e314c2c345b282df' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:32:33.345 ***
bOb@localhost/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-03 10:32:33.345 ***
bOb@localhost/res1 out
<iq type='set' id='9b967a584eff74e385715cf738b1b71e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:32:33.345 ***
bOb@localhost/res1 in
<iq id='9b967a584eff74e385715cf738b1b71e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:32:33.345 ***
bOb@localhost/res1 out
<iq type='set' id='682d2beff7cf1717ccaacc1e22bf2179'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:32:33.346 ***
bOb@localhost/res1 in
<iq type='result' id='682d2beff7cf1717ccaacc1e22bf2179'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:32:33.346 ***
bOb@localhost/res1 out
<presence/>



*** User 2022-03-03 10:32:33.347 ***
bOb@localhost/res1 in
<presence from='bOb@localhost/res1' to='bob@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:32:33.348 ***
REST request:
Code: 200
Req: {<0.19494.0>,<<"/api/metrics/global/totalSessionCount">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"60119d3f7d3cd141">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 03 Mar 2022 10:32:32 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"metric\":{\"value\":3}}">>,160,576}
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-03 10:32:33.361 ***
REST request:
Code: 200
Req: {<0.19496.0>,<<"/api/metrics/global/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"d6b1274d76275c8f">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 03 Mar 2022 10:32:32 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"13378">>}],
         <<"{\"metrics\":{\"backends.mod_roster.calls.get_roster\":{\"one\":171,\"count\":279},\"backends.mod_pubsub_db.calls.del_item\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.add_item\":{\"one\":4,\"count\":13},\"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_pubsub_db.calls.del_node\":{\"one\":7,\"count\":13},\"backends.mod_muc_light_db.calls.create_room\":{\"one\":33,\"count\":33},\"backends.mod_pubsub_db.calls.set_node\":{\"one\":10,\"count\":21},\"backends.mod_last.set_last_info\":{\"999\":194,\"99\":194,\"95\":172,\"90\":172,\"75\":135,\"50\":120,\"n\":15,\"min\":58,\"median\":120,\"mean\":121,\"max\":194},\"backends.mod_muc.store_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_offline.calls.write_messages\":{\"one\":3,\"count\":6},\"backends.mod_vcard.calls.set_vcard\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.set_item\":{\"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.remove_user\":{\"one\":45,\"count\":45},\"backends.mod_private.calls.multi_set_data\":{\"one\":14,\"count\":14},\"register_command\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.get_states\":{\"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_muc.calls.forget_room\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.get_subscription_lists\":{\"one\":334,\"count\":479},\"backends.mod_last.calls.get_last\":{\"one\":1,\"count\":1},\"backends.mod_pubsub_db.calls.find_nodes_by_key\":{\"one\":2,\"count\":2},\"backends.mod_pubsub_db.calls.get_item\":{\"one\":4,\"count\":13},\"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_pubsub_db.del_node\":{\"999\":31,\"99\":31,\"95\":31,\"90\":31,\"75\":31,\"50\":19,\"n\":6,\"min\":15,\"median\":19,\"mean\":21,\"max\":31},\"backends.mod_muc_light_db.set_blocking\":{\"999\":50,\"99\":50,\"95\":50,\"90\":50,\"75\":39,\"50\":30,\"n\":4,\"min\":29,\"median\":30,\"mean\":35,\"max\":50},\"backends.mod_roster.calls.read_roster_version\":{\"one\":0,\"count\":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},\"routingErrors\":{\"one\":0,\"count\":0},\"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},\"mod_muc.hibernated_rooms\":{\"value\":0},\"backends.mod_pubsub_db.del_item\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.calls.get_states\":{\"one\":0,\"count\":0},\"backends.mod_private.calls.multi_get_data\":{\"one\":12,\"count\":12},\"mod_muc.hibernations\":{\"one\":0,\"count\":0},\"node_cleanup\":{\"one\":0,\"count\":0},\"erlang.memory\":{\"total\":126782424,\"system\":91573576,\"processes_used\":36237528,\"ets\":15770256,\"binary\":908856,\"atom_used\":1274077},\"backends.mod_pubsub_db.get_states_by_lus\":{\"999\":23,\"99\":23,\"95\":23,\"90\":23,\"75\":13,\"50\":13,\"n\":3,\"min\":7,\"median\":13,\"mean\":13,\"max\":23},\"nodeUpTime\":{\"value\":224},\"backends.mod_roster.roster_subscribe_t\":{\"999\":50,\"99\":50,\"95\":50,\"90\":42,\"75\":36,\"50\":32,\"n\":10,\"min\":20,\"median\":32,\"mean\":32,\"max\":50},\"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_private.multi_get_data\":{\"999\":85,\"99\":85,\"95\":85,\"90\":54,\"75\":47,\"50\":40,\"n\":9,\"min\":22,\"median\":40,\"mean\":40,\"max\":85},\"backends.mod_muc.calls.store_room\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.get_user_rooms\":{\"one\":26,\"count\":26},\"backends.mod_roster.calls.update_roster_t\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.get_aff_users\":{\"999\":40,\"99\":40,\"95\":9,\"90\":6,\"75\":5,\"50\":3,\"n\":17,\"min\":1,\"median\":3,\"mean\":4,\"max\":40},\"backends.mod_roster.calls.roster_subscribe_t\":{\"one\":20,\"count\":90},\"backends.mod_pubsub_db.calls.set_item\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.create_room\":{\"999\":843,\"99\":843,\"95\":348,\"90\":325,\"75\":233,\"50\":184,\"n\":17,\"min\":55,\"median\":184,\"mean\":211,\"max\":843},\"backends.mod_pubsub_db.find_nodes_by_key\":{\"999\":19,\"99\":19,\"95\":19,\"90\":19,\"75\":17,\"50\":17,\"n\":3,\"min\":16,\"median\":17,\"mean\":17,\"max\":19},\"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},\"backends.mod_muc_light_db.room_exists\":{\"999\":8,\"99\":8,\"95\":8,\"90\":4,\"75\":4,\"50\":3,\"n\":10,\"min\":2,\"median\":3,\"mean\":3,\"max\":8},\"backends.mod_pubsub_db.set_node\":{\"999\":209,\"99\":209,\"95\":209,\"90\":209,\"75\":149,\"50\":132,\"n\":10,\"min\":98,\"median\":132,\"mean\":141,\"max\":209},\"backends.mod_vcard.get_vcard\":{\"999\":2704,\"99\":2704,\"95\":2704,\"90\":2654,\"75\":1994,\"50\":1024,\"n\":20,\"min\":663,\"median\":1024,\"mean\":1436,\"max\":2704},\"backends.mod_muc_light_db.calls.get_blocking\":{\"one\":20,\"count\":20},\"backends.mod_muc_light_db.get_blocking\":{\"999\":8,\"99\":8,\"95\":7,\"90\":7,\"75\":5,\"50\":4,\"n\":12,\"min\":3,\"median\":4,\"mean\":4,\"max\":8},\"backends.mod_pubsub_db.calls.get_subnodes_tree\":{\"one\":3,\"count\":9},\"backends.mod_muc_light_db.calls.destroy_room\":{\"one\":32,\"count\":32},\"backends.mod_muc_light_db.calls.room_exists\":{\"one\":19,\"count\":19},\"backends.mod_pubsub_db.create_node\":{\"999\":44,\"99\":44,\"95\":44,\"90\":44,\"75\":40,\"50\":28,\"n\":9,\"min\":23,\"median\":28,\"mean\":31,\"max\":44},\"backends.mod_pubsub_db.get_own_nodes_states\":{\"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_roster_entry\":{\"one\":27,\"count\":97},\"backends.mod_roster.get_subscription_lists\":{\"999\":36,\"99\":32,\"95\":22,\"90\":17,\"75\":14,\"50\":11,\"n\":140,\"min\":4,\"median\":11,\"mean\":13,\"max\":36},\"backends.mod_pubsub_db.calls.get_parentnodes_tree\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.get_states_by_full\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.can_use_nick\":{\"one\":0,\"count\":0},\"mod_muc.process_recreations\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.get_parentnodes_tree\":{\"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\":282,\"99\":282,\"95\":282,\"90\":256,\"75\":221,\"50\":203,\"n\":20,\"min\":164,\"median\":203,\"mean\":212,\"max\":282},\"backends.mod_pubsub_db.get_subnodes\":{\"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.get_vcard\":{\"one\":21,\"count\":33},\"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_muc_light_db.calls.get_aff_users\":{\"one\":36,\"count\":36},\"nodeSessionCount\":{\"value\":3},\"backends.mod_pubsub_db.get_states_by_bare\":{\"999\":20,\"99\":20,\"95\":13,\"90\":13,\"75\":11,\"50\":9,\"n\":26,\"min\":3,\"median\":9,\"mean\":9,\"max\":20},\"backends.mod_roster.calls.write_roster_version\":{\"one\":0,\"count\":0},\"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},\"data.xmpp.sent.xml_stanza_size\":{\"999\":8126,\"99\":4840,\"95\":515,\"90\":372,\"75\":232,\"50\":173,\"n\":424,\"min\":16,\"median\":173,\"mean\":337,\"max\":8126},\"backends.mod_roster.update_roster_t\":{\"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.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_muc_light_db.set_config\":{\"999\":172,\"99\":172,\"95\":172,\"90\":172,\"75\":172,\"50\":75,\"n\":4,\"min\":75,\"median\":75,\"mean\":123,\"max\":172},\"backends.mod_private.multi_set_data\":{\"999\":158,\"99\":158,\"95\":158,\"90\":145,\"75\":145,\"50\":131,\"n\":9,\"min\":62,\"median\":131,\"mean\":122,\"max\":158},\"backends.mod_muc_light_db.calls.get_config\":{\"one\":0,\"count\":0},\"mod_muc.online_rooms\":{\"value\":0},\"backends.mod_pubsub_db.calls.create_node\":{\"one\":10,\"count\":21},\"backends.mod_muc_light_db.remove_user\":{\"999\":336,\"99\":336,\"95\":245,\"90\":222,\"75\":208,\"50\":181,\"n\":17,\"min\":54,\"median\":181,\"mean\":175,\"max\":336},\"erlang.system_info\":{\"process_limit\":262144,\"process_count\":2535,\"port_limit\":65536,\"port_count\":50,\"ets_limit\":8192},\"backends.mod_pubsub_db.add_item\":{\"999\":91,\"99\":91,\"95\":91,\"90\":91,\"75\":89,\"50\":76,\"n\":5,\"min\":62,\"median\":76,\"mean\":80,\"max\":91},\"processQueueLengths\":{\"total\":0,\"regular\":0,\"fsm\":0},\"backends.mod_pubsub_db.calls.get_state\":{\"one\":8,\"count\":26},\"backends.mod_muc_light_db.get_user_rooms\":{\"999\":8,\"99\":8,\"95\":6,\"90\":6,\"75\":5,\"50\":4,\"n\":12,\"min\":2,\"median\":4,\"mean\":4,\"max\":8},\"uniqueSessionCount\":{\"value\":2},\"backends.mod_muc.calls.unset_nick\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.del_items\":{\"one\":4,\"count\":13},\"backends.mod_muc_light_db.calls.set_config\":{\"one\":2,\"count\":2},\"backends.mod_pubsub_db.delete_node\":{\"999\":46,\"99\":46,\"95\":46,\"90\":46,\"75\":46,\"50\":22,\"n\":6,\"min\":20,\"median\":22,\"mean\":31,\"max\":46},\"backends.mod_offline.calls.pop_messages\":{\"one\":23,\"count\":36},\"backends.mod_pubsub_db.get_subnodes_tree\":{\"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.set_nick\":{\"one\":0,\"count\":0},\"backends.mod_last.get_last\":{\"999\":6,\"99\":6,\"95\":6,\"90\":6,\"75\":6,\"50\":6,\"n\":3,\"min\":6,\"median\":6,\"mean\":6,\"max\":6},\"backends.mod_pubsub_db.calls.get_items\":{\"one\":0,\"count\":0},\"backends.mod_roster.get_roster\":{\"999\":32,\"99\":32,\"95\":24,\"90\":22,\"75\":19,\"50\":12,\"n\":90,\"min\":5,\"median\":12,\"mean\":15,\"max\":32},\"backends.mod_pubsub_db.calls.get_subnodes\":{\"one\":0,\"count\":0},\"tcpPortsUsed\":{\"value\":42},\"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},\"data.dist\":{\"send_pend\":0,\"send_oct\":2637700,\"send_max\":52840,\"send_cnt\":16064,\"recv_oct\":6224630,\"recv_max\":70540,\"recv_cnt\":12451,\"connections\":3},\"backends.mod_pubsub_db.get_items\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.calls.find_node_by_name\":{\"one\":40,\"count\":98},\"cache.unique_sessions_number\":{\"value\":2,\"ms_since_reset\":123288},\"backends.mod_muc.can_use_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.modify_aff_users\":{\"999\":483,\"99\":483,\"95\":483,\"90\":266,\"75\":204,\"50\":179,\"n\":9,\"min\":123,\"median\":179,\"mean\":192,\"max\":483},\"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.calls.restore_room\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.get_own_nodes_states\":{\"one\":0,\"count\":0},\"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.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_muc_light_db.destroy_room\":{\"999\":343,\"99\":343,\"95\":343,\"90\":343,\"75\":135,\"50\":109,\"n\":15,\"min\":54,\"median\":109,\"mean\":145,\"max\":343},\"mod_muc.deep_hibernations\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.find_node_by_name\":{\"999\":35,\"99\":35,\"95\":19,\"90\":18,\"75\":17,\"50\":8,\"n\":18,\"min\":2,\"median\":8,\"mean\":11,\"max\":35},\"backends.mod_last.calls.set_last_info\":{\"one\":16,\"count\":16},\"backends.mod_pubsub_db.calls.find_node_by_id\":{\"one\":10,\"count\":14},\"backends.mod_muc_light_db.calls.modify_aff_users\":{\"one\":16,\"count\":16},\"backends.mod_pubsub_db.del_items\":{\"999\":1,\"99\":1,\"95\":1,\"90\":1,\"75\":1,\"50\":1,\"n\":5,\"min\":0,\"median\":1,\"mean\":0,\"max\":1},\"backends.mod_pubsub_db.calls.delete_node\":{\"one\":7,\"count\":13},\"unregister_command\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.get_rooms\":{\"one\":0,\"count\":0},\"backends.mod_vcard.calls.search\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.get_state\":{\"999\":20,\"99\":20,\"95\":20,\"90\":12,\"75\":12,\"50\":7,\"n\":6,\"min\":2,\"median\":7,\"mean\":9,\"max\":20},\"backends.mod_muc.calls.get_nick\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.get_states_by_lus\":{\"one\":3,\"count\":3},\"clusterSize\":{\"value\":1},\"backends.mod_roster.get_roster_entry\":{\"999\":92,\"99\":92,\"95\":85,\"90\":85,\"75\":51,\"50\":45,\"n\":14,\"min\":7,\"median\":45,\"mean\":39,\"max\":92},\"backends.mod_offline.write_messages\":{\"999\":130,\"99\":130,\"95\":130,\"90\":130,\"75\":116,\"50\":116,\"n\":3,\"min\":91,\"median\":116,\"mean\":116,\"max\":130},\"backends.mod_muc_light_db.calls.remove_domain\":{\"one\":0,\"count\":0},\"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},\"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},\"backends.mod_roster.del_roster_t\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.get_item\":{\"999\":151,\"99\":151,\"95\":151,\"90\":151,\"75\":125,\"50\":119,\"n\":5,\"min\":75,\"median\":119,\"mean\":106,\"max\":151},\"backends.mod_pubsub_db.get_states_by_full\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.calls.get_states_by_bare\":{\"one\":50,\"count\":64},\"backends.mod_roster.calls.del_roster_t\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.find_node_by_id\":{\"999\":12,\"99\":12,\"95\":12,\"90\":9,\"75\":9,\"50\":6,\"n\":6,\"min\":4,\"median\":6,\"mean\":6,\"max\":12},\"backends.mod_muc_light_db.calls.set_blocking\":{\"one\":4,\"count\":4},\"data.xmpp.received.xml_stanza_size\":{\"999\":5419,\"99\":4887,\"95\":396,\"90\":156,\"75\":137,\"50\":112,\"n\":336,\"min\":11,\"median\":112,\"mean\":317,\"max\":5419}}}">>,
         13519,11762}
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-03 10:32:33.364 ***
REST request:
Code: 200
Req: {<0.19498.0>,<<"/api/metrics/global/uniqueSessionCount">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"30ffa2d3cc18b4d6">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 03 Mar 2022 10:32:32 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"metric\":{\"value\":2}}">>,160,614}
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-03 10:32:33.375 ***
REST request:
Code: 200
Req: {<0.19500.0>,<<"/api/metrics/global/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"f0bcda56bbc4d1c8">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 03 Mar 2022 10:32:32 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"13378">>}],
         <<"{\"metrics\":{\"backends.mod_roster.calls.get_roster\":{\"one\":171,\"count\":279},\"backends.mod_pubsub_db.calls.del_item\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.add_item\":{\"one\":4,\"count\":13},\"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_pubsub_db.calls.del_node\":{\"one\":7,\"count\":13},\"backends.mod_muc_light_db.calls.create_room\":{\"one\":33,\"count\":33},\"backends.mod_pubsub_db.calls.set_node\":{\"one\":10,\"count\":21},\"backends.mod_last.set_last_info\":{\"999\":194,\"99\":194,\"95\":172,\"90\":172,\"75\":135,\"50\":120,\"n\":15,\"min\":58,\"median\":120,\"mean\":121,\"max\":194},\"backends.mod_muc.store_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_offline.calls.write_messages\":{\"one\":3,\"count\":6},\"backends.mod_vcard.calls.set_vcard\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.set_item\":{\"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.remove_user\":{\"one\":45,\"count\":45},\"backends.mod_private.calls.multi_set_data\":{\"one\":14,\"count\":14},\"register_command\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.get_states\":{\"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_muc.calls.forget_room\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.get_subscription_lists\":{\"one\":334,\"count\":479},\"backends.mod_last.calls.get_last\":{\"one\":1,\"count\":1},\"backends.mod_pubsub_db.calls.find_nodes_by_key\":{\"one\":2,\"count\":2},\"backends.mod_pubsub_db.calls.get_item\":{\"one\":4,\"count\":13},\"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_pubsub_db.del_node\":{\"999\":31,\"99\":31,\"95\":31,\"90\":31,\"75\":31,\"50\":19,\"n\":6,\"min\":15,\"median\":19,\"mean\":21,\"max\":31},\"backends.mod_muc_light_db.set_blocking\":{\"999\":50,\"99\":50,\"95\":50,\"90\":50,\"75\":39,\"50\":30,\"n\":4,\"min\":29,\"median\":30,\"mean\":35,\"max\":50},\"backends.mod_roster.calls.read_roster_version\":{\"one\":0,\"count\":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},\"routingErrors\":{\"one\":0,\"count\":0},\"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},\"mod_muc.hibernated_rooms\":{\"value\":0},\"backends.mod_pubsub_db.del_item\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.calls.get_states\":{\"one\":0,\"count\":0},\"backends.mod_private.calls.multi_get_data\":{\"one\":12,\"count\":12},\"mod_muc.hibernations\":{\"one\":0,\"count\":0},\"node_cleanup\":{\"one\":0,\"count\":0},\"erlang.memory\":{\"total\":126876056,\"system\":91573896,\"processes_used\":36329384,\"ets\":15770256,\"binary\":908840,\"atom_used\":1274077},\"backends.mod_pubsub_db.get_states_by_lus\":{\"999\":23,\"99\":23,\"95\":23,\"90\":23,\"75\":13,\"50\":13,\"n\":3,\"min\":7,\"median\":13,\"mean\":13,\"max\":23},\"nodeUpTime\":{\"value\":224},\"backends.mod_roster.roster_subscribe_t\":{\"999\":50,\"99\":50,\"95\":50,\"90\":42,\"75\":36,\"50\":32,\"n\":10,\"min\":20,\"median\":32,\"mean\":32,\"max\":50},\"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_private.multi_get_data\":{\"999\":85,\"99\":85,\"95\":85,\"90\":54,\"75\":47,\"50\":40,\"n\":9,\"min\":22,\"median\":40,\"mean\":40,\"max\":85},\"backends.mod_muc.calls.store_room\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.get_user_rooms\":{\"one\":26,\"count\":26},\"backends.mod_roster.calls.update_roster_t\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.get_aff_users\":{\"999\":40,\"99\":40,\"95\":9,\"90\":6,\"75\":5,\"50\":3,\"n\":17,\"min\":1,\"median\":3,\"mean\":4,\"max\":40},\"backends.mod_roster.calls.roster_subscribe_t\":{\"one\":20,\"count\":90},\"backends.mod_pubsub_db.calls.set_item\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.create_room\":{\"999\":843,\"99\":843,\"95\":348,\"90\":325,\"75\":233,\"50\":184,\"n\":17,\"min\":55,\"median\":184,\"mean\":211,\"max\":843},\"backends.mod_pubsub_db.find_nodes_by_key\":{\"999\":19,\"99\":19,\"95\":19,\"90\":19,\"75\":17,\"50\":17,\"n\":3,\"min\":16,\"median\":17,\"mean\":17,\"max\":19},\"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},\"backends.mod_muc_light_db.room_exists\":{\"999\":8,\"99\":8,\"95\":8,\"90\":4,\"75\":4,\"50\":3,\"n\":10,\"min\":2,\"median\":3,\"mean\":3,\"max\":8},\"backends.mod_pubsub_db.set_node\":{\"999\":209,\"99\":209,\"95\":209,\"90\":209,\"75\":149,\"50\":132,\"n\":10,\"min\":98,\"median\":132,\"mean\":141,\"max\":209},\"backends.mod_vcard.get_vcard\":{\"999\":2704,\"99\":2704,\"95\":2704,\"90\":2654,\"75\":1994,\"50\":1024,\"n\":20,\"min\":663,\"median\":1024,\"mean\":1436,\"max\":2704},\"backends.mod_muc_light_db.calls.get_blocking\":{\"one\":20,\"count\":20},\"backends.mod_muc_light_db.get_blocking\":{\"999\":8,\"99\":8,\"95\":7,\"90\":7,\"75\":5,\"50\":4,\"n\":12,\"min\":3,\"median\":4,\"mean\":4,\"max\":8},\"backends.mod_pubsub_db.calls.get_subnodes_tree\":{\"one\":3,\"count\":9},\"backends.mod_muc_light_db.calls.destroy_room\":{\"one\":32,\"count\":32},\"backends.mod_muc_light_db.calls.room_exists\":{\"one\":19,\"count\":19},\"backends.mod_pubsub_db.create_node\":{\"999\":44,\"99\":44,\"95\":44,\"90\":44,\"75\":40,\"50\":28,\"n\":9,\"min\":23,\"median\":28,\"mean\":31,\"max\":44},\"backends.mod_pubsub_db.get_own_nodes_states\":{\"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_roster_entry\":{\"one\":27,\"count\":97},\"backends.mod_roster.get_subscription_lists\":{\"999\":36,\"99\":32,\"95\":22,\"90\":17,\"75\":14,\"50\":11,\"n\":140,\"min\":4,\"median\":11,\"mean\":13,\"max\":36},\"backends.mod_pubsub_db.calls.get_parentnodes_tree\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.get_states_by_full\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.can_use_nick\":{\"one\":0,\"count\":0},\"mod_muc.process_recreations\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.get_parentnodes_tree\":{\"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\":282,\"99\":282,\"95\":282,\"90\":256,\"75\":221,\"50\":203,\"n\":20,\"min\":164,\"median\":203,\"mean\":212,\"max\":282},\"backends.mod_pubsub_db.get_subnodes\":{\"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.get_vcard\":{\"one\":21,\"count\":33},\"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_muc_light_db.calls.get_aff_users\":{\"one\":36,\"count\":36},\"nodeSessionCount\":{\"value\":3},\"backends.mod_pubsub_db.get_states_by_bare\":{\"999\":20,\"99\":20,\"95\":13,\"90\":13,\"75\":11,\"50\":9,\"n\":26,\"min\":3,\"median\":9,\"mean\":9,\"max\":20},\"backends.mod_roster.calls.write_roster_version\":{\"one\":0,\"count\":0},\"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},\"data.xmpp.sent.xml_stanza_size\":{\"999\":8126,\"99\":4840,\"95\":515,\"90\":372,\"75\":232,\"50\":173,\"n\":424,\"min\":16,\"median\":173,\"mean\":337,\"max\":8126},\"backends.mod_roster.update_roster_t\":{\"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.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_muc_light_db.set_config\":{\"999\":172,\"99\":172,\"95\":172,\"90\":172,\"75\":172,\"50\":75,\"n\":4,\"min\":75,\"median\":75,\"mean\":123,\"max\":172},\"backends.mod_private.multi_set_data\":{\"999\":158,\"99\":158,\"95\":158,\"90\":145,\"75\":145,\"50\":131,\"n\":9,\"min\":62,\"median\":131,\"mean\":122,\"max\":158},\"backends.mod_muc_light_db.calls.get_config\":{\"one\":0,\"count\":0},\"mod_muc.online_rooms\":{\"value\":0},\"backends.mod_pubsub_db.calls.create_node\":{\"one\":10,\"count\":21},\"backends.mod_muc_light_db.remove_user\":{\"999\":336,\"99\":336,\"95\":245,\"90\":222,\"75\":208,\"50\":181,\"n\":17,\"min\":54,\"median\":181,\"mean\":175,\"max\":336},\"erlang.system_info\":{\"process_limit\":262144,\"process_count\":2535,\"port_limit\":65536,\"port_count\":50,\"ets_limit\":8192},\"backends.mod_pubsub_db.add_item\":{\"999\":91,\"99\":91,\"95\":91,\"90\":91,\"75\":89,\"50\":76,\"n\":5,\"min\":62,\"median\":76,\"mean\":80,\"max\":91},\"processQueueLengths\":{\"total\":0,\"regular\":0,\"fsm\":0},\"backends.mod_pubsub_db.calls.get_state\":{\"one\":8,\"count\":26},\"backends.mod_muc_light_db.get_user_rooms\":{\"999\":8,\"99\":8,\"95\":6,\"90\":6,\"75\":5,\"50\":4,\"n\":12,\"min\":2,\"median\":4,\"mean\":4,\"max\":8},\"uniqueSessionCount\":{\"value\":2},\"backends.mod_muc.calls.unset_nick\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.del_items\":{\"one\":4,\"count\":13},\"backends.mod_muc_light_db.calls.set_config\":{\"one\":2,\"count\":2},\"backends.mod_pubsub_db.delete_node\":{\"999\":46,\"99\":46,\"95\":46,\"90\":46,\"75\":46,\"50\":22,\"n\":6,\"min\":20,\"median\":22,\"mean\":31,\"max\":46},\"backends.mod_offline.calls.pop_messages\":{\"one\":23,\"count\":36},\"backends.mod_pubsub_db.get_subnodes_tree\":{\"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.set_nick\":{\"one\":0,\"count\":0},\"backends.mod_last.get_last\":{\"999\":6,\"99\":6,\"95\":6,\"90\":6,\"75\":6,\"50\":6,\"n\":3,\"min\":6,\"median\":6,\"mean\":6,\"max\":6},\"backends.mod_pubsub_db.calls.get_items\":{\"one\":0,\"count\":0},\"backends.mod_roster.get_roster\":{\"999\":32,\"99\":32,\"95\":23,\"90\":22,\"75\":19,\"50\":12,\"n\":89,\"min\":5,\"median\":12,\"mean\":15,\"max\":32},\"backends.mod_pubsub_db.calls.get_subnodes\":{\"one\":0,\"count\":0},\"tcpPortsUsed\":{\"value\":42},\"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},\"data.dist\":{\"send_pend\":0,\"send_oct\":2637700,\"send_max\":52840,\"send_cnt\":16064,\"recv_oct\":6224630,\"recv_max\":70540,\"recv_cnt\":12451,\"connections\":3},\"backends.mod_pubsub_db.get_items\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.calls.find_node_by_name\":{\"one\":40,\"count\":98},\"cache.unique_sessions_number\":{\"value\":2,\"ms_since_reset\":123304},\"backends.mod_muc.can_use_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.modify_aff_users\":{\"999\":483,\"99\":483,\"95\":483,\"90\":266,\"75\":204,\"50\":179,\"n\":9,\"min\":123,\"median\":179,\"mean\":192,\"max\":483},\"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.calls.restore_room\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.get_own_nodes_states\":{\"one\":0,\"count\":0},\"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.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_muc_light_db.destroy_room\":{\"999\":343,\"99\":343,\"95\":343,\"90\":343,\"75\":135,\"50\":109,\"n\":15,\"min\":54,\"median\":109,\"mean\":145,\"max\":343},\"mod_muc.deep_hibernations\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.find_node_by_name\":{\"999\":35,\"99\":35,\"95\":19,\"90\":18,\"75\":17,\"50\":8,\"n\":18,\"min\":2,\"median\":8,\"mean\":11,\"max\":35},\"backends.mod_last.calls.set_last_info\":{\"one\":16,\"count\":16},\"backends.mod_pubsub_db.calls.find_node_by_id\":{\"one\":10,\"count\":14},\"backends.mod_muc_light_db.calls.modify_aff_users\":{\"one\":16,\"count\":16},\"backends.mod_pubsub_db.del_items\":{\"999\":1,\"99\":1,\"95\":1,\"90\":1,\"75\":1,\"50\":1,\"n\":5,\"min\":0,\"median\":1,\"mean\":0,\"max\":1},\"backends.mod_pubsub_db.calls.delete_node\":{\"one\":7,\"count\":13},\"unregister_command\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.get_rooms\":{\"one\":0,\"count\":0},\"backends.mod_vcard.calls.search\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.get_state\":{\"999\":20,\"99\":20,\"95\":20,\"90\":12,\"75\":12,\"50\":7,\"n\":6,\"min\":2,\"median\":7,\"mean\":9,\"max\":20},\"backends.mod_muc.calls.get_nick\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.get_states_by_lus\":{\"one\":3,\"count\":3},\"clusterSize\":{\"value\":1},\"backends.mod_roster.get_roster_entry\":{\"999\":92,\"99\":92,\"95\":85,\"90\":85,\"75\":51,\"50\":45,\"n\":14,\"min\":7,\"median\":45,\"mean\":39,\"max\":92},\"backends.mod_offline.write_messages\":{\"999\":130,\"99\":130,\"95\":130,\"90\":130,\"75\":116,\"50\":116,\"n\":3,\"min\":91,\"median\":116,\"mean\":116,\"max\":130},\"backends.mod_muc_light_db.calls.remove_domain\":{\"one\":0,\"count\":0},\"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},\"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},\"backends.mod_roster.del_roster_t\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.get_item\":{\"999\":151,\"99\":151,\"95\":151,\"90\":151,\"75\":125,\"50\":119,\"n\":5,\"min\":75,\"median\":119,\"mean\":106,\"max\":151},\"backends.mod_pubsub_db.get_states_by_full\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.calls.get_states_by_bare\":{\"one\":50,\"count\":64},\"backends.mod_roster.calls.del_roster_t\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.find_node_by_id\":{\"999\":12,\"99\":12,\"95\":12,\"90\":9,\"75\":9,\"50\":6,\"n\":6,\"min\":4,\"median\":6,\"mean\":6,\"max\":12},\"backends.mod_muc_light_db.calls.set_blocking\":{\"one\":4,\"count\":4},\"data.xmpp.received.xml_stanza_size\":{\"999\":5419,\"99\":4887,\"95\":396,\"90\":156,\"75\":137,\"50\":112,\"n\":336,\"min\":11,\"median\":112,\"mean\":317,\"max\":5419}}}">>,
         13519,10196}
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-03 10:32:33.378 ***
REST request:
Code: 200
Req: {<0.19502.0>,<<"/api/metrics/global/nodeSessionCount">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"2a605a23140f755c">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 03 Mar 2022 10:32:32 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"metric\":{\"value\":3}}">>,160,564}
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-03 10:32:33.390 ***
REST request:
Code: 200
Req: {<0.19504.0>,<<"/api/metrics/global/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"04e15fbb8fb7e387">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 03 Mar 2022 10:32:32 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"13378">>}],
         <<"{\"metrics\":{\"backends.mod_roster.calls.get_roster\":{\"one\":171,\"count\":279},\"backends.mod_pubsub_db.calls.del_item\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.add_item\":{\"one\":4,\"count\":13},\"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_pubsub_db.calls.del_node\":{\"one\":7,\"count\":13},\"backends.mod_muc_light_db.calls.create_room\":{\"one\":33,\"count\":33},\"backends.mod_pubsub_db.calls.set_node\":{\"one\":10,\"count\":21},\"backends.mod_last.set_last_info\":{\"999\":194,\"99\":194,\"95\":172,\"90\":172,\"75\":135,\"50\":120,\"n\":15,\"min\":58,\"median\":120,\"mean\":121,\"max\":194},\"backends.mod_muc.store_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_offline.calls.write_messages\":{\"one\":3,\"count\":6},\"backends.mod_vcard.calls.set_vcard\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.set_item\":{\"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.remove_user\":{\"one\":45,\"count\":45},\"backends.mod_private.calls.multi_set_data\":{\"one\":14,\"count\":14},\"register_command\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.get_states\":{\"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_muc.calls.forget_room\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.get_subscription_lists\":{\"one\":334,\"count\":479},\"backends.mod_last.calls.get_last\":{\"one\":1,\"count\":1},\"backends.mod_pubsub_db.calls.find_nodes_by_key\":{\"one\":2,\"count\":2},\"backends.mod_pubsub_db.calls.get_item\":{\"one\":4,\"count\":13},\"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_pubsub_db.del_node\":{\"999\":31,\"99\":31,\"95\":31,\"90\":31,\"75\":31,\"50\":19,\"n\":6,\"min\":15,\"median\":19,\"mean\":21,\"max\":31},\"backends.mod_muc_light_db.set_blocking\":{\"999\":50,\"99\":50,\"95\":50,\"90\":50,\"75\":39,\"50\":30,\"n\":4,\"min\":29,\"median\":30,\"mean\":35,\"max\":50},\"backends.mod_roster.calls.read_roster_version\":{\"one\":0,\"count\":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},\"routingErrors\":{\"one\":0,\"count\":0},\"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},\"mod_muc.hibernated_rooms\":{\"value\":0},\"backends.mod_pubsub_db.del_item\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.calls.get_states\":{\"one\":0,\"count\":0},\"backends.mod_private.calls.multi_get_data\":{\"one\":12,\"count\":12},\"mod_muc.hibernations\":{\"one\":0,\"count\":0},\"node_cleanup\":{\"one\":0,\"count\":0},\"erlang.memory\":{\"total\":127066088,\"system\":91573408,\"processes_used\":36519512,\"ets\":15770256,\"binary\":908824,\"atom_used\":1274077},\"backends.mod_pubsub_db.get_states_by_lus\":{\"999\":23,\"99\":23,\"95\":23,\"90\":23,\"75\":13,\"50\":13,\"n\":3,\"min\":7,\"median\":13,\"mean\":13,\"max\":23},\"nodeUpTime\":{\"value\":224},\"backends.mod_roster.roster_subscribe_t\":{\"999\":50,\"99\":50,\"95\":50,\"90\":42,\"75\":36,\"50\":32,\"n\":10,\"min\":20,\"median\":32,\"mean\":32,\"max\":50},\"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_private.multi_get_data\":{\"999\":85,\"99\":85,\"95\":85,\"90\":54,\"75\":47,\"50\":40,\"n\":9,\"min\":22,\"median\":40,\"mean\":40,\"max\":85},\"backends.mod_muc.calls.store_room\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.get_user_rooms\":{\"one\":26,\"count\":26},\"backends.mod_roster.calls.update_roster_t\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.get_aff_users\":{\"999\":40,\"99\":40,\"95\":9,\"90\":6,\"75\":5,\"50\":3,\"n\":17,\"min\":1,\"median\":3,\"mean\":4,\"max\":40},\"backends.mod_roster.calls.roster_subscribe_t\":{\"one\":20,\"count\":90},\"backends.mod_pubsub_db.calls.set_item\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.create_room\":{\"999\":843,\"99\":843,\"95\":348,\"90\":325,\"75\":233,\"50\":184,\"n\":17,\"min\":55,\"median\":184,\"mean\":211,\"max\":843},\"backends.mod_pubsub_db.find_nodes_by_key\":{\"999\":19,\"99\":19,\"95\":19,\"90\":19,\"75\":17,\"50\":17,\"n\":3,\"min\":16,\"median\":17,\"mean\":17,\"max\":19},\"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},\"backends.mod_muc_light_db.room_exists\":{\"999\":8,\"99\":8,\"95\":8,\"90\":4,\"75\":4,\"50\":3,\"n\":10,\"min\":2,\"median\":3,\"mean\":3,\"max\":8},\"backends.mod_pubsub_db.set_node\":{\"999\":209,\"99\":209,\"95\":209,\"90\":209,\"75\":149,\"50\":132,\"n\":10,\"min\":98,\"median\":132,\"mean\":141,\"max\":209},\"backends.mod_vcard.get_vcard\":{\"999\":2704,\"99\":2704,\"95\":2704,\"90\":2654,\"75\":1994,\"50\":1024,\"n\":20,\"min\":663,\"median\":1024,\"mean\":1436,\"max\":2704},\"backends.mod_muc_light_db.calls.get_blocking\":{\"one\":20,\"count\":20},\"backends.mod_muc_light_db.get_blocking\":{\"999\":8,\"99\":8,\"95\":7,\"90\":7,\"75\":5,\"50\":4,\"n\":12,\"min\":3,\"median\":4,\"mean\":4,\"max\":8},\"backends.mod_pubsub_db.calls.get_subnodes_tree\":{\"one\":3,\"count\":9},\"backends.mod_muc_light_db.calls.destroy_room\":{\"one\":32,\"count\":32},\"backends.mod_muc_light_db.calls.room_exists\":{\"one\":19,\"count\":19},\"backends.mod_pubsub_db.create_node\":{\"999\":44,\"99\":44,\"95\":44,\"90\":44,\"75\":40,\"50\":28,\"n\":9,\"min\":23,\"median\":28,\"mean\":31,\"max\":44},\"backends.mod_pubsub_db.get_own_nodes_states\":{\"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_roster_entry\":{\"one\":27,\"count\":97},\"backends.mod_roster.get_subscription_lists\":{\"999\":36,\"99\":32,\"95\":22,\"90\":17,\"75\":14,\"50\":11,\"n\":140,\"min\":4,\"median\":11,\"mean\":13,\"max\":36},\"backends.mod_pubsub_db.calls.get_parentnodes_tree\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.get_states_by_full\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.can_use_nick\":{\"one\":0,\"count\":0},\"mod_muc.process_recreations\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.get_parentnodes_tree\":{\"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\":282,\"99\":282,\"95\":282,\"90\":256,\"75\":221,\"50\":203,\"n\":20,\"min\":164,\"median\":203,\"mean\":212,\"max\":282},\"backends.mod_pubsub_db.get_subnodes\":{\"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.get_vcard\":{\"one\":21,\"count\":33},\"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_muc_light_db.calls.get_aff_users\":{\"one\":36,\"count\":36},\"nodeSessionCount\":{\"value\":3},\"backends.mod_pubsub_db.get_states_by_bare\":{\"999\":20,\"99\":20,\"95\":13,\"90\":13,\"75\":11,\"50\":9,\"n\":26,\"min\":3,\"median\":9,\"mean\":9,\"max\":20},\"backends.mod_roster.calls.write_roster_version\":{\"one\":0,\"count\":0},\"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},\"data.xmpp.sent.xml_stanza_size\":{\"999\":8126,\"99\":4840,\"95\":515,\"90\":372,\"75\":232,\"50\":173,\"n\":424,\"min\":16,\"median\":173,\"mean\":337,\"max\":8126},\"backends.mod_roster.update_roster_t\":{\"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.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_muc_light_db.set_config\":{\"999\":172,\"99\":172,\"95\":172,\"90\":172,\"75\":172,\"50\":75,\"n\":4,\"min\":75,\"median\":75,\"mean\":123,\"max\":172},\"backends.mod_private.multi_set_data\":{\"999\":158,\"99\":158,\"95\":158,\"90\":145,\"75\":145,\"50\":131,\"n\":9,\"min\":62,\"median\":131,\"mean\":122,\"max\":158},\"backends.mod_muc_light_db.calls.get_config\":{\"one\":0,\"count\":0},\"mod_muc.online_rooms\":{\"value\":0},\"backends.mod_pubsub_db.calls.create_node\":{\"one\":10,\"count\":21},\"backends.mod_muc_light_db.remove_user\":{\"999\":336,\"99\":336,\"95\":245,\"90\":222,\"75\":208,\"50\":181,\"n\":17,\"min\":54,\"median\":181,\"mean\":175,\"max\":336},\"erlang.system_info\":{\"process_limit\":262144,\"process_count\":2535,\"port_limit\":65536,\"port_count\":50,\"ets_limit\":8192},\"backends.mod_pubsub_db.add_item\":{\"999\":91,\"99\":91,\"95\":91,\"90\":91,\"75\":89,\"50\":76,\"n\":5,\"min\":62,\"median\":76,\"mean\":80,\"max\":91},\"processQueueLengths\":{\"total\":0,\"regular\":0,\"fsm\":0},\"backends.mod_pubsub_db.calls.get_state\":{\"one\":8,\"count\":26},\"backends.mod_muc_light_db.get_user_rooms\":{\"999\":8,\"99\":8,\"95\":6,\"90\":6,\"75\":5,\"50\":4,\"n\":12,\"min\":2,\"median\":4,\"mean\":4,\"max\":8},\"uniqueSessionCount\":{\"value\":2},\"backends.mod_muc.calls.unset_nick\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.del_items\":{\"one\":4,\"count\":13},\"backends.mod_muc_light_db.calls.set_config\":{\"one\":2,\"count\":2},\"backends.mod_pubsub_db.delete_node\":{\"999\":46,\"99\":46,\"95\":46,\"90\":46,\"75\":46,\"50\":22,\"n\":6,\"min\":20,\"median\":22,\"mean\":31,\"max\":46},\"backends.mod_offline.calls.pop_messages\":{\"one\":23,\"count\":36},\"backends.mod_pubsub_db.get_subnodes_tree\":{\"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.set_nick\":{\"one\":0,\"count\":0},\"backends.mod_last.get_last\":{\"999\":6,\"99\":6,\"95\":6,\"90\":6,\"75\":6,\"50\":6,\"n\":3,\"min\":6,\"median\":6,\"mean\":6,\"max\":6},\"backends.mod_pubsub_db.calls.get_items\":{\"one\":0,\"count\":0},\"backends.mod_roster.get_roster\":{\"999\":32,\"99\":32,\"95\":23,\"90\":22,\"75\":19,\"50\":12,\"n\":89,\"min\":5,\"median\":12,\"mean\":15,\"max\":32},\"backends.mod_pubsub_db.calls.get_subnodes\":{\"one\":0,\"count\":0},\"tcpPortsUsed\":{\"value\":42},\"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},\"data.dist\":{\"send_pend\":0,\"send_oct\":2637700,\"send_max\":52840,\"send_cnt\":16064,\"recv_oct\":6224630,\"recv_max\":70540,\"recv_cnt\":12451,\"connections\":3},\"backends.mod_pubsub_db.get_items\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.calls.find_node_by_name\":{\"one\":40,\"count\":98},\"cache.unique_sessions_number\":{\"value\":2,\"ms_since_reset\":123317},\"backends.mod_muc.can_use_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.modify_aff_users\":{\"999\":483,\"99\":483,\"95\":483,\"90\":266,\"75\":204,\"50\":179,\"n\":9,\"min\":123,\"median\":179,\"mean\":192,\"max\":483},\"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.calls.restore_room\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.get_own_nodes_states\":{\"one\":0,\"count\":0},\"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.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_muc_light_db.destroy_room\":{\"999\":343,\"99\":343,\"95\":343,\"90\":343,\"75\":135,\"50\":109,\"n\":15,\"min\":54,\"median\":109,\"mean\":145,\"max\":343},\"mod_muc.deep_hibernations\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.find_node_by_name\":{\"999\":35,\"99\":35,\"95\":19,\"90\":18,\"75\":17,\"50\":8,\"n\":18,\"min\":2,\"median\":8,\"mean\":11,\"max\":35},\"backends.mod_last.calls.set_last_info\":{\"one\":16,\"count\":16},\"backends.mod_pubsub_db.calls.find_node_by_id\":{\"one\":10,\"count\":14},\"backends.mod_muc_light_db.calls.modify_aff_users\":{\"one\":16,\"count\":16},\"backends.mod_pubsub_db.del_items\":{\"999\":1,\"99\":1,\"95\":1,\"90\":1,\"75\":1,\"50\":1,\"n\":5,\"min\":0,\"median\":1,\"mean\":0,\"max\":1},\"backends.mod_pubsub_db.calls.delete_node\":{\"one\":7,\"count\":13},\"unregister_command\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.get_rooms\":{\"one\":0,\"count\":0},\"backends.mod_vcard.calls.search\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.get_state\":{\"999\":20,\"99\":20,\"95\":20,\"90\":12,\"75\":12,\"50\":7,\"n\":6,\"min\":2,\"median\":7,\"mean\":9,\"max\":20},\"backends.mod_muc.calls.get_nick\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.get_states_by_lus\":{\"one\":3,\"count\":3},\"clusterSize\":{\"value\":1},\"backends.mod_roster.get_roster_entry\":{\"999\":92,\"99\":92,\"95\":85,\"90\":85,\"75\":51,\"50\":45,\"n\":14,\"min\":7,\"median\":45,\"mean\":39,\"max\":92},\"backends.mod_offline.write_messages\":{\"999\":130,\"99\":130,\"95\":130,\"90\":130,\"75\":116,\"50\":116,\"n\":3,\"min\":91,\"median\":116,\"mean\":116,\"max\":130},\"backends.mod_muc_light_db.calls.remove_domain\":{\"one\":0,\"count\":0},\"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},\"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},\"backends.mod_roster.del_roster_t\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.get_item\":{\"999\":151,\"99\":151,\"95\":151,\"90\":151,\"75\":125,\"50\":119,\"n\":5,\"min\":75,\"median\":119,\"mean\":106,\"max\":151},\"backends.mod_pubsub_db.get_states_by_full\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.calls.get_states_by_bare\":{\"one\":50,\"count\":64},\"backends.mod_roster.calls.del_roster_t\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.find_node_by_id\":{\"999\":12,\"99\":12,\"95\":12,\"90\":9,\"75\":9,\"50\":6,\"n\":6,\"min\":4,\"median\":6,\"mean\":6,\"max\":12},\"backends.mod_muc_light_db.calls.set_blocking\":{\"one\":4,\"count\":4},\"data.xmpp.received.xml_stanza_size\":{\"999\":5419,\"99\":4887,\"95\":396,\"90\":156,\"75\":137,\"50\":112,\"n\":336,\"min\":11,\"median\":112,\"mean\":317,\"max\":5419}}}">>,
         13519,10806}
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-03 10:32:33.391 ***
bOb@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:32:33.394 ***
bOb@localhost/res1 in
</stream:stream>

*** User 2022-03-03 10:32:33.394 ***
alicE@localhost/res2 out
</stream:stream>

*** User 2022-03-03 10:32:33.395 ***
alicE@localhost/res2 in
</stream:stream>

*** User 2022-03-03 10:32:33.395 ***
alicE@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:32:33.395 ***
alicE@localhost/res1 in
</stream:stream>
*** CT 2022-03-03 10:32:33.398 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_565.html
*** CT 2022-03-03 10:32:33.398 *** View log from node mongooseim@localhost when finished mongooseim@localhost_927.html



=== Ended at 2022-03-03 10:32:33
=== successfully completed test case
=== === Returned value: ok


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