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

=== Config value:

    [{watchdog,<0.20671.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@fbe05ecb9552.2022-03-18_10.50.03/big_tests.tests.metrics_api_SUITE.logs/run.2022-03-18_10.53.05/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@fbe05ecb9552.2022-03-18_10.50.03/big_tests.tests.metrics_api_SUITE.logs/run.2022-03-18_10.53.05/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{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 => mnesia,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 => ldap,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,
              ldap =>
                  #{base => <<"ou=Users,dc=esl,dc=com">>,
                    binary_search_fields => [],deref => never,
                    filter => <<"(objectClass=inetOrgPerson)">>,
                    pool_tag => default,
                    search_fields =>
                        [{<<"User">>,<<"%u">>},
                         {<<"Full Name">>,<<"displayName">>},
                         {<<"Given Name">>,<<"givenName">>},
                         {<<"Middle Name">>,<<"initials">>},
                         {<<"Family Name">>,<<"sn">>},
                         {<<"Nickname">>,<<"%u">>},
                         {<<"Birthday">>,<<"birthDay">>},
                         {<<"Country">>,<<"c">>},
                         {<<"City">>,<<"l">>},
                         {<<"Email">>,<<"mail">>},
                         {<<"Organization Name">>,<<"o">>},
                         {<<"Organization Unit">>,<<"ou">>}],
                    search_operator => 'and',
                    search_reported =>
                        [{<<"Full Name">>,<<"FN">>},
                         {<<"Given Name">>,<<"FIRST">>},
                         {<<"Middle Name">>,<<"MIDDLE">>},
                         {<<"Family Name">>,<<"LAST">>},
                         {<<"Nickname">>,<<"NICK">>},
                         {<<"Birthday">>,<<"BDAY">>},
                         {<<"Country">>,<<"CTRY">>},
                         {<<"City">>,<<"LOCALITY">>},
                         {<<"Email">>,<<"EMAIL">>},
                         {<<"Organization Name">>,<<"ORGNAME">>},
                         {<<"Organization Unit">>,<<"ORGUNIT">>}],
                    uids => [{<<"uid">>,<<"%u">>}],
                    vcard_map =>
                        [{<<"NICKNAME">>,<<"%u">>,[]},
                         {<<"FN">>,<<"%s">>,[<<"displayName">>]},
                         {<<"FAMILY">>,<<"%s">>,[<<"sn">>]},
                         {<<"GIVEN">>,<<"%s">>,[<<"givenName">>]},
                         {<<"MIDDLE">>,<<"%s">>,[<<"initials">>]},
                         {<<"ORGNAME">>,<<"%s">>,[<<"o">>]},
                         {<<"ORGUNIT">>,<<"%s">>,[<<"ou">>]},
                         {<<"CTRY">>,<<"%s">>,[<<"c">>]},
                         {<<"LOCALITY">>,<<"%s">>,[<<"l">>]},
                         {<<"STREET">>,<<"%s">>,[<<"street">>]},
                         {<<"REGION">>,<<"%s">>,[<<"st">>]},
                         {<<"PCODE">>,<<"%s">>,[<<"postalCode">>]},
                         {<<"TITLE">>,<<"%s">>,[<<"title">>]},
                         {<<"URL">>,<<"%s">>,[<<"labeleduri">>]},
                         {<<"DESC">>,<<"%s">>,[<<"description">>]},
                         {<<"TEL">>,<<"%s">>,[<<"telephoneNumber">>]},
                         {<<"EMAIL">>,<<"%s">>,[<<"mail">>]},
                         {<<"BDAY">>,<<"%s">>,[<<"birthDay">>]},
                         {<<"ROLE">>,<<"%s">>,[<<"employeeType">>]},
                         {<<"PHOTO">>,<<"%s">>,[<<"jpegPhoto">>]}]},
              matches => 30,search => true}}},
     {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@fbe05ecb9552.2022-03-18_10.50.03"

=== Started at 2022-03-18 10:53:10


*** CT 2022-03-18 10:53:10.235 *** View log from node mongooseim@localhost when started mongooseim@localhost_883.html
*** CT 2022-03-18 10:53:10.236 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_455.html

*** User 2022-03-18 10:53:10.237 ***
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-18 10:53:10.238 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8640267795adacdf' from='localhost' version='1.0' xml:lang='en'>

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



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



*** User 2022-03-18 10:53:10.239 ***
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-18 10:53:10.239 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ebcd4873d485a6c5' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:53:10.240 ***
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-18 10:53:10.240 ***
alicE@localhost/res1 out
<iq type='set' id='6913f557a1ce7b16b56104144faa316b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:53:10.240 ***
alicE@localhost/res1 in
<iq id='6913f557a1ce7b16b56104144faa316b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@localhost/res1</jid>
	</bind>
</iq>



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



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



*** User 2022-03-18 10:53:10.240 ***
alicE@localhost/res1 out
<presence/>



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



*** User 2022-03-18 10:53:10.241 ***
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-18 10:53:10.242 ***
alicE@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0cc778d84ebc361a' from='localhost' version='1.0' xml:lang='en'>

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



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



*** User 2022-03-18 10:53:10.243 ***
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-18 10:53:10.243 ***
alicE@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='61a5ef4e9ede5701' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:53:10.243 ***
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-18 10:53:10.243 ***
alicE@localhost/res2 out
<iq type='set' id='0482b0d27e5ffb18faa8c3c17b3d2b73'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2022-03-18 10:53:10.244 ***
alicE@localhost/res2 in
<iq id='0482b0d27e5ffb18faa8c3c17b3d2b73' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@localhost/res2</jid>
	</bind>
</iq>



*** User 2022-03-18 10:53:10.244 ***
alicE@localhost/res2 out
<iq type='set' id='195e4ea6d1df6f4225b2dc3264d6a60b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:53:10.244 ***
alicE@localhost/res2 in
<iq type='result' id='195e4ea6d1df6f4225b2dc3264d6a60b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:53:10.244 ***
alicE@localhost/res2 out
<presence/>



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



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



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



*** User 2022-03-18 10:53:10.245 ***
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-18 10:53:10.245 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='beb438dc87db1e64' from='localhost' version='1.0' xml:lang='en'>

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



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



*** User 2022-03-18 10:53:10.247 ***
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-18 10:53:10.247 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a3343bbcf9ac9b10' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:53:10.247 ***
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-18 10:53:10.247 ***
bOb@localhost/res1 out
<iq type='set' id='1466ed04900c0d214ea4cc477961c0f8'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:53:10.247 ***
bOb@localhost/res1 in
<iq id='1466ed04900c0d214ea4cc477961c0f8' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:53:10.247 ***
bOb@localhost/res1 out
<iq type='set' id='a1c5b0d37c4d308c677bcf88cadf2970'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:53:10.247 ***
bOb@localhost/res1 in
<iq type='result' id='a1c5b0d37c4d308c677bcf88cadf2970'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:53:10.247 ***
bOb@localhost/res1 out
<presence/>



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



*** User 2022-03-18 10:53:10.249 ***
REST request:
Code: 200
Req: {<0.20698.0>,<<"/api/metrics/global/totalSessionCount">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"d0c8f297cc8a1a7a">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 10:53:09 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"metric\":{\"value\":3}}">>,160,316}
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:53:10.259 ***
REST request:
Code: 200
Req: {<0.20700.0>,<<"/api/metrics/global/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"62ff51c41d8ba910">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 10:53:09 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"13462">>}],
         <<"{\"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.mod_muc_light_db.calls.get_config\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.store_room\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.get_rooms\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.get_blocking\":{\"one\":20,\"count\":20},\"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\":567,\"99\":567,\"95\":567,\"90\":175,\"75\":146,\"50\":80,\"n\":18,\"min\":47,\"median\":80,\"mean\":130,\"max\":567},\"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_muc_light_db.get_aff_users\":{\"999\":32,\"99\":32,\"95\":19,\"90\":6,\"75\":4,\"50\":3,\"n\":19,\"min\":1,\"median\":3,\"mean\":4,\"max\":32},\"backends.mod_offline.calls.pop_messages\":{\"one\":36,\"count\":36},\"data.dist\":{\"send_pend\":0,\"send_oct\":3293699,\"send_max\":41919,\"send_cnt\":17366,\"recv_oct\":6404507,\"recv_max\":70505,\"recv_cnt\":13227,\"connections\":3},\"backends.mod_muc_light_db.modify_aff_users\":{\"999\":2526,\"99\":2526,\"95\":2526,\"90\":2526,\"75\":444,\"50\":297,\"n\":11,\"min\":106,\"median\":297,\"mean\":793,\"max\":2526},\"backends.mod_pubsub_db.calls.get_states\":{\"one\":0,\"count\":0},\"register_command\":{\"one\":0,\"count\":0},\"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_muc_light_db.get_blocking\":{\"999\":9,\"99\":9,\"95\":9,\"90\":9,\"75\":4,\"50\":3,\"n\":14,\"min\":2,\"median\":3,\"mean\":4,\"max\":9},\"backends.mod_pubsub_db.calls.get_subnodes_tree\":{\"one\":9,\"count\":9},\"backends.mod_muc_light_db.calls.get_aff_users\":{\"one\":36,\"count\":36},\"unregister_command\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.get_items\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.find_nodes_by_key\":{\"one\":2,\"count\":2},\"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_pubsub_db.calls.get_own_nodes_states\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.room_exists\":{\"999\":4,\"99\":4,\"95\":4,\"90\":4,\"75\":3,\"50\":2,\"n\":12,\"min\":2,\"median\":2,\"mean\":2,\"max\":4},\"backends.mod_roster.roster_subscribe_t\":{\"999\":255,\"99\":131,\"95\":70,\"90\":40,\"75\":30,\"50\":24,\"n\":59,\"min\":13,\"median\":24,\"mean\":29,\"max\":255},\"backends.mod_roster.get_subscription_lists\":{\"999\":44,\"99\":29,\"95\":17,\"90\":13,\"75\":12,\"50\":10,\"n\":220,\"min\":3,\"median\":10,\"mean\":11,\"max\":44},\"backends.mod_pubsub_db.find_node_by_name\":{\"999\":49,\"99\":49,\"95\":35,\"90\":31,\"75\":23,\"50\":9,\"n\":44,\"min\":1,\"median\":9,\"mean\":14,\"max\":49},\"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\":4,\"count\":4},\"backends.mod_muc.calls.forget_room\":{\"one\":0,\"count\":0},\"backends.mod_last.calls.set_last_info\":{\"one\":16,\"count\":16},\"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_pubsub_db.calls.find_node_by_name\":{\"one\":98,\"count\":98},\"backends.mod_roster.calls.get_subscription_lists\":{\"one\":542,\"count\":619},\"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_pubsub_db.calls.delete_node\":{\"one\":13,\"count\":13},\"backends.mod_pubsub_db.find_nodes_by_key\":{\"999\":13,\"99\":13,\"95\":13,\"90\":13,\"75\":12,\"50\":12,\"n\":3,\"min\":11,\"median\":12,\"mean\":12,\"max\":13},\"backends.mod_pubsub_db.get_item\":{\"999\":166,\"99\":166,\"95\":163,\"90\":163,\"75\":145,\"50\":133,\"n\":11,\"min\":40,\"median\":133,\"mean\":109,\"max\":166},\"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\":350,\"99\":67,\"95\":25,\"90\":22,\"75\":18,\"50\":15,\"n\":161,\"min\":3,\"median\":15,\"mean\":16,\"max\":350},\"backends.mod_pubsub_db.calls.set_node\":{\"one\":21,\"count\":21},\"backends.mod_muc.calls.set_nick\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.remove_user\":{\"one\":45,\"count\":45},\"backends.mod_pubsub_db.get_states_by_bare\":{\"999\":21,\"99\":21,\"95\":10,\"90\":9,\"75\":8,\"50\":6,\"n\":34,\"min\":3,\"median\":6,\"mean\":7,\"max\":21},\"backends.mod_roster.calls.del_roster_t\":{\"one\":8,\"count\":8},\"backends.mod_muc_light_db.calls.remove_domain\":{\"one\":0,\"count\":0},\"processQueueLengths\":{\"total\":0,\"regular\":0,\"fsm\":0},\"backends.mod_pubsub_db.delete_node\":{\"999\":38,\"99\":38,\"95\":34,\"90\":34,\"75\":33,\"50\":26,\"n\":13,\"min\":14,\"median\":26,\"mean\":25,\"max\":38},\"backends.mod_offline.write_messages\":{\"999\":138,\"99\":138,\"95\":138,\"90\":138,\"75\":121,\"50\":85,\"n\":4,\"min\":68,\"median\":85,\"mean\":103,\"max\":138},\"mod_muc.deep_hibernations\":{\"one\":0,\"count\":0},\"backends.mod_private.calls.multi_get_data\":{\"one\":12,\"count\":12},\"backends.mod_muc_light_db.calls.modify_aff_users\":{\"one\":16,\"count\":16},\"backends.mod_pubsub_db.calls.create_node\":{\"one\":21,\"count\":21},\"backends.mod_pubsub_db.calls.get_subnodes\":{\"one\":0,\"count\":0},\"mod_muc.process_recreations\":{\"one\":0,\"count\":0},\"clusterSize\":{\"value\":1},\"backends.mod_roster.calls.roster_subscribe_t\":{\"one\":128,\"count\":189},\"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_pubsub_db.calls.del_item\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.write_roster_version\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.get_states_by_lus\":{\"one\":3,\"count\":3},\"backends.mod_roster.calls.update_roster_t\":{\"one\":34,\"count\":34},\"backends.mod_roster.update_roster_t\":{\"999\":45,\"99\":45,\"95\":42,\"90\":38,\"75\":36,\"50\":25,\"n\":26,\"min\":17,\"median\":25,\"mean\":28,\"max\":45},\"backends.mod_pubsub_db.calls.set_item\":{\"one\":0,\"count\":0},\"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_pubsub_db.del_node\":{\"999\":121,\"99\":121,\"95\":109,\"90\":109,\"75\":66,\"50\":43,\"n\":13,\"min\":10,\"median\":43,\"mean\":48,\"max\":121},\"backends.mod_vcard.get_vcard\":{\"999\":12434,\"99\":12434,\"95\":6664,\"90\":4323,\"75\":1803,\"50\":1522,\"n\":35,\"min\":497,\"median\":1522,\"mean\":1879,\"max\":12434},\"cache.unique_sessions_number\":{\"value\":2,\"ms_since_reset\":117294},\"backends.mod_private.calls.multi_set_data\":{\"one\":14,\"count\":14},\"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_pubsub_db.calls.add_item\":{\"one\":13,\"count\":13},\"erlang.memory\":{\"total\":133191784,\"system\":94069144,\"processes_used\":40265840,\"ets\":15884264,\"binary\":924672,\"atom_used\":1289861},\"backends.mod_vcard.calls.get_vcard\":{\"one\":33,\"count\":33},\"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\":2536,\"port_limit\":65536,\"port_count\":51,\"ets_limit\":8192},\"backends.mod_muc_light_db.calls.create_room\":{\"one\":33,\"count\":33},\"backends.mod_pubsub_db.calls.del_items\":{\"one\":13,\"count\":13},\"tcpPortsUsed\":{\"value\":38},\"uniqueSessionCount\":{\"value\":2},\"backends.mod_private.multi_get_data\":{\"999\":226,\"99\":226,\"95\":226,\"90\":226,\"75\":42,\"50\":33,\"n\":9,\"min\":16,\"median\":33,\"mean\":65,\"max\":226},\"backends.mod_offline.calls.write_messages\":{\"one\":6,\"count\":6},\"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_pubsub_db.get_states_by_lus\":{\"999\":22,\"99\":22,\"95\":22,\"90\":22,\"75\":11,\"50\":11,\"n\":3,\"min\":5,\"median\":11,\"mean\":11,\"max\":22},\"backends.mod_muc_light_db.calls.destroy_room\":{\"one\":32,\"count\":32},\"backends.mod_last.calls.get_last\":{\"one\":1,\"count\":1},\"backends.mod_pubsub_db.find_node_by_id\":{\"999\":10,\"99\":10,\"95\":10,\"90\":6,\"75\":5,\"50\":3,\"n\":8,\"min\":2,\"median\":3,\"mean\":4,\"max\":10},\"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\":593,\"99\":593,\"95\":52,\"90\":47,\"75\":38,\"50\":32,\"n\":93,\"min\":5,\"median\":32,\"mean\":36,\"max\":593},\"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_roster.calls.get_roster\":{\"one\":305,\"count\":369},\"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\":0,\"count\":0},\"nodeSessionCount\":{\"value\":3},\"backends.mod_pubsub_db.add_item\":{\"999\":103,\"99\":103,\"95\":96,\"90\":96,\"75\":74,\"50\":46,\"n\":11,\"min\":30,\"median\":46,\"mean\":57,\"max\":103},\"backends.mod_pubsub_db.get_state\":{\"999\":14,\"99\":14,\"95\":13,\"90\":13,\"75\":4,\"50\":2,\"n\":15,\"min\":1,\"median\":2,\"mean\":3,\"max\":14},\"backends.mod_last.set_last_info\":{\"999\":183,\"99\":183,\"95\":179,\"90\":179,\"75\":121,\"50\":91,\"n\":15,\"min\":58,\"median\":91,\"mean\":98,\"max\":183},\"backends.mod_muc_light_db.set_blocking\":{\"999\":55,\"99\":55,\"95\":55,\"90\":55,\"75\":55,\"50\":33,\"n\":6,\"min\":21,\"median\":33,\"mean\":35,\"max\":55},\"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\":0},\"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_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},\"backends.mod_muc.calls.get_nick\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.set_node\":{\"999\":206,\"99\":206,\"95\":206,\"90\":165,\"75\":131,\"50\":108,\"n\":16,\"min\":84,\"median\":108,\"mean\":125,\"max\":206},\"backends.mod_muc_light_db.calls.get_user_rooms\":{\"one\":26,\"count\":26},\"backends.mod_pubsub_db.get_subnodes_tree\":{\"999\":61,\"99\":61,\"95\":61,\"90\":61,\"75\":48,\"50\":34,\"n\":9,\"min\":20,\"median\":34,\"mean\":37,\"max\":61},\"backends.mod_roster.del_roster_t\":{\"999\":28,\"99\":28,\"95\":28,\"90\":28,\"75\":27,\"50\":22,\"n\":9,\"min\":18,\"median\":22,\"mean\":23,\"max\":28},\"backends.mod_private.multi_set_data\":{\"999\":788,\"99\":788,\"95\":788,\"90\":788,\"75\":108,\"50\":96,\"n\":11,\"min\":67,\"median\":96,\"mean\":183,\"max\":788},\"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},\"data.xmpp.received.xml_stanza_size\":{\"999\":5419,\"99\":4881,\"95\":373,\"90\":174,\"75\":132,\"50\":106,\"n\":490,\"min\":11,\"median\":106,\"mean\":258,\"max\":5419},\"backends.mod_muc_light_db.remove_user\":{\"999\":304,\"99\":304,\"95\":247,\"90\":221,\"75\":199,\"50\":163,\"n\":22,\"min\":47,\"median\":163,\"mean\":166,\"max\":304},\"backends.mod_offline.pop_messages\":{\"999\":3672,\"99\":3672,\"95\":1961,\"90\":1290,\"75\":282,\"50\":196,\"n\":32,\"min\":105,\"median\":196,\"mean\":425,\"max\":3672},\"backends.mod_pubsub_db.calls.get_parentnodes_tree\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.del_items\":{\"999\":1,\"99\":1,\"95\":1,\"90\":1,\"75\":1,\"50\":1,\"n\":11,\"min\":0,\"median\":1,\"mean\":0,\"max\":1},\"data.xmpp.sent.xml_stanza_size\":{\"999\":8098,\"99\":2834,\"95\":401,\"90\":319,\"75\":227,\"50\":173,\"n\":565,\"min\":16,\"median\":173,\"mean\":298,\"max\":8125},\"backends.mod_muc_light_db.create_room\":{\"999\":810,\"99\":810,\"95\":688,\"90\":688,\"75\":373,\"50\":255,\"n\":15,\"min\":74,\"median\":255,\"mean\":324,\"max\":810},\"backends.mod_pubsub_db.calls.get_item\":{\"one\":13,\"count\":13},\"mod_muc.hibernations\":{\"one\":0,\"count\":0},\"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_pubsub_db.calls.get_states_by_full\":{\"one\":0,\"count\":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.find_node_by_id\":{\"one\":14,\"count\":14},\"backends.mod_pubsub_db.calls.get_state\":{\"one\":26,\"count\":26},\"nodeUpTime\":{\"value\":215},\"backends.mod_muc_light_db.set_config\":{\"999\":470,\"99\":470,\"95\":470,\"90\":470,\"75\":470,\"50\":122,\"n\":4,\"min\":122,\"median\":122,\"mean\":296,\"max\":470},\"backends.mod_muc_light_db.get_user_rooms\":{\"999\":26,\"99\":26,\"95\":11,\"90\":11,\"75\":5,\"50\":3,\"n\":14,\"min\":2,\"median\":3,\"mean\":4,\"max\":26},\"mod_muc.online_rooms\":{\"value\":0},\"backends.mod_vcard.calls.search\":{\"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_muc.calls.restore_room\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.get_states_by_bare\":{\"one\":64,\"count\":64},\"routingErrors\":{\"one\":0,\"count\":0},\"backends.mod_last.get_last\":{\"999\":4,\"99\":4,\"95\":4,\"90\":4,\"75\":4,\"50\":4,\"n\":3,\"min\":4,\"median\":4,\"mean\":4,\"max\":4},\"backends.mod_pubsub_db.calls.del_node\":{\"one\":13,\"count\":13},\"backends.mod_muc_light_db.calls.set_config\":{\"one\":2,\"count\":2},\"backends.mod_roster.calls.get_roster_entry\":{\"one\":206,\"count\":267},\"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_pubsub_db.create_node\":{\"999\":45,\"99\":45,\"95\":40,\"90\":34,\"75\":27,\"50\":23,\"n\":16,\"min\":19,\"median\":23,\"mean\":25,\"max\":45},\"backends.mod_muc_light_db.calls.room_exists\":{\"one\":19,\"count\":19}}}">>,
         13603,9408}
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:53:10.260 ***
REST request:
Code: 200
Req: {<0.20702.0>,<<"/api/metrics/global/uniqueSessionCount">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"45010b91cb41c5a6">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 10:53:09 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"metric\":{\"value\":2}}">>,160,347}
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:53:10.268 ***
REST request:
Code: 200
Req: {<0.20704.0>,<<"/api/metrics/global/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"6fbff539bf1861ae">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 10:53:09 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"13462">>}],
         <<"{\"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.mod_muc_light_db.calls.get_config\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.store_room\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.get_rooms\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.get_blocking\":{\"one\":20,\"count\":20},\"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\":567,\"99\":567,\"95\":567,\"90\":175,\"75\":146,\"50\":80,\"n\":18,\"min\":47,\"median\":80,\"mean\":130,\"max\":567},\"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_muc_light_db.get_aff_users\":{\"999\":32,\"99\":32,\"95\":19,\"90\":6,\"75\":4,\"50\":3,\"n\":19,\"min\":1,\"median\":3,\"mean\":4,\"max\":32},\"backends.mod_offline.calls.pop_messages\":{\"one\":36,\"count\":36},\"data.dist\":{\"send_pend\":0,\"send_oct\":3293699,\"send_max\":41919,\"send_cnt\":17366,\"recv_oct\":6404507,\"recv_max\":70505,\"recv_cnt\":13227,\"connections\":3},\"backends.mod_muc_light_db.modify_aff_users\":{\"999\":2526,\"99\":2526,\"95\":2526,\"90\":2526,\"75\":444,\"50\":297,\"n\":11,\"min\":106,\"median\":297,\"mean\":793,\"max\":2526},\"backends.mod_pubsub_db.calls.get_states\":{\"one\":0,\"count\":0},\"register_command\":{\"one\":0,\"count\":0},\"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_muc_light_db.get_blocking\":{\"999\":9,\"99\":9,\"95\":9,\"90\":9,\"75\":4,\"50\":3,\"n\":14,\"min\":2,\"median\":3,\"mean\":4,\"max\":9},\"backends.mod_pubsub_db.calls.get_subnodes_tree\":{\"one\":9,\"count\":9},\"backends.mod_muc_light_db.calls.get_aff_users\":{\"one\":36,\"count\":36},\"unregister_command\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.get_items\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.find_nodes_by_key\":{\"one\":2,\"count\":2},\"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_pubsub_db.calls.get_own_nodes_states\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.room_exists\":{\"999\":4,\"99\":4,\"95\":4,\"90\":4,\"75\":3,\"50\":2,\"n\":12,\"min\":2,\"median\":2,\"mean\":2,\"max\":4},\"backends.mod_roster.roster_subscribe_t\":{\"999\":255,\"99\":131,\"95\":70,\"90\":40,\"75\":30,\"50\":24,\"n\":59,\"min\":13,\"median\":24,\"mean\":29,\"max\":255},\"backends.mod_roster.get_subscription_lists\":{\"999\":44,\"99\":29,\"95\":17,\"90\":13,\"75\":12,\"50\":10,\"n\":220,\"min\":3,\"median\":10,\"mean\":11,\"max\":44},\"backends.mod_pubsub_db.find_node_by_name\":{\"999\":49,\"99\":49,\"95\":35,\"90\":31,\"75\":23,\"50\":9,\"n\":44,\"min\":1,\"median\":9,\"mean\":14,\"max\":49},\"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\":4,\"count\":4},\"backends.mod_muc.calls.forget_room\":{\"one\":0,\"count\":0},\"backends.mod_last.calls.set_last_info\":{\"one\":16,\"count\":16},\"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_pubsub_db.calls.find_node_by_name\":{\"one\":98,\"count\":98},\"backends.mod_roster.calls.get_subscription_lists\":{\"one\":542,\"count\":619},\"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_pubsub_db.calls.delete_node\":{\"one\":13,\"count\":13},\"backends.mod_pubsub_db.find_nodes_by_key\":{\"999\":13,\"99\":13,\"95\":13,\"90\":13,\"75\":12,\"50\":12,\"n\":3,\"min\":11,\"median\":12,\"mean\":12,\"max\":13},\"backends.mod_pubsub_db.get_item\":{\"999\":166,\"99\":166,\"95\":163,\"90\":163,\"75\":145,\"50\":133,\"n\":11,\"min\":40,\"median\":133,\"mean\":109,\"max\":166},\"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\":350,\"99\":67,\"95\":25,\"90\":22,\"75\":18,\"50\":15,\"n\":161,\"min\":3,\"median\":15,\"mean\":16,\"max\":350},\"backends.mod_pubsub_db.calls.set_node\":{\"one\":21,\"count\":21},\"backends.mod_muc.calls.set_nick\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.remove_user\":{\"one\":45,\"count\":45},\"backends.mod_pubsub_db.get_states_by_bare\":{\"999\":21,\"99\":21,\"95\":10,\"90\":9,\"75\":8,\"50\":6,\"n\":34,\"min\":3,\"median\":6,\"mean\":7,\"max\":21},\"backends.mod_roster.calls.del_roster_t\":{\"one\":8,\"count\":8},\"backends.mod_muc_light_db.calls.remove_domain\":{\"one\":0,\"count\":0},\"processQueueLengths\":{\"total\":0,\"regular\":0,\"fsm\":0},\"backends.mod_pubsub_db.delete_node\":{\"999\":38,\"99\":38,\"95\":34,\"90\":34,\"75\":33,\"50\":26,\"n\":13,\"min\":14,\"median\":26,\"mean\":25,\"max\":38},\"backends.mod_offline.write_messages\":{\"999\":138,\"99\":138,\"95\":138,\"90\":138,\"75\":121,\"50\":85,\"n\":4,\"min\":68,\"median\":85,\"mean\":103,\"max\":138},\"mod_muc.deep_hibernations\":{\"one\":0,\"count\":0},\"backends.mod_private.calls.multi_get_data\":{\"one\":12,\"count\":12},\"backends.mod_muc_light_db.calls.modify_aff_users\":{\"one\":16,\"count\":16},\"backends.mod_pubsub_db.calls.create_node\":{\"one\":21,\"count\":21},\"backends.mod_pubsub_db.calls.get_subnodes\":{\"one\":0,\"count\":0},\"mod_muc.process_recreations\":{\"one\":0,\"count\":0},\"clusterSize\":{\"value\":1},\"backends.mod_roster.calls.roster_subscribe_t\":{\"one\":128,\"count\":189},\"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_pubsub_db.calls.del_item\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.write_roster_version\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.get_states_by_lus\":{\"one\":3,\"count\":3},\"backends.mod_roster.calls.update_roster_t\":{\"one\":34,\"count\":34},\"backends.mod_roster.update_roster_t\":{\"999\":45,\"99\":45,\"95\":42,\"90\":38,\"75\":36,\"50\":25,\"n\":26,\"min\":17,\"median\":25,\"mean\":28,\"max\":45},\"backends.mod_pubsub_db.calls.set_item\":{\"one\":0,\"count\":0},\"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_pubsub_db.del_node\":{\"999\":121,\"99\":121,\"95\":109,\"90\":109,\"75\":66,\"50\":43,\"n\":13,\"min\":10,\"median\":43,\"mean\":48,\"max\":121},\"backends.mod_vcard.get_vcard\":{\"999\":12434,\"99\":12434,\"95\":6664,\"90\":4323,\"75\":1803,\"50\":1522,\"n\":35,\"min\":497,\"median\":1522,\"mean\":1879,\"max\":12434},\"cache.unique_sessions_number\":{\"value\":2,\"ms_since_reset\":117305},\"backends.mod_private.calls.multi_set_data\":{\"one\":14,\"count\":14},\"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_pubsub_db.calls.add_item\":{\"one\":13,\"count\":13},\"erlang.memory\":{\"total\":133615776,\"system\":94068720,\"processes_used\":40553848,\"ets\":15884264,\"binary\":924672,\"atom_used\":1289861},\"backends.mod_vcard.calls.get_vcard\":{\"one\":33,\"count\":33},\"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\":2536,\"port_limit\":65536,\"port_count\":51,\"ets_limit\":8192},\"backends.mod_muc_light_db.calls.create_room\":{\"one\":33,\"count\":33},\"backends.mod_pubsub_db.calls.del_items\":{\"one\":13,\"count\":13},\"tcpPortsUsed\":{\"value\":38},\"uniqueSessionCount\":{\"value\":2},\"backends.mod_private.multi_get_data\":{\"999\":226,\"99\":226,\"95\":226,\"90\":226,\"75\":42,\"50\":33,\"n\":9,\"min\":16,\"median\":33,\"mean\":65,\"max\":226},\"backends.mod_offline.calls.write_messages\":{\"one\":6,\"count\":6},\"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_pubsub_db.get_states_by_lus\":{\"999\":22,\"99\":22,\"95\":22,\"90\":22,\"75\":11,\"50\":11,\"n\":3,\"min\":5,\"median\":11,\"mean\":11,\"max\":22},\"backends.mod_muc_light_db.calls.destroy_room\":{\"one\":32,\"count\":32},\"backends.mod_last.calls.get_last\":{\"one\":1,\"count\":1},\"backends.mod_pubsub_db.find_node_by_id\":{\"999\":10,\"99\":10,\"95\":10,\"90\":6,\"75\":5,\"50\":3,\"n\":8,\"min\":2,\"median\":3,\"mean\":4,\"max\":10},\"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\":593,\"99\":593,\"95\":52,\"90\":47,\"75\":38,\"50\":32,\"n\":93,\"min\":5,\"median\":32,\"mean\":36,\"max\":593},\"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_roster.calls.get_roster\":{\"one\":305,\"count\":369},\"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\":0,\"count\":0},\"nodeSessionCount\":{\"value\":3},\"backends.mod_pubsub_db.add_item\":{\"999\":103,\"99\":103,\"95\":96,\"90\":96,\"75\":74,\"50\":46,\"n\":11,\"min\":30,\"median\":46,\"mean\":57,\"max\":103},\"backends.mod_pubsub_db.get_state\":{\"999\":14,\"99\":14,\"95\":13,\"90\":13,\"75\":4,\"50\":2,\"n\":15,\"min\":1,\"median\":2,\"mean\":3,\"max\":14},\"backends.mod_last.set_last_info\":{\"999\":183,\"99\":183,\"95\":179,\"90\":179,\"75\":121,\"50\":91,\"n\":15,\"min\":58,\"median\":91,\"mean\":98,\"max\":183},\"backends.mod_muc_light_db.set_blocking\":{\"999\":55,\"99\":55,\"95\":55,\"90\":55,\"75\":55,\"50\":33,\"n\":6,\"min\":21,\"median\":33,\"mean\":35,\"max\":55},\"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\":0},\"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_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},\"backends.mod_muc.calls.get_nick\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.set_node\":{\"999\":206,\"99\":206,\"95\":206,\"90\":165,\"75\":131,\"50\":108,\"n\":16,\"min\":84,\"median\":108,\"mean\":125,\"max\":206},\"backends.mod_muc_light_db.calls.get_user_rooms\":{\"one\":26,\"count\":26},\"backends.mod_pubsub_db.get_subnodes_tree\":{\"999\":61,\"99\":61,\"95\":61,\"90\":61,\"75\":48,\"50\":34,\"n\":9,\"min\":20,\"median\":34,\"mean\":37,\"max\":61},\"backends.mod_roster.del_roster_t\":{\"999\":28,\"99\":28,\"95\":28,\"90\":28,\"75\":27,\"50\":22,\"n\":9,\"min\":18,\"median\":22,\"mean\":23,\"max\":28},\"backends.mod_private.multi_set_data\":{\"999\":788,\"99\":788,\"95\":788,\"90\":788,\"75\":108,\"50\":96,\"n\":11,\"min\":67,\"median\":96,\"mean\":183,\"max\":788},\"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},\"data.xmpp.received.xml_stanza_size\":{\"999\":5419,\"99\":4881,\"95\":373,\"90\":174,\"75\":132,\"50\":106,\"n\":490,\"min\":11,\"median\":106,\"mean\":258,\"max\":5419},\"backends.mod_muc_light_db.remove_user\":{\"999\":304,\"99\":304,\"95\":247,\"90\":221,\"75\":199,\"50\":163,\"n\":22,\"min\":47,\"median\":163,\"mean\":166,\"max\":304},\"backends.mod_offline.pop_messages\":{\"999\":3672,\"99\":3672,\"95\":1961,\"90\":1290,\"75\":282,\"50\":196,\"n\":32,\"min\":105,\"median\":196,\"mean\":425,\"max\":3672},\"backends.mod_pubsub_db.calls.get_parentnodes_tree\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.del_items\":{\"999\":1,\"99\":1,\"95\":1,\"90\":1,\"75\":1,\"50\":1,\"n\":11,\"min\":0,\"median\":1,\"mean\":0,\"max\":1},\"data.xmpp.sent.xml_stanza_size\":{\"999\":8098,\"99\":2834,\"95\":401,\"90\":319,\"75\":227,\"50\":173,\"n\":565,\"min\":16,\"median\":173,\"mean\":298,\"max\":8125},\"backends.mod_muc_light_db.create_room\":{\"999\":810,\"99\":810,\"95\":688,\"90\":688,\"75\":373,\"50\":255,\"n\":15,\"min\":74,\"median\":255,\"mean\":324,\"max\":810},\"backends.mod_pubsub_db.calls.get_item\":{\"one\":13,\"count\":13},\"mod_muc.hibernations\":{\"one\":0,\"count\":0},\"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_pubsub_db.calls.get_states_by_full\":{\"one\":0,\"count\":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.find_node_by_id\":{\"one\":14,\"count\":14},\"backends.mod_pubsub_db.calls.get_state\":{\"one\":26,\"count\":26},\"nodeUpTime\":{\"value\":215},\"backends.mod_muc_light_db.set_config\":{\"999\":470,\"99\":470,\"95\":470,\"90\":470,\"75\":470,\"50\":122,\"n\":4,\"min\":122,\"median\":122,\"mean\":296,\"max\":470},\"backends.mod_muc_light_db.get_user_rooms\":{\"999\":26,\"99\":26,\"95\":11,\"90\":11,\"75\":5,\"50\":3,\"n\":14,\"min\":2,\"median\":3,\"mean\":4,\"max\":26},\"mod_muc.online_rooms\":{\"value\":0},\"backends.mod_vcard.calls.search\":{\"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_muc.calls.restore_room\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.get_states_by_bare\":{\"one\":64,\"count\":64},\"routingErrors\":{\"one\":0,\"count\":0},\"backends.mod_last.get_last\":{\"999\":4,\"99\":4,\"95\":4,\"90\":4,\"75\":4,\"50\":4,\"n\":3,\"min\":4,\"median\":4,\"mean\":4,\"max\":4},\"backends.mod_pubsub_db.calls.del_node\":{\"one\":13,\"count\":13},\"backends.mod_muc_light_db.calls.set_config\":{\"one\":2,\"count\":2},\"backends.mod_roster.calls.get_roster_entry\":{\"one\":206,\"count\":267},\"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_pubsub_db.create_node\":{\"999\":45,\"99\":45,\"95\":40,\"90\":34,\"75\":27,\"50\":23,\"n\":16,\"min\":19,\"median\":23,\"mean\":25,\"max\":45},\"backends.mod_muc_light_db.calls.room_exists\":{\"one\":19,\"count\":19}}}">>,
         13603,7135}
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:53:10.270 ***
REST request:
Code: 200
Req: {<0.20706.0>,<<"/api/metrics/global/nodeSessionCount">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"01ea9a72661c2bf4">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 10:53:09 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"metric\":{\"value\":3}}">>,160,352}
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:53:10.296 ***
REST request:
Code: 200
Req: {<0.20708.0>,<<"/api/metrics/global/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"1bf616eb2d056bc9">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 10:53:09 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"13462">>}],
         <<"{\"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.mod_muc_light_db.calls.get_config\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.store_room\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.get_rooms\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.get_blocking\":{\"one\":20,\"count\":20},\"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\":567,\"99\":567,\"95\":567,\"90\":175,\"75\":146,\"50\":80,\"n\":18,\"min\":47,\"median\":80,\"mean\":130,\"max\":567},\"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_muc_light_db.get_aff_users\":{\"999\":32,\"99\":32,\"95\":19,\"90\":6,\"75\":4,\"50\":3,\"n\":19,\"min\":1,\"median\":3,\"mean\":4,\"max\":32},\"backends.mod_offline.calls.pop_messages\":{\"one\":36,\"count\":36},\"data.dist\":{\"send_pend\":0,\"send_oct\":3293699,\"send_max\":41919,\"send_cnt\":17366,\"recv_oct\":6404507,\"recv_max\":70505,\"recv_cnt\":13227,\"connections\":3},\"backends.mod_muc_light_db.modify_aff_users\":{\"999\":2526,\"99\":2526,\"95\":2526,\"90\":2526,\"75\":444,\"50\":297,\"n\":11,\"min\":106,\"median\":297,\"mean\":793,\"max\":2526},\"backends.mod_pubsub_db.calls.get_states\":{\"one\":0,\"count\":0},\"register_command\":{\"one\":0,\"count\":0},\"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_muc_light_db.get_blocking\":{\"999\":9,\"99\":9,\"95\":9,\"90\":9,\"75\":4,\"50\":3,\"n\":14,\"min\":2,\"median\":3,\"mean\":4,\"max\":9},\"backends.mod_pubsub_db.calls.get_subnodes_tree\":{\"one\":9,\"count\":9},\"backends.mod_muc_light_db.calls.get_aff_users\":{\"one\":36,\"count\":36},\"unregister_command\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.get_items\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.find_nodes_by_key\":{\"one\":2,\"count\":2},\"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_pubsub_db.calls.get_own_nodes_states\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.room_exists\":{\"999\":4,\"99\":4,\"95\":4,\"90\":4,\"75\":3,\"50\":2,\"n\":12,\"min\":2,\"median\":2,\"mean\":2,\"max\":4},\"backends.mod_roster.roster_subscribe_t\":{\"999\":255,\"99\":131,\"95\":70,\"90\":40,\"75\":30,\"50\":24,\"n\":59,\"min\":13,\"median\":24,\"mean\":29,\"max\":255},\"backends.mod_roster.get_subscription_lists\":{\"999\":44,\"99\":29,\"95\":17,\"90\":13,\"75\":12,\"50\":10,\"n\":220,\"min\":3,\"median\":10,\"mean\":11,\"max\":44},\"backends.mod_pubsub_db.find_node_by_name\":{\"999\":49,\"99\":49,\"95\":35,\"90\":31,\"75\":23,\"50\":9,\"n\":44,\"min\":1,\"median\":9,\"mean\":14,\"max\":49},\"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\":4,\"count\":4},\"backends.mod_muc.calls.forget_room\":{\"one\":0,\"count\":0},\"backends.mod_last.calls.set_last_info\":{\"one\":16,\"count\":16},\"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_pubsub_db.calls.find_node_by_name\":{\"one\":98,\"count\":98},\"backends.mod_roster.calls.get_subscription_lists\":{\"one\":542,\"count\":619},\"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_pubsub_db.calls.delete_node\":{\"one\":13,\"count\":13},\"backends.mod_pubsub_db.find_nodes_by_key\":{\"999\":13,\"99\":13,\"95\":13,\"90\":13,\"75\":12,\"50\":12,\"n\":3,\"min\":11,\"median\":12,\"mean\":12,\"max\":13},\"backends.mod_pubsub_db.get_item\":{\"999\":166,\"99\":166,\"95\":163,\"90\":163,\"75\":145,\"50\":133,\"n\":11,\"min\":40,\"median\":133,\"mean\":109,\"max\":166},\"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\":350,\"99\":67,\"95\":25,\"90\":22,\"75\":18,\"50\":15,\"n\":161,\"min\":3,\"median\":15,\"mean\":16,\"max\":350},\"backends.mod_pubsub_db.calls.set_node\":{\"one\":21,\"count\":21},\"backends.mod_muc.calls.set_nick\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.remove_user\":{\"one\":45,\"count\":45},\"backends.mod_pubsub_db.get_states_by_bare\":{\"999\":21,\"99\":21,\"95\":10,\"90\":9,\"75\":8,\"50\":6,\"n\":34,\"min\":3,\"median\":6,\"mean\":7,\"max\":21},\"backends.mod_roster.calls.del_roster_t\":{\"one\":8,\"count\":8},\"backends.mod_muc_light_db.calls.remove_domain\":{\"one\":0,\"count\":0},\"processQueueLengths\":{\"total\":0,\"regular\":0,\"fsm\":0},\"backends.mod_pubsub_db.delete_node\":{\"999\":38,\"99\":38,\"95\":34,\"90\":34,\"75\":33,\"50\":26,\"n\":13,\"min\":14,\"median\":26,\"mean\":25,\"max\":38},\"backends.mod_offline.write_messages\":{\"999\":138,\"99\":138,\"95\":138,\"90\":138,\"75\":121,\"50\":85,\"n\":4,\"min\":68,\"median\":85,\"mean\":103,\"max\":138},\"mod_muc.deep_hibernations\":{\"one\":0,\"count\":0},\"backends.mod_private.calls.multi_get_data\":{\"one\":12,\"count\":12},\"backends.mod_muc_light_db.calls.modify_aff_users\":{\"one\":16,\"count\":16},\"backends.mod_pubsub_db.calls.create_node\":{\"one\":21,\"count\":21},\"backends.mod_pubsub_db.calls.get_subnodes\":{\"one\":0,\"count\":0},\"mod_muc.process_recreations\":{\"one\":0,\"count\":0},\"clusterSize\":{\"value\":1},\"backends.mod_roster.calls.roster_subscribe_t\":{\"one\":128,\"count\":189},\"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_pubsub_db.calls.del_item\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.write_roster_version\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.get_states_by_lus\":{\"one\":3,\"count\":3},\"backends.mod_roster.calls.update_roster_t\":{\"one\":34,\"count\":34},\"backends.mod_roster.update_roster_t\":{\"999\":45,\"99\":45,\"95\":42,\"90\":38,\"75\":36,\"50\":25,\"n\":26,\"min\":17,\"median\":25,\"mean\":28,\"max\":45},\"backends.mod_pubsub_db.calls.set_item\":{\"one\":0,\"count\":0},\"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_pubsub_db.del_node\":{\"999\":121,\"99\":121,\"95\":109,\"90\":109,\"75\":66,\"50\":43,\"n\":13,\"min\":10,\"median\":43,\"mean\":48,\"max\":121},\"backends.mod_vcard.get_vcard\":{\"999\":12434,\"99\":12434,\"95\":6664,\"90\":4323,\"75\":1803,\"50\":1522,\"n\":35,\"min\":497,\"median\":1522,\"mean\":1879,\"max\":12434},\"cache.unique_sessions_number\":{\"value\":2,\"ms_since_reset\":117330},\"backends.mod_private.calls.multi_set_data\":{\"one\":14,\"count\":14},\"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_pubsub_db.calls.add_item\":{\"one\":13,\"count\":13},\"erlang.memory\":{\"total\":133879464,\"system\":94067328,\"processes_used\":40927168,\"ets\":15884264,\"binary\":924672,\"atom_used\":1289861},\"backends.mod_vcard.calls.get_vcard\":{\"one\":33,\"count\":33},\"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\":2536,\"port_limit\":65536,\"port_count\":51,\"ets_limit\":8192},\"backends.mod_muc_light_db.calls.create_room\":{\"one\":33,\"count\":33},\"backends.mod_pubsub_db.calls.del_items\":{\"one\":13,\"count\":13},\"tcpPortsUsed\":{\"value\":38},\"uniqueSessionCount\":{\"value\":2},\"backends.mod_private.multi_get_data\":{\"999\":226,\"99\":226,\"95\":226,\"90\":226,\"75\":42,\"50\":33,\"n\":9,\"min\":16,\"median\":33,\"mean\":65,\"max\":226},\"backends.mod_offline.calls.write_messages\":{\"one\":6,\"count\":6},\"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_pubsub_db.get_states_by_lus\":{\"999\":22,\"99\":22,\"95\":22,\"90\":22,\"75\":11,\"50\":11,\"n\":3,\"min\":5,\"median\":11,\"mean\":11,\"max\":22},\"backends.mod_muc_light_db.calls.destroy_room\":{\"one\":32,\"count\":32},\"backends.mod_last.calls.get_last\":{\"one\":1,\"count\":1},\"backends.mod_pubsub_db.find_node_by_id\":{\"999\":10,\"99\":10,\"95\":10,\"90\":6,\"75\":5,\"50\":3,\"n\":8,\"min\":2,\"median\":3,\"mean\":4,\"max\":10},\"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\":593,\"99\":593,\"95\":52,\"90\":47,\"75\":38,\"50\":32,\"n\":93,\"min\":5,\"median\":32,\"mean\":36,\"max\":593},\"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_roster.calls.get_roster\":{\"one\":305,\"count\":369},\"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\":0,\"count\":0},\"nodeSessionCount\":{\"value\":3},\"backends.mod_pubsub_db.add_item\":{\"999\":103,\"99\":103,\"95\":96,\"90\":96,\"75\":74,\"50\":46,\"n\":11,\"min\":30,\"median\":46,\"mean\":57,\"max\":103},\"backends.mod_pubsub_db.get_state\":{\"999\":14,\"99\":14,\"95\":13,\"90\":13,\"75\":4,\"50\":2,\"n\":15,\"min\":1,\"median\":2,\"mean\":3,\"max\":14},\"backends.mod_last.set_last_info\":{\"999\":183,\"99\":183,\"95\":179,\"90\":179,\"75\":121,\"50\":91,\"n\":15,\"min\":58,\"median\":91,\"mean\":98,\"max\":183},\"backends.mod_muc_light_db.set_blocking\":{\"999\":55,\"99\":55,\"95\":55,\"90\":55,\"75\":55,\"50\":33,\"n\":6,\"min\":21,\"median\":33,\"mean\":35,\"max\":55},\"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\":0},\"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_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},\"backends.mod_muc.calls.get_nick\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.set_node\":{\"999\":206,\"99\":206,\"95\":206,\"90\":165,\"75\":131,\"50\":108,\"n\":16,\"min\":84,\"median\":108,\"mean\":125,\"max\":206},\"backends.mod_muc_light_db.calls.get_user_rooms\":{\"one\":26,\"count\":26},\"backends.mod_pubsub_db.get_subnodes_tree\":{\"999\":61,\"99\":61,\"95\":61,\"90\":61,\"75\":48,\"50\":34,\"n\":9,\"min\":20,\"median\":34,\"mean\":37,\"max\":61},\"backends.mod_roster.del_roster_t\":{\"999\":28,\"99\":28,\"95\":28,\"90\":28,\"75\":27,\"50\":22,\"n\":9,\"min\":18,\"median\":22,\"mean\":23,\"max\":28},\"backends.mod_private.multi_set_data\":{\"999\":788,\"99\":788,\"95\":788,\"90\":788,\"75\":108,\"50\":96,\"n\":11,\"min\":67,\"median\":96,\"mean\":183,\"max\":788},\"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},\"data.xmpp.received.xml_stanza_size\":{\"999\":5419,\"99\":4881,\"95\":373,\"90\":174,\"75\":132,\"50\":106,\"n\":490,\"min\":11,\"median\":106,\"mean\":258,\"max\":5419},\"backends.mod_muc_light_db.remove_user\":{\"999\":304,\"99\":304,\"95\":247,\"90\":221,\"75\":199,\"50\":163,\"n\":22,\"min\":47,\"median\":163,\"mean\":166,\"max\":304},\"backends.mod_offline.pop_messages\":{\"999\":3672,\"99\":3672,\"95\":1961,\"90\":1290,\"75\":282,\"50\":196,\"n\":32,\"min\":105,\"median\":196,\"mean\":425,\"max\":3672},\"backends.mod_pubsub_db.calls.get_parentnodes_tree\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.del_items\":{\"999\":1,\"99\":1,\"95\":1,\"90\":1,\"75\":1,\"50\":1,\"n\":11,\"min\":0,\"median\":1,\"mean\":0,\"max\":1},\"data.xmpp.sent.xml_stanza_size\":{\"999\":8098,\"99\":2834,\"95\":401,\"90\":319,\"75\":227,\"50\":173,\"n\":565,\"min\":16,\"median\":173,\"mean\":298,\"max\":8125},\"backends.mod_muc_light_db.create_room\":{\"999\":810,\"99\":810,\"95\":688,\"90\":688,\"75\":373,\"50\":255,\"n\":15,\"min\":74,\"median\":255,\"mean\":324,\"max\":810},\"backends.mod_pubsub_db.calls.get_item\":{\"one\":13,\"count\":13},\"mod_muc.hibernations\":{\"one\":0,\"count\":0},\"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_pubsub_db.calls.get_states_by_full\":{\"one\":0,\"count\":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.find_node_by_id\":{\"one\":14,\"count\":14},\"backends.mod_pubsub_db.calls.get_state\":{\"one\":26,\"count\":26},\"nodeUpTime\":{\"value\":215},\"backends.mod_muc_light_db.set_config\":{\"999\":470,\"99\":470,\"95\":470,\"90\":470,\"75\":470,\"50\":122,\"n\":4,\"min\":122,\"median\":122,\"mean\":296,\"max\":470},\"backends.mod_muc_light_db.get_user_rooms\":{\"999\":26,\"99\":26,\"95\":11,\"90\":11,\"75\":5,\"50\":3,\"n\":14,\"min\":2,\"median\":3,\"mean\":4,\"max\":26},\"mod_muc.online_rooms\":{\"value\":0},\"backends.mod_vcard.calls.search\":{\"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_muc.calls.restore_room\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.get_states_by_bare\":{\"one\":64,\"count\":64},\"routingErrors\":{\"one\":0,\"count\":0},\"backends.mod_last.get_last\":{\"999\":4,\"99\":4,\"95\":4,\"90\":4,\"75\":4,\"50\":4,\"n\":3,\"min\":4,\"median\":4,\"mean\":4,\"max\":4},\"backends.mod_pubsub_db.calls.del_node\":{\"one\":13,\"count\":13},\"backends.mod_muc_light_db.calls.set_config\":{\"one\":2,\"count\":2},\"backends.mod_roster.calls.get_roster_entry\":{\"one\":206,\"count\":267},\"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_pubsub_db.create_node\":{\"999\":45,\"99\":45,\"95\":40,\"90\":34,\"75\":27,\"50\":23,\"n\":16,\"min\":19,\"median\":23,\"mean\":25,\"max\":45},\"backends.mod_muc_light_db.calls.room_exists\":{\"one\":19,\"count\":19}}}">>,
         13603,25742}
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:53:10.297 ***
bOb@localhost/res1 out
</stream:stream>

*** User 2022-03-18 10:53:10.297 ***
bOb@localhost/res1 in
</stream:stream>

*** User 2022-03-18 10:53:10.297 ***
alicE@localhost/res2 out
</stream:stream>

*** User 2022-03-18 10:53:10.297 ***
alicE@localhost/res2 in
</stream:stream>

*** User 2022-03-18 10:53:10.298 ***
alicE@localhost/res1 out
</stream:stream>

*** User 2022-03-18 10:53:10.298 ***
alicE@localhost/res1 in
</stream:stream>
*** CT 2022-03-18 10:53:10.301 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_455.html
*** CT 2022-03-18 10:53:10.302 *** View log from node mongooseim@localhost when finished mongooseim@localhost_883.html



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


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