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

=== Config value:

    [{watchdog,<0.19835.0>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/metrics_api_SUITE_data"},
     {preset,"internal_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@a1e626d02594.2022-03-07_08.29.41/big_tests.tests.metrics_api_SUITE.logs/run.2022-03-07_08.32.43/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@a1e626d02594.2022-03-07_08.29.41/big_tests.tests.metrics_api_SUITE.logs/run.2022-03-07_08.32.43/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},{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 => [],
        mod_vcard =>
            #{backend => mnesia,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,ldap_binary_search_fields => [],
              ldap_pool_tag => default,
              ldap_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">>}],
              ldap_search_operator => 'and',
              ldap_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">>}],
              ldap_uids => [{<<"uid">>,<<"%u">>}],
              ldap_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@a1e626d02594.2022-03-07_08.29.41"

=== Started at 2022-03-07 08:32:47


*** CT 2022-03-07 08:32:47.255 *** View log from node mongooseim@localhost when started mongooseim@localhost_857.html
*** CT 2022-03-07 08:32:47.256 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_454.html

*** User 2022-03-07 08:32:47.257 ***
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-07 08:32:47.258 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2662eac0b345d562' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 08:32:47.258 ***
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>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-07 08:32:47.258 ***
alicE@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



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



*** User 2022-03-07 08:32:47.259 ***
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-07 08:32:47.259 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='04f16cdd724fdb55' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 08:32:47.259 ***
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-07 08:32:47.259 ***
alicE@localhost/res1 out
<iq type='set' id='ece6ebe84465641953be25c40e62ab5e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-07 08:32:47.259 ***
alicE@localhost/res1 in
<iq id='ece6ebe84465641953be25c40e62ab5e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-07 08:32:47.260 ***
alicE@localhost/res1 out
<iq type='set' id='71786b608720274bddaaa8f13a2866f6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 08:32:47.260 ***
alicE@localhost/res1 in
<iq type='result' id='71786b608720274bddaaa8f13a2866f6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 08:32:47.260 ***
alicE@localhost/res1 out
<presence/>



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



*** User 2022-03-07 08:32:47.261 ***
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-07 08:32:47.261 ***
alicE@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='38e4fcc5db071488' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 08:32:47.262 ***
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>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-07 08:32:47.262 ***
alicE@localhost/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



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



*** User 2022-03-07 08:32:47.262 ***
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-07 08:32:47.262 ***
alicE@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='37c36be84ab72375' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 08:32:47.263 ***
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-07 08:32:47.263 ***
alicE@localhost/res2 out
<iq type='set' id='4d20812b2452f9d0af51eca4f724dae0'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2022-03-07 08:32:47.263 ***
alicE@localhost/res2 in
<iq id='4d20812b2452f9d0af51eca4f724dae0' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@localhost/res2</jid>
	</bind>
</iq>



*** User 2022-03-07 08:32:47.263 ***
alicE@localhost/res2 out
<iq type='set' id='1039389d9072c710828f21c5c3680525'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 08:32:47.263 ***
alicE@localhost/res2 in
<iq type='result' id='1039389d9072c710828f21c5c3680525'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 08:32:47.263 ***
alicE@localhost/res2 out
<presence/>



*** User 2022-03-07 08:32:47.264 ***
alicE@localhost/res2 in
<presence from='alice@localhost/res1' to='alicE@localhost/res2' xml:lang='en'>
	<delay xmlns='urn:xmpp:delay' stamp='2022-03-07T08:32:47Z' from='alice@localhost/res1'/>
</presence>



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



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



*** User 2022-03-07 08:32:47.265 ***
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-07 08:32:47.265 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='482c181960dc719c' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 08:32:47.265 ***
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>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-07 08:32:47.266 ***
bOb@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



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



*** User 2022-03-07 08:32:47.266 ***
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-07 08:32:47.266 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='af7915dc83b0d1c8' from='localhost' version='1.0' xml:lang='en'>

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



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



*** User 2022-03-07 08:32:47.267 ***
bOb@localhost/res1 out
<iq type='set' id='407239007f77298be3d6f5cee7857d44'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 08:32:47.267 ***
bOb@localhost/res1 in
<iq type='result' id='407239007f77298be3d6f5cee7857d44'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 08:32:47.268 ***
bOb@localhost/res1 out
<presence/>



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



*** User 2022-03-07 08:32:47.269 ***
REST request:
Code: 200
Req: {<0.19862.0>,<<"/api/metrics/global/totalSessionCount">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"dcf329a88a38c792">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 07 Mar 2022 08:32:47 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"metric\":{\"value\":3}}">>,160,414}
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-07 08:32:47.280 ***
REST request:
Code: 200
Req: {<0.19864.0>,<<"/api/metrics/global/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"75d25a6ff36e6117">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 07 Mar 2022 08:32:47 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"13379">>}],
         <<"{\"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\":388,\"99\":388,\"95\":388,\"90\":367,\"75\":223,\"50\":134,\"n\":18,\"min\":33,\"median\":134,\"mean\":180,\"max\":388},\"backends.mod_muc_light_db.destroy_room\":{\"999\":334,\"99\":334,\"95\":291,\"90\":291,\"75\":216,\"50\":184,\"n\":12,\"min\":52,\"median\":184,\"mean\":190,\"max\":334},\"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\":7,\"99\":7,\"95\":7,\"90\":7,\"75\":2,\"50\":2,\"n\":15,\"min\":1,\"median\":2,\"mean\":2,\"max\":7},\"backends.mod_offline.calls.pop_messages\":{\"one\":20,\"count\":37},\"data.dist\":{\"send_pend\":0,\"send_oct\":3550803,\"send_max\":82649,\"send_cnt\":16480,\"recv_oct\":7219523,\"recv_max\":1460,\"recv_cnt\":19305,\"connections\":3},\"backends.mod_muc_light_db.modify_aff_users\":{\"999\":495,\"99\":495,\"95\":495,\"90\":343,\"75\":281,\"50\":193,\"n\":9,\"min\":107,\"median\":193,\"mean\":200,\"max\":495},\"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\":7,\"90\":7,\"75\":3,\"50\":3,\"n\":12,\"min\":2,\"median\":3,\"mean\":3,\"max\":9},\"backends.mod_pubsub_db.calls.get_subnodes_tree\":{\"one\":0,\"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\":2,\"50\":2,\"n\":11,\"min\":2,\"median\":2,\"mean\":2,\"max\":4},\"backends.mod_roster.roster_subscribe_t\":{\"999\":50,\"99\":50,\"95\":50,\"90\":37,\"75\":27,\"50\":23,\"n\":10,\"min\":16,\"median\":23,\"mean\":26,\"max\":50},\"backends.mod_roster.get_subscription_lists\":{\"999\":37,\"99\":21,\"95\":17,\"90\":12,\"75\":9,\"50\":7,\"n\":149,\"min\":2,\"median\":7,\"mean\":9,\"max\":37},\"backends.mod_pubsub_db.find_node_by_name\":{\"999\":36,\"99\":36,\"95\":26,\"90\":19,\"75\":10,\"50\":7,\"n\":17,\"min\":1,\"median\":7,\"mean\":9,\"max\":36},\"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\":9,\"count\":9},\"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\":34,\"count\":98},\"backends.mod_roster.calls.get_subscription_lists\":{\"one\":392,\"count\":547},\"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\":4,\"count\":13},\"backends.mod_pubsub_db.find_nodes_by_key\":{\"999\":18,\"99\":18,\"95\":18,\"90\":18,\"75\":16,\"50\":16,\"n\":3,\"min\":14,\"median\":16,\"mean\":16,\"max\":18},\"backends.mod_pubsub_db.get_item\":{\"999\":121,\"99\":121,\"95\":121,\"90\":121,\"75\":96,\"50\":77,\"n\":4,\"min\":64,\"median\":77,\"mean\":86,\"max\":121},\"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\":24,\"99\":19,\"95\":14,\"90\":13,\"75\":10,\"50\":8,\"n\":89,\"min\":2,\"median\":8,\"mean\":9,\"max\":24},\"backends.mod_pubsub_db.calls.set_node\":{\"one\":10,\"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\":12,\"99\":12,\"95\":8,\"90\":8,\"75\":7,\"50\":6,\"n\":22,\"min\":2,\"median\":6,\"mean\":6,\"max\":12},\"backends.mod_roster.calls.del_roster_t\":{\"one\":0,\"count\":0},\"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\":25,\"99\":25,\"95\":25,\"90\":25,\"75\":25,\"50\":15,\"n\":6,\"min\":15,\"median\":15,\"mean\":18,\"max\":25},\"backends.mod_offline.write_messages\":{\"999\":135,\"99\":135,\"95\":135,\"90\":135,\"75\":125,\"50\":125,\"n\":3,\"min\":115,\"median\":125,\"mean\":125,\"max\":135},\"mod_muc.deep_hibernations\":{\"one\":0,\"count\":0},\"backends.mod_private.calls.multi_get_data\":{\"one\":5,\"count\":12},\"backends.mod_muc_light_db.calls.modify_aff_users\":{\"one\":16,\"count\":16},\"backends.mod_pubsub_db.calls.create_node\":{\"one\":10,\"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\":20,\"count\":91},\"backends.mod_vcard.set_vcard\":{\"999\":143,\"99\":143,\"95\":143,\"90\":143,\"75\":143,\"50\":143,\"n\":3,\"min\":143,\"median\":143,\"mean\":143,\"max\":143},\"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\":0,\"count\":0},\"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},\"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\":11,\"99\":11,\"95\":11,\"90\":11,\"75\":11,\"50\":11,\"n\":6,\"min\":10,\"median\":11,\"mean\":10,\"max\":11},\"backends.mod_vcard.get_vcard\":{\"999\":198,\"99\":198,\"95\":181,\"90\":176,\"75\":155,\"50\":143,\"n\":18,\"min\":89,\"median\":143,\"mean\":140,\"max\":198},\"cache.unique_sessions_number\":{\"value\":2,\"ms_since_reset\":127090},\"backends.mod_private.calls.multi_set_data\":{\"one\":6,\"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\":4,\"count\":13},\"erlang.memory\":{\"total\":132037040,\"system\":94008976,\"processes_used\":38889256,\"ets\":16044944,\"binary\":1150248,\"atom_used\":1272949},\"backends.mod_vcard.calls.get_vcard\":{\"one\":17,\"count\":35},\"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\":2501,\"port_limit\":65536,\"port_count\":45,\"ets_limit\":8192},\"backends.mod_muc_light_db.calls.create_room\":{\"one\":33,\"count\":33},\"backends.mod_pubsub_db.calls.del_items\":{\"one\":4,\"count\":13},\"tcpPortsUsed\":{\"value\":36},\"uniqueSessionCount\":{\"value\":2},\"backends.mod_private.multi_get_data\":{\"999\":30,\"99\":30,\"95\":30,\"90\":30,\"75\":27,\"50\":27,\"n\":5,\"min\":13,\"median\":27,\"mean\":25,\"max\":30},\"backends.mod_offline.calls.write_messages\":{\"one\":2,\"count\":4},\"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\":20,\"99\":20,\"95\":20,\"90\":20,\"75\":10,\"50\":10,\"n\":3,\"min\":4,\"median\":10,\"mean\":10,\"max\":20},\"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\":7,\"99\":7,\"95\":7,\"90\":5,\"75\":5,\"50\":2,\"n\":6,\"min\":2,\"median\":2,\"mean\":4,\"max\":7},\"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\":53,\"99\":53,\"95\":43,\"90\":43,\"75\":34,\"50\":28,\"n\":14,\"min\":6,\"median\":28,\"mean\":24,\"max\":53},\"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\":213,\"count\":334},\"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\":86,\"99\":86,\"95\":86,\"90\":86,\"75\":62,\"50\":60,\"n\":4,\"min\":33,\"median\":60,\"mean\":61,\"max\":86},\"backends.mod_pubsub_db.get_state\":{\"999\":10,\"99\":10,\"95\":10,\"90\":10,\"75\":8,\"50\":2,\"n\":5,\"min\":1,\"median\":2,\"mean\":5,\"max\":10},\"backends.mod_last.set_last_info\":{\"999\":126,\"99\":126,\"95\":126,\"90\":119,\"75\":117,\"50\":98,\"n\":8,\"min\":83,\"median\":98,\"mean\":106,\"max\":126},\"backends.mod_muc_light_db.set_blocking\":{\"999\":31,\"99\":31,\"95\":31,\"90\":31,\"75\":31,\"50\":23,\"n\":5,\"min\":16,\"median\":23,\"mean\":23,\"max\":31},\"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\":1,\"count\":2},\"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\":122,\"99\":122,\"95\":122,\"90\":122,\"75\":112,\"50\":104,\"n\":9,\"min\":89,\"median\":104,\"mean\":103,\"max\":122},\"backends.mod_muc_light_db.calls.get_user_rooms\":{\"one\":26,\"count\":26},\"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_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_private.multi_set_data\":{\"999\":105,\"99\":105,\"95\":105,\"90\":105,\"75\":88,\"50\":80,\"n\":5,\"min\":59,\"median\":80,\"mean\":80,\"max\":105},\"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\":4886,\"95\":850,\"90\":164,\"75\":137,\"50\":112,\"n\":356,\"min\":11,\"median\":112,\"mean\":450,\"max\":5419},\"backends.mod_muc_light_db.remove_user\":{\"999\":790,\"99\":790,\"95\":583,\"90\":583,\"75\":487,\"50\":310,\"n\":14,\"min\":60,\"median\":310,\"mean\":318,\"max\":790},\"backends.mod_offline.pop_messages\":{\"999\":265,\"99\":265,\"95\":265,\"90\":204,\"75\":189,\"50\":167,\"n\":18,\"min\":114,\"median\":167,\"mean\":170,\"max\":265},\"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\":0,\"n\":4,\"min\":0,\"median\":0,\"mean\":0,\"max\":1},\"data.xmpp.sent.xml_stanza_size\":{\"999\":8126,\"99\":8078,\"95\":632,\"90\":383,\"75\":223,\"50\":173,\"n\":423,\"min\":16,\"median\":173,\"mean\":492,\"max\":8126},\"backends.mod_muc_light_db.create_room\":{\"999\":534,\"99\":534,\"95\":425,\"90\":425,\"75\":157,\"50\":122,\"n\":15,\"min\":59,\"median\":122,\"mean\":162,\"max\":534},\"backends.mod_pubsub_db.calls.get_item\":{\"one\":4,\"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\":10,\"count\":14},\"backends.mod_pubsub_db.calls.get_state\":{\"one\":8,\"count\":26},\"nodeUpTime\":{\"value\":209},\"backends.mod_muc_light_db.set_config\":{\"999\":288,\"99\":288,\"95\":288,\"90\":288,\"75\":288,\"50\":72,\"n\":4,\"min\":72,\"median\":72,\"mean\":180,\"max\":288},\"backends.mod_muc_light_db.get_user_rooms\":{\"999\":21,\"99\":21,\"95\":10,\"90\":10,\"75\":4,\"50\":3,\"n\":12,\"min\":1,\"median\":3,\"mean\":5,\"max\":21},\"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\":40,\"count\":66},\"routingErrors\":{\"one\":0,\"count\":0},\"backends.mod_last.get_last\":{\"999\":5,\"99\":5,\"95\":5,\"90\":5,\"75\":5,\"50\":5,\"n\":3,\"min\":5,\"median\":5,\"mean\":5,\"max\":5},\"backends.mod_pubsub_db.calls.del_node\":{\"one\":4,\"count\":13},\"backends.mod_muc_light_db.calls.set_config\":{\"one\":2,\"count\":2},\"backends.mod_roster.calls.get_roster_entry\":{\"one\":27,\"count\":98},\"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\":37,\"99\":37,\"95\":37,\"90\":32,\"75\":29,\"50\":22,\"n\":9,\"min\":16,\"median\":22,\"mean\":23,\"max\":37},\"backends.mod_muc_light_db.calls.room_exists\":{\"one\":19,\"count\":19}}}">>,
         13520,10341}
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-07 08:32:47.283 ***
REST request:
Code: 200
Req: {<0.19866.0>,<<"/api/metrics/global/uniqueSessionCount">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"be1aab2528b429a5">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 07 Mar 2022 08:32:47 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"metric\":{\"value\":2}}">>,160,515}
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-07 08:32:47.297 ***
REST request:
Code: 200
Req: {<0.19868.0>,<<"/api/metrics/global/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"22a9308f497ad331">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 07 Mar 2022 08:32:47 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"13379">>}],
         <<"{\"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\":388,\"99\":388,\"95\":388,\"90\":367,\"75\":223,\"50\":134,\"n\":18,\"min\":33,\"median\":134,\"mean\":180,\"max\":388},\"backends.mod_muc_light_db.destroy_room\":{\"999\":334,\"99\":334,\"95\":291,\"90\":291,\"75\":216,\"50\":184,\"n\":12,\"min\":52,\"median\":184,\"mean\":190,\"max\":334},\"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\":7,\"99\":7,\"95\":7,\"90\":7,\"75\":2,\"50\":2,\"n\":15,\"min\":1,\"median\":2,\"mean\":2,\"max\":7},\"backends.mod_offline.calls.pop_messages\":{\"one\":20,\"count\":37},\"data.dist\":{\"send_pend\":0,\"send_oct\":3550803,\"send_max\":82649,\"send_cnt\":16480,\"recv_oct\":7219523,\"recv_max\":1460,\"recv_cnt\":19305,\"connections\":3},\"backends.mod_muc_light_db.modify_aff_users\":{\"999\":495,\"99\":495,\"95\":495,\"90\":343,\"75\":281,\"50\":193,\"n\":9,\"min\":107,\"median\":193,\"mean\":200,\"max\":495},\"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\":7,\"90\":7,\"75\":3,\"50\":3,\"n\":12,\"min\":2,\"median\":3,\"mean\":3,\"max\":9},\"backends.mod_pubsub_db.calls.get_subnodes_tree\":{\"one\":0,\"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\":2,\"50\":2,\"n\":11,\"min\":2,\"median\":2,\"mean\":2,\"max\":4},\"backends.mod_roster.roster_subscribe_t\":{\"999\":50,\"99\":50,\"95\":50,\"90\":37,\"75\":27,\"50\":23,\"n\":10,\"min\":16,\"median\":23,\"mean\":26,\"max\":50},\"backends.mod_roster.get_subscription_lists\":{\"999\":37,\"99\":21,\"95\":17,\"90\":12,\"75\":9,\"50\":7,\"n\":149,\"min\":2,\"median\":7,\"mean\":9,\"max\":37},\"backends.mod_pubsub_db.find_node_by_name\":{\"999\":36,\"99\":36,\"95\":26,\"90\":19,\"75\":10,\"50\":7,\"n\":17,\"min\":1,\"median\":7,\"mean\":9,\"max\":36},\"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\":9,\"count\":9},\"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\":34,\"count\":98},\"backends.mod_roster.calls.get_subscription_lists\":{\"one\":392,\"count\":547},\"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\":4,\"count\":13},\"backends.mod_pubsub_db.find_nodes_by_key\":{\"999\":18,\"99\":18,\"95\":18,\"90\":18,\"75\":16,\"50\":16,\"n\":3,\"min\":14,\"median\":16,\"mean\":16,\"max\":18},\"backends.mod_pubsub_db.get_item\":{\"999\":121,\"99\":121,\"95\":121,\"90\":121,\"75\":96,\"50\":77,\"n\":4,\"min\":64,\"median\":77,\"mean\":86,\"max\":121},\"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\":24,\"99\":19,\"95\":14,\"90\":13,\"75\":10,\"50\":8,\"n\":89,\"min\":2,\"median\":8,\"mean\":9,\"max\":24},\"backends.mod_pubsub_db.calls.set_node\":{\"one\":10,\"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\":12,\"99\":12,\"95\":8,\"90\":8,\"75\":7,\"50\":6,\"n\":22,\"min\":2,\"median\":6,\"mean\":6,\"max\":12},\"backends.mod_roster.calls.del_roster_t\":{\"one\":0,\"count\":0},\"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\":25,\"99\":25,\"95\":25,\"90\":25,\"75\":25,\"50\":15,\"n\":6,\"min\":15,\"median\":15,\"mean\":18,\"max\":25},\"backends.mod_offline.write_messages\":{\"999\":135,\"99\":135,\"95\":135,\"90\":135,\"75\":125,\"50\":125,\"n\":3,\"min\":115,\"median\":125,\"mean\":125,\"max\":135},\"mod_muc.deep_hibernations\":{\"one\":0,\"count\":0},\"backends.mod_private.calls.multi_get_data\":{\"one\":5,\"count\":12},\"backends.mod_muc_light_db.calls.modify_aff_users\":{\"one\":16,\"count\":16},\"backends.mod_pubsub_db.calls.create_node\":{\"one\":10,\"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\":20,\"count\":91},\"backends.mod_vcard.set_vcard\":{\"999\":143,\"99\":143,\"95\":143,\"90\":143,\"75\":143,\"50\":143,\"n\":3,\"min\":143,\"median\":143,\"mean\":143,\"max\":143},\"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\":0,\"count\":0},\"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},\"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\":11,\"99\":11,\"95\":11,\"90\":11,\"75\":11,\"50\":11,\"n\":6,\"min\":10,\"median\":11,\"mean\":10,\"max\":11},\"backends.mod_vcard.get_vcard\":{\"999\":198,\"99\":198,\"95\":181,\"90\":176,\"75\":155,\"50\":143,\"n\":18,\"min\":89,\"median\":143,\"mean\":140,\"max\":198},\"cache.unique_sessions_number\":{\"value\":2,\"ms_since_reset\":127107},\"backends.mod_private.calls.multi_set_data\":{\"one\":6,\"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\":4,\"count\":13},\"erlang.memory\":{\"total\":132424760,\"system\":94009384,\"processes_used\":39432360,\"ets\":16044944,\"binary\":1150248,\"atom_used\":1272949},\"backends.mod_vcard.calls.get_vcard\":{\"one\":17,\"count\":35},\"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\":2501,\"port_limit\":65536,\"port_count\":45,\"ets_limit\":8192},\"backends.mod_muc_light_db.calls.create_room\":{\"one\":33,\"count\":33},\"backends.mod_pubsub_db.calls.del_items\":{\"one\":4,\"count\":13},\"tcpPortsUsed\":{\"value\":36},\"uniqueSessionCount\":{\"value\":2},\"backends.mod_private.multi_get_data\":{\"999\":30,\"99\":30,\"95\":30,\"90\":30,\"75\":27,\"50\":27,\"n\":5,\"min\":13,\"median\":27,\"mean\":25,\"max\":30},\"backends.mod_offline.calls.write_messages\":{\"one\":2,\"count\":4},\"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\":20,\"99\":20,\"95\":20,\"90\":20,\"75\":10,\"50\":10,\"n\":3,\"min\":4,\"median\":10,\"mean\":10,\"max\":20},\"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\":7,\"99\":7,\"95\":7,\"90\":5,\"75\":5,\"50\":2,\"n\":6,\"min\":2,\"median\":2,\"mean\":4,\"max\":7},\"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\":53,\"99\":53,\"95\":43,\"90\":43,\"75\":34,\"50\":28,\"n\":14,\"min\":6,\"median\":28,\"mean\":24,\"max\":53},\"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\":213,\"count\":334},\"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\":86,\"99\":86,\"95\":86,\"90\":86,\"75\":62,\"50\":60,\"n\":4,\"min\":33,\"median\":60,\"mean\":61,\"max\":86},\"backends.mod_pubsub_db.get_state\":{\"999\":10,\"99\":10,\"95\":10,\"90\":10,\"75\":8,\"50\":2,\"n\":5,\"min\":1,\"median\":2,\"mean\":5,\"max\":10},\"backends.mod_last.set_last_info\":{\"999\":126,\"99\":126,\"95\":126,\"90\":119,\"75\":117,\"50\":98,\"n\":8,\"min\":83,\"median\":98,\"mean\":106,\"max\":126},\"backends.mod_muc_light_db.set_blocking\":{\"999\":31,\"99\":31,\"95\":31,\"90\":31,\"75\":31,\"50\":23,\"n\":5,\"min\":16,\"median\":23,\"mean\":23,\"max\":31},\"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\":1,\"count\":2},\"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\":122,\"99\":122,\"95\":122,\"90\":122,\"75\":112,\"50\":104,\"n\":9,\"min\":89,\"median\":104,\"mean\":103,\"max\":122},\"backends.mod_muc_light_db.calls.get_user_rooms\":{\"one\":26,\"count\":26},\"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_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_private.multi_set_data\":{\"999\":105,\"99\":105,\"95\":105,\"90\":105,\"75\":88,\"50\":80,\"n\":5,\"min\":59,\"median\":80,\"mean\":80,\"max\":105},\"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\":4886,\"95\":850,\"90\":164,\"75\":137,\"50\":112,\"n\":356,\"min\":11,\"median\":112,\"mean\":450,\"max\":5419},\"backends.mod_muc_light_db.remove_user\":{\"999\":790,\"99\":790,\"95\":583,\"90\":583,\"75\":487,\"50\":310,\"n\":14,\"min\":60,\"median\":310,\"mean\":318,\"max\":790},\"backends.mod_offline.pop_messages\":{\"999\":265,\"99\":265,\"95\":265,\"90\":204,\"75\":189,\"50\":167,\"n\":18,\"min\":114,\"median\":167,\"mean\":170,\"max\":265},\"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\":0,\"n\":4,\"min\":0,\"median\":0,\"mean\":0,\"max\":1},\"data.xmpp.sent.xml_stanza_size\":{\"999\":8126,\"99\":8078,\"95\":632,\"90\":383,\"75\":223,\"50\":173,\"n\":423,\"min\":16,\"median\":173,\"mean\":492,\"max\":8126},\"backends.mod_muc_light_db.create_room\":{\"999\":534,\"99\":534,\"95\":425,\"90\":425,\"75\":157,\"50\":122,\"n\":15,\"min\":59,\"median\":122,\"mean\":162,\"max\":534},\"backends.mod_pubsub_db.calls.get_item\":{\"one\":4,\"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\":10,\"count\":14},\"backends.mod_pubsub_db.calls.get_state\":{\"one\":8,\"count\":26},\"nodeUpTime\":{\"value\":209},\"backends.mod_muc_light_db.set_config\":{\"999\":288,\"99\":288,\"95\":288,\"90\":288,\"75\":288,\"50\":72,\"n\":4,\"min\":72,\"median\":72,\"mean\":180,\"max\":288},\"backends.mod_muc_light_db.get_user_rooms\":{\"999\":21,\"99\":21,\"95\":10,\"90\":10,\"75\":4,\"50\":3,\"n\":12,\"min\":1,\"median\":3,\"mean\":5,\"max\":21},\"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\":40,\"count\":66},\"routingErrors\":{\"one\":0,\"count\":0},\"backends.mod_last.get_last\":{\"999\":5,\"99\":5,\"95\":5,\"90\":5,\"75\":5,\"50\":5,\"n\":3,\"min\":5,\"median\":5,\"mean\":5,\"max\":5},\"backends.mod_pubsub_db.calls.del_node\":{\"one\":4,\"count\":13},\"backends.mod_muc_light_db.calls.set_config\":{\"one\":2,\"count\":2},\"backends.mod_roster.calls.get_roster_entry\":{\"one\":27,\"count\":98},\"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\":37,\"99\":37,\"95\":37,\"90\":32,\"75\":29,\"50\":22,\"n\":9,\"min\":16,\"median\":22,\"mean\":23,\"max\":37},\"backends.mod_muc_light_db.calls.room_exists\":{\"one\":19,\"count\":19}}}">>,
         13520,12867}
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-07 08:32:47.299 ***
REST request:
Code: 200
Req: {<0.19870.0>,<<"/api/metrics/global/nodeSessionCount">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"5fa7eb76fe04878f">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 07 Mar 2022 08:32:47 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"metric\":{\"value\":3}}">>,160,490}
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-07 08:32:47.309 ***
REST request:
Code: 200
Req: {<0.19872.0>,<<"/api/metrics/global/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"119293c23c397ab8">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 07 Mar 2022 08:32:47 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"13379">>}],
         <<"{\"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\":388,\"99\":388,\"95\":388,\"90\":367,\"75\":223,\"50\":134,\"n\":18,\"min\":33,\"median\":134,\"mean\":180,\"max\":388},\"backends.mod_muc_light_db.destroy_room\":{\"999\":334,\"99\":334,\"95\":291,\"90\":291,\"75\":216,\"50\":184,\"n\":12,\"min\":52,\"median\":184,\"mean\":190,\"max\":334},\"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\":7,\"99\":7,\"95\":7,\"90\":7,\"75\":2,\"50\":2,\"n\":15,\"min\":1,\"median\":2,\"mean\":2,\"max\":7},\"backends.mod_offline.calls.pop_messages\":{\"one\":20,\"count\":37},\"data.dist\":{\"send_pend\":0,\"send_oct\":3550803,\"send_max\":82649,\"send_cnt\":16480,\"recv_oct\":7219523,\"recv_max\":1460,\"recv_cnt\":19305,\"connections\":3},\"backends.mod_muc_light_db.modify_aff_users\":{\"999\":495,\"99\":495,\"95\":495,\"90\":343,\"75\":281,\"50\":193,\"n\":9,\"min\":107,\"median\":193,\"mean\":200,\"max\":495},\"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\":7,\"90\":7,\"75\":3,\"50\":3,\"n\":12,\"min\":2,\"median\":3,\"mean\":3,\"max\":9},\"backends.mod_pubsub_db.calls.get_subnodes_tree\":{\"one\":0,\"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\":2,\"50\":2,\"n\":11,\"min\":2,\"median\":2,\"mean\":2,\"max\":4},\"backends.mod_roster.roster_subscribe_t\":{\"999\":50,\"99\":50,\"95\":50,\"90\":37,\"75\":27,\"50\":23,\"n\":10,\"min\":16,\"median\":23,\"mean\":26,\"max\":50},\"backends.mod_roster.get_subscription_lists\":{\"999\":37,\"99\":21,\"95\":17,\"90\":12,\"75\":9,\"50\":7,\"n\":149,\"min\":2,\"median\":7,\"mean\":9,\"max\":37},\"backends.mod_pubsub_db.find_node_by_name\":{\"999\":36,\"99\":36,\"95\":26,\"90\":19,\"75\":10,\"50\":7,\"n\":17,\"min\":1,\"median\":7,\"mean\":9,\"max\":36},\"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\":9,\"count\":9},\"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\":34,\"count\":98},\"backends.mod_roster.calls.get_subscription_lists\":{\"one\":392,\"count\":547},\"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\":4,\"count\":13},\"backends.mod_pubsub_db.find_nodes_by_key\":{\"999\":18,\"99\":18,\"95\":18,\"90\":18,\"75\":16,\"50\":16,\"n\":3,\"min\":14,\"median\":16,\"mean\":16,\"max\":18},\"backends.mod_pubsub_db.get_item\":{\"999\":121,\"99\":121,\"95\":121,\"90\":121,\"75\":96,\"50\":77,\"n\":4,\"min\":64,\"median\":77,\"mean\":86,\"max\":121},\"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\":24,\"99\":19,\"95\":14,\"90\":13,\"75\":10,\"50\":8,\"n\":89,\"min\":2,\"median\":8,\"mean\":9,\"max\":24},\"backends.mod_pubsub_db.calls.set_node\":{\"one\":10,\"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\":12,\"99\":12,\"95\":8,\"90\":8,\"75\":7,\"50\":6,\"n\":22,\"min\":2,\"median\":6,\"mean\":6,\"max\":12},\"backends.mod_roster.calls.del_roster_t\":{\"one\":0,\"count\":0},\"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\":25,\"99\":25,\"95\":25,\"90\":25,\"75\":25,\"50\":15,\"n\":6,\"min\":15,\"median\":15,\"mean\":18,\"max\":25},\"backends.mod_offline.write_messages\":{\"999\":135,\"99\":135,\"95\":135,\"90\":135,\"75\":125,\"50\":125,\"n\":3,\"min\":115,\"median\":125,\"mean\":125,\"max\":135},\"mod_muc.deep_hibernations\":{\"one\":0,\"count\":0},\"backends.mod_private.calls.multi_get_data\":{\"one\":5,\"count\":12},\"backends.mod_muc_light_db.calls.modify_aff_users\":{\"one\":16,\"count\":16},\"backends.mod_pubsub_db.calls.create_node\":{\"one\":10,\"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\":20,\"count\":91},\"backends.mod_vcard.set_vcard\":{\"999\":143,\"99\":143,\"95\":143,\"90\":143,\"75\":143,\"50\":143,\"n\":3,\"min\":143,\"median\":143,\"mean\":143,\"max\":143},\"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\":0,\"count\":0},\"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},\"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\":11,\"99\":11,\"95\":11,\"90\":11,\"75\":11,\"50\":11,\"n\":6,\"min\":10,\"median\":11,\"mean\":10,\"max\":11},\"backends.mod_vcard.get_vcard\":{\"999\":198,\"99\":198,\"95\":181,\"90\":176,\"75\":155,\"50\":143,\"n\":18,\"min\":89,\"median\":143,\"mean\":140,\"max\":198},\"cache.unique_sessions_number\":{\"value\":2,\"ms_since_reset\":127119},\"backends.mod_private.calls.multi_set_data\":{\"one\":6,\"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\":4,\"count\":13},\"erlang.memory\":{\"total\":132685848,\"system\":94009040,\"processes_used\":39694112,\"ets\":16044944,\"binary\":1150248,\"atom_used\":1272949},\"backends.mod_vcard.calls.get_vcard\":{\"one\":17,\"count\":35},\"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\":2501,\"port_limit\":65536,\"port_count\":45,\"ets_limit\":8192},\"backends.mod_muc_light_db.calls.create_room\":{\"one\":33,\"count\":33},\"backends.mod_pubsub_db.calls.del_items\":{\"one\":4,\"count\":13},\"tcpPortsUsed\":{\"value\":36},\"uniqueSessionCount\":{\"value\":2},\"backends.mod_private.multi_get_data\":{\"999\":30,\"99\":30,\"95\":30,\"90\":30,\"75\":27,\"50\":27,\"n\":5,\"min\":13,\"median\":27,\"mean\":25,\"max\":30},\"backends.mod_offline.calls.write_messages\":{\"one\":2,\"count\":4},\"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\":20,\"99\":20,\"95\":20,\"90\":20,\"75\":10,\"50\":10,\"n\":3,\"min\":4,\"median\":10,\"mean\":10,\"max\":20},\"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\":7,\"99\":7,\"95\":7,\"90\":5,\"75\":5,\"50\":2,\"n\":6,\"min\":2,\"median\":2,\"mean\":4,\"max\":7},\"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\":53,\"99\":53,\"95\":43,\"90\":43,\"75\":34,\"50\":28,\"n\":14,\"min\":6,\"median\":28,\"mean\":24,\"max\":53},\"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\":213,\"count\":334},\"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\":86,\"99\":86,\"95\":86,\"90\":86,\"75\":62,\"50\":60,\"n\":4,\"min\":33,\"median\":60,\"mean\":61,\"max\":86},\"backends.mod_pubsub_db.get_state\":{\"999\":10,\"99\":10,\"95\":10,\"90\":10,\"75\":8,\"50\":2,\"n\":5,\"min\":1,\"median\":2,\"mean\":5,\"max\":10},\"backends.mod_last.set_last_info\":{\"999\":126,\"99\":126,\"95\":126,\"90\":119,\"75\":117,\"50\":98,\"n\":8,\"min\":83,\"median\":98,\"mean\":106,\"max\":126},\"backends.mod_muc_light_db.set_blocking\":{\"999\":31,\"99\":31,\"95\":31,\"90\":31,\"75\":31,\"50\":23,\"n\":5,\"min\":16,\"median\":23,\"mean\":23,\"max\":31},\"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\":1,\"count\":2},\"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\":122,\"99\":122,\"95\":122,\"90\":122,\"75\":112,\"50\":104,\"n\":9,\"min\":89,\"median\":104,\"mean\":103,\"max\":122},\"backends.mod_muc_light_db.calls.get_user_rooms\":{\"one\":26,\"count\":26},\"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_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_private.multi_set_data\":{\"999\":105,\"99\":105,\"95\":105,\"90\":105,\"75\":88,\"50\":80,\"n\":5,\"min\":59,\"median\":80,\"mean\":80,\"max\":105},\"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\":4886,\"95\":850,\"90\":164,\"75\":137,\"50\":112,\"n\":356,\"min\":11,\"median\":112,\"mean\":450,\"max\":5419},\"backends.mod_muc_light_db.remove_user\":{\"999\":790,\"99\":790,\"95\":583,\"90\":583,\"75\":487,\"50\":310,\"n\":14,\"min\":60,\"median\":310,\"mean\":318,\"max\":790},\"backends.mod_offline.pop_messages\":{\"999\":265,\"99\":265,\"95\":265,\"90\":204,\"75\":189,\"50\":167,\"n\":18,\"min\":114,\"median\":167,\"mean\":170,\"max\":265},\"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\":0,\"n\":4,\"min\":0,\"median\":0,\"mean\":0,\"max\":1},\"data.xmpp.sent.xml_stanza_size\":{\"999\":8126,\"99\":8078,\"95\":632,\"90\":383,\"75\":223,\"50\":173,\"n\":423,\"min\":16,\"median\":173,\"mean\":492,\"max\":8126},\"backends.mod_muc_light_db.create_room\":{\"999\":534,\"99\":534,\"95\":425,\"90\":425,\"75\":157,\"50\":122,\"n\":15,\"min\":59,\"median\":122,\"mean\":162,\"max\":534},\"backends.mod_pubsub_db.calls.get_item\":{\"one\":4,\"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\":10,\"count\":14},\"backends.mod_pubsub_db.calls.get_state\":{\"one\":8,\"count\":26},\"nodeUpTime\":{\"value\":209},\"backends.mod_muc_light_db.set_config\":{\"999\":288,\"99\":288,\"95\":288,\"90\":288,\"75\":288,\"50\":72,\"n\":4,\"min\":72,\"median\":72,\"mean\":180,\"max\":288},\"backends.mod_muc_light_db.get_user_rooms\":{\"999\":21,\"99\":21,\"95\":10,\"90\":10,\"75\":4,\"50\":3,\"n\":12,\"min\":1,\"median\":3,\"mean\":5,\"max\":21},\"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\":40,\"count\":66},\"routingErrors\":{\"one\":0,\"count\":0},\"backends.mod_last.get_last\":{\"999\":5,\"99\":5,\"95\":5,\"90\":5,\"75\":5,\"50\":5,\"n\":3,\"min\":5,\"median\":5,\"mean\":5,\"max\":5},\"backends.mod_pubsub_db.calls.del_node\":{\"one\":4,\"count\":13},\"backends.mod_muc_light_db.calls.set_config\":{\"one\":2,\"count\":2},\"backends.mod_roster.calls.get_roster_entry\":{\"one\":27,\"count\":98},\"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\":37,\"99\":37,\"95\":37,\"90\":32,\"75\":29,\"50\":22,\"n\":9,\"min\":16,\"median\":22,\"mean\":23,\"max\":37},\"backends.mod_muc_light_db.calls.room_exists\":{\"one\":19,\"count\":19}}}">>,
         13520,9024}
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-07 08:32:47.309 ***
bOb@localhost/res1 out
</stream:stream>

*** User 2022-03-07 08:32:47.310 ***
bOb@localhost/res1 in
</stream:stream>

*** User 2022-03-07 08:32:47.310 ***
alicE@localhost/res2 out
</stream:stream>

*** User 2022-03-07 08:32:47.310 ***
alicE@localhost/res2 in
</stream:stream>

*** User 2022-03-07 08:32:47.310 ***
alicE@localhost/res1 out
</stream:stream>

*** User 2022-03-07 08:32:47.311 ***
alicE@localhost/res1 in
</stream:stream>
*** CT 2022-03-07 08:32:47.312 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_454.html
*** CT 2022-03-07 08:32:47.313 *** View log from node mongooseim@localhost when finished mongooseim@localhost_857.html



=== Ended at 2022-03-07 08:32:47
=== successfully completed test case
=== === Returned value: ok


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