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

=== Config value:

    [{watchdog,<0.15696.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/metrics_api_SUITE_data"},
     {preset,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@f35493351768.2022-03-18_10.50.10/big_tests.tests.metrics_api_SUITE.logs/run.2022-03-18_10.56.06/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@f35493351768.2022-03-18_10.50.10/big_tests.tests.metrics_api_SUITE.logs/run.2022-03-18_10.56.06/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 => rdbms,iqdisc => one_queue,store_current_id => false,
              versioning => false},
        mod_sic => #{iqdisc => one_queue},
        mod_stream_management =>
            #{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
              buffer_max => 100,resume_timeout => 600,
              stale_h =>
                  #{enabled => false,geriatric => 3600,repeat_after => 1800}},
        mod_vcard =>
            #{backend => rdbms,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,matches => 30,search => true}}},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@f35493351768.2022-03-18_10.50.10"

=== Started at 2022-03-18 10:56:12


*** CT 2022-03-18 10:56:12.972 *** View log from node mongooseim@localhost when started mongooseim@localhost_1010.html
*** CT 2022-03-18 10:56:12.973 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_458.html

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

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



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



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

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



*** User 2022-03-18 10:56:12.987 ***
alicE@localhost/res1 in
<iq id='19bdd6d4cc82111288c58aa79a11151d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@localhost/res1</jid>
	</bind>
</iq>



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



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



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



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



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

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



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



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

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



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



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



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



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



*** User 2022-03-18 10:56:13.006 ***
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:56:12Z' from='alice@localhost/res1'/>
</presence>



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



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



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

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



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



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

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



*** User 2022-03-18 10:56:13.012 ***
bOb@localhost/res1 in
<iq id='1d08c6669de0f63df7fbe549cc8eec9e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@localhost/res1</jid>
	</bind>
</iq>



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



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



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



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



*** User 2022-03-18 10:56:13.018 ***
REST request:
Code: 200
Req: {<0.15724.1>,<<"/api/metrics/global/totalSessionCount">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"5f68cfcefa4a8a8c">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 10:56:12 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"metric\":{\"value\":3}}">>,160,851}
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:56:13.055 ***
REST request:
Code: 200
Req: {<0.15726.1>,<<"/api/metrics/global/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"f64cca9bd51c44b7">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 10:56:12 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"15743">>}],
         <<"{\"metrics\":{\"backends.mod_muc.forget_room\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"mod_muc.hibernated_rooms\":{\"value\":0},\"backends.mongoose_rdbms.query\":{\"999\":182471,\"99\":24609,\"95\":6415,\"90\":3879,\"75\":1141,\"50\":491,\"n\":1040,\"min\":114,\"median\":491,\"mean\":2420,\"max\":182471},\"backends.mod_muc_light_db.calls.get_config\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.store_room\":{\"one\":100,\"count\":175},\"backends.mod_muc.calls.get_rooms\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.get_blocking\":{\"one\":20,\"count\":115},\"data.xmpp.received.encrypted_size\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc_light_db.destroy_room\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_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\":22,\"99\":22,\"95\":18,\"90\":16,\"75\":14,\"50\":5,\"n\":46,\"min\":1,\"median\":5,\"mean\":7,\"max\":22},\"backends.mod_offline.calls.pop_messages\":{\"one\":0,\"count\":314},\"data.dist\":{\"send_pend\":0,\"send_oct\":7816968,\"send_max\":21176,\"send_cnt\":52475,\"recv_oct\":12539849,\"recv_max\":70452,\"recv_cnt\":30275,\"connections\":3},\"backends.mod_muc_light_db.modify_aff_users\":{\"999\":258,\"99\":258,\"95\":258,\"90\":258,\"75\":258,\"50\":227,\"n\":6,\"min\":169,\"median\":227,\"mean\":222,\"max\":258},\"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\":38,\"99\":38,\"95\":38,\"90\":12,\"75\":11,\"50\":9,\"n\":22,\"min\":4,\"median\":9,\"mean\":10,\"max\":38},\"backends.mod_pubsub_db.calls.get_subnodes_tree\":{\"one\":0,\"count\":9},\"backends.mod_muc_light_db.calls.get_aff_users\":{\"one\":60,\"count\":275},\"backends.mod_inbox.clear_inbox\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"unregister_command\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.get_items\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.find_nodes_by_key\":{\"one\":0,\"count\":0},\"node_cleanup\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.unset_nick\":{\"one\":0,\"count\":0},\"backends.mod_muc.unset_nick\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.calls.get_own_nodes_states\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.room_exists\":{\"999\":26,\"99\":26,\"95\":11,\"90\":11,\"75\":10,\"50\":9,\"n\":35,\"min\":4,\"median\":9,\"mean\":9,\"max\":26},\"backends.mod_roster.roster_subscribe_t\":{\"999\":23736,\"99\":14009,\"95\":6237,\"90\":4194,\"75\":1615,\"50\":961,\"n\":72,\"min\":473,\"median\":961,\"mean\":1963,\"max\":23736},\"backends.mod_inbox.calls.reset_unread\":{\"one\":0,\"count\":108},\"backends.mod_roster.get_subscription_lists\":{\"999\":56952,\"99\":37399,\"95\":16078,\"90\":9234,\"75\":3008,\"50\":1177,\"n\":684,\"min\":249,\"median\":1177,\"mean\":3971,\"max\":71219},\"backends.mod_pubsub_db.find_node_by_name\":{\"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_config\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc_light_db.calls.set_blocking\":{\"one\":0,\"count\":4},\"backends.mod_muc.calls.forget_room\":{\"one\":0,\"count\":0},\"backends.mod_inbox.calls.set_inbox_incr_unread\":{\"one\":0,\"count\":344},\"backends.mod_last.calls.set_last_info\":{\"one\":0,\"count\":28},\"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\":0,\"count\":98},\"backends.mod_roster.calls.get_subscription_lists\":{\"one\":1552,\"count\":4244},\"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\":0,\"count\":13},\"backends.mod_pubsub_db.find_nodes_by_key\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.get_item\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"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\":48594,\"99\":18912,\"95\":12396,\"90\":8653,\"75\":5260,\"50\":2825,\"n\":363,\"min\":447,\"median\":2825,\"mean\":3898,\"max\":48594},\"backends.mod_pubsub_db.calls.set_node\":{\"one\":0,\"count\":21},\"backends.mod_muc.calls.set_nick\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.remove_user\":{\"one\":0,\"count\":504},\"backends.mod_pubsub_db.get_states_by_bare\":{\"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.del_roster_t\":{\"one\":0,\"count\":8},\"backends.mod_inbox.calls.get_entry_properties\":{\"one\":0,\"count\":2},\"backends.mod_muc_light_db.calls.remove_domain\":{\"one\":0,\"count\":0},\"backends.mod_inbox.remove_inbox_row\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"processQueueLengths\":{\"total\":0,\"regular\":0,\"fsm\":0},\"backends.mod_inbox.calls.remove_domain\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.delete_node\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_offline.write_messages\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"mod_muc.deep_hibernations\":{\"one\":95,\"count\":163},\"backends.mod_private.calls.multi_get_data\":{\"one\":0,\"count\":12},\"backends.mod_muc_light_db.calls.modify_aff_users\":{\"one\":4,\"count\":31},\"backends.mod_pubsub_db.calls.create_node\":{\"one\":0,\"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\":120,\"count\":398},\"backends.mod_inbox.set_inbox\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_vcard.set_vcard\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc.get_nick\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.calls.del_item\":{\"one\":0,\"count\":0},\"backends.mod_inbox.reset_unread\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_roster.calls.write_roster_version\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.get_states_by_lus\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.update_roster_t\":{\"one\":0,\"count\":34},\"backends.mongoose_rdbms.execute\":{\"999\":45363,\"99\":19652,\"95\":9267,\"90\":5707,\"75\":2577,\"50\":1294,\"n\":4396,\"min\":157,\"median\":1294,\"mean\":3293,\"max\":863188},\"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\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_vcard.get_vcard\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"cache.unique_sessions_number\":{\"value\":2,\"ms_since_reset\":295628},\"backends.mod_private.calls.multi_set_data\":{\"one\":0,\"count\":14},\"backends.mod_muc.store_room\":{\"999\":71416,\"99\":71416,\"95\":35597,\"90\":28258,\"75\":14278,\"50\":7829,\"n\":89,\"min\":2245,\"median\":7829,\"mean\":12246,\"max\":71416},\"backends.mod_pubsub_db.calls.add_item\":{\"one\":0,\"count\":13},\"erlang.memory\":{\"total\":146933288,\"system\":94707712,\"processes_used\":52987040,\"ets\":16498344,\"binary\":902736,\"atom_used\":1299504},\"backends.mod_vcard.calls.get_vcard\":{\"one\":0,\"count\":71},\"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\":2559,\"port_limit\":65536,\"port_count\":55,\"ets_limit\":8192},\"backends.mod_muc_light_db.calls.create_room\":{\"one\":20,\"count\":108},\"backends.mod_pubsub_db.calls.del_items\":{\"one\":0,\"count\":13},\"tcpPortsUsed\":{\"value\":43},\"backends.mod_inbox.calls.set_inbox\":{\"one\":0,\"count\":210},\"uniqueSessionCount\":{\"value\":2},\"backends.mod_private.multi_get_data\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_inbox.set_entry_properties\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_offline.calls.write_messages\":{\"one\":0,\"count\":7},\"backends.mod_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\":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.destroy_room\":{\"one\":0,\"count\":45},\"backends.mod_last.calls.get_last\":{\"one\":0,\"count\":19},\"backends.mod_pubsub_db.find_node_by_id\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc.restore_room\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_roster.get_roster_entry\":{\"999\":51545,\"99\":51545,\"95\":21351,\"90\":10732,\"75\":3309,\"50\":1598,\"n\":110,\"min\":399,\"median\":1598,\"mean\":4995,\"max\":51545},\"backends.mod_muc.can_use_nick\":{\"999\":65526,\"99\":49735,\"95\":20383,\"90\":10745,\"75\":3749,\"50\":1540,\"n\":91,\"min\":441,\"median\":1540,\"mean\":5045,\"max\":65526},\"backends.mod_roster.calls.get_roster\":{\"one\":769,\"count\":2242},\"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\":184,\"count\":378},\"nodeSessionCount\":{\"value\":3},\"backends.mod_pubsub_db.add_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.get_state\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_last.set_last_info\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc_light_db.set_blocking\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_inbox.get_entry_properties\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"data.xmpp.sent.encrypted_size\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_vcard.calls.set_vcard\":{\"one\":0,\"count\":2},\"backends.mod_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_inbox.get_inbox\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.set_node\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_inbox.calls.set_entry_properties\":{\"one\":0,\"count\":64},\"backends.mongoose_rdbms.calls.query\":{\"one\":3974,\"count\":12176},\"backends.mod_muc_light_db.calls.get_user_rooms\":{\"one\":0,\"count\":32},\"backends.mod_inbox.remove_domain\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_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_inbox.calls.clear_inbox\":{\"one\":0,\"count\":556},\"backends.mod_inbox.calls.remove_inbox_row\":{\"one\":0,\"count\":7},\"backends.mod_private.multi_set_data\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"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\":420,\"99\":272,\"95\":208,\"90\":186,\"75\":137,\"50\":115,\"n\":1963,\"min\":11,\"median\":115,\"mean\":114,\"max\":1217},\"backends.mod_muc_light_db.remove_user\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_offline.pop_messages\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_inbox.calls.get_inbox_unread\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.get_parentnodes_tree\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.del_items\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"data.xmpp.sent.xml_stanza_size\":{\"999\":984,\"99\":770,\"95\":536,\"90\":437,\"75\":349,\"50\":237,\"n\":2319,\"min\":16,\"median\":237,\"mean\":273,\"max\":1092},\"backends.mod_muc_light_db.create_room\":{\"999\":268,\"99\":268,\"95\":268,\"90\":255,\"75\":234,\"50\":202,\"n\":22,\"min\":123,\"median\":202,\"mean\":205,\"max\":268},\"backends.mod_pubsub_db.calls.get_item\":{\"one\":0,\"count\":13},\"backends.mod_inbox.set_inbox_incr_unread\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"mod_muc.hibernations\":{\"one\":100,\"count\":175},\"backends.mod_muc_light_db.remove_domain\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"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\":0,\"count\":18},\"backends.mod_pubsub_db.calls.get_state\":{\"one\":0,\"count\":26},\"nodeUpTime\":{\"value\":391},\"backends.mod_muc_light_db.set_config\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_inbox.get_inbox_unread\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"data.rdbms.default\":{\"workers\":5,\"send_pend\":0,\"send_oct\":18173454,\"send_max\":52210,\"send_cnt\":68967,\"recv_oct\":8150753,\"recv_max\":12876,\"recv_cnt\":68967},\"backends.mod_muc_light_db.get_user_rooms\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"mod_muc.online_rooms\":{\"value\":0},\"backends.mongoose_rdbms.calls.execute\":{\"one\":20598,\"count\":56373},\"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\":0,\"count\":46},\"routingErrors\":{\"one\":0,\"count\":0},\"backends.mod_last.get_last\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.calls.del_node\":{\"one\":0,\"count\":13},\"backends.mod_muc_light_db.calls.set_config\":{\"one\":0,\"count\":2},\"backends.mod_inbox.calls.get_inbox\":{\"one\":0,\"count\":578},\"backends.mod_roster.calls.get_roster_entry\":{\"one\":193,\"count\":602},\"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\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc_light_db.calls.room_exists\":{\"one\":44,\"count\":230}}}">>,
         15884,34543}
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:56:13.058 ***
REST request:
Code: 200
Req: {<0.15728.1>,<<"/api/metrics/global/uniqueSessionCount">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"5ee4a1ff721fdd02">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 10:56:12 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"metric\":{\"value\":2}}">>,160,592}
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:56:13.075 ***
REST request:
Code: 200
Req: {<0.15730.1>,<<"/api/metrics/global/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"a1081d3e419337ed">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 10:56:12 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"15743">>}],
         <<"{\"metrics\":{\"backends.mod_muc.forget_room\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"mod_muc.hibernated_rooms\":{\"value\":0},\"backends.mongoose_rdbms.query\":{\"999\":182471,\"99\":24609,\"95\":6415,\"90\":3879,\"75\":1141,\"50\":491,\"n\":1040,\"min\":114,\"median\":491,\"mean\":2420,\"max\":182471},\"backends.mod_muc_light_db.calls.get_config\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.store_room\":{\"one\":100,\"count\":175},\"backends.mod_muc.calls.get_rooms\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.get_blocking\":{\"one\":20,\"count\":115},\"data.xmpp.received.encrypted_size\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc_light_db.destroy_room\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_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\":22,\"99\":22,\"95\":18,\"90\":16,\"75\":14,\"50\":5,\"n\":46,\"min\":1,\"median\":5,\"mean\":7,\"max\":22},\"backends.mod_offline.calls.pop_messages\":{\"one\":0,\"count\":314},\"data.dist\":{\"send_pend\":0,\"send_oct\":7816968,\"send_max\":21176,\"send_cnt\":52475,\"recv_oct\":12539849,\"recv_max\":70452,\"recv_cnt\":30275,\"connections\":3},\"backends.mod_muc_light_db.modify_aff_users\":{\"999\":258,\"99\":258,\"95\":258,\"90\":258,\"75\":258,\"50\":227,\"n\":6,\"min\":169,\"median\":227,\"mean\":222,\"max\":258},\"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\":38,\"99\":38,\"95\":38,\"90\":12,\"75\":11,\"50\":9,\"n\":22,\"min\":4,\"median\":9,\"mean\":10,\"max\":38},\"backends.mod_pubsub_db.calls.get_subnodes_tree\":{\"one\":0,\"count\":9},\"backends.mod_muc_light_db.calls.get_aff_users\":{\"one\":60,\"count\":275},\"backends.mod_inbox.clear_inbox\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"unregister_command\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.get_items\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.find_nodes_by_key\":{\"one\":0,\"count\":0},\"node_cleanup\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.unset_nick\":{\"one\":0,\"count\":0},\"backends.mod_muc.unset_nick\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.calls.get_own_nodes_states\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.room_exists\":{\"999\":26,\"99\":26,\"95\":11,\"90\":11,\"75\":10,\"50\":9,\"n\":35,\"min\":4,\"median\":9,\"mean\":9,\"max\":26},\"backends.mod_roster.roster_subscribe_t\":{\"999\":23736,\"99\":14009,\"95\":6237,\"90\":4194,\"75\":1615,\"50\":961,\"n\":72,\"min\":473,\"median\":961,\"mean\":1963,\"max\":23736},\"backends.mod_inbox.calls.reset_unread\":{\"one\":0,\"count\":108},\"backends.mod_roster.get_subscription_lists\":{\"999\":56952,\"99\":37399,\"95\":16078,\"90\":9234,\"75\":3008,\"50\":1177,\"n\":684,\"min\":249,\"median\":1177,\"mean\":3971,\"max\":71219},\"backends.mod_pubsub_db.find_node_by_name\":{\"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_config\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc_light_db.calls.set_blocking\":{\"one\":0,\"count\":4},\"backends.mod_muc.calls.forget_room\":{\"one\":0,\"count\":0},\"backends.mod_inbox.calls.set_inbox_incr_unread\":{\"one\":0,\"count\":344},\"backends.mod_last.calls.set_last_info\":{\"one\":0,\"count\":28},\"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\":0,\"count\":98},\"backends.mod_roster.calls.get_subscription_lists\":{\"one\":1552,\"count\":4244},\"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\":0,\"count\":13},\"backends.mod_pubsub_db.find_nodes_by_key\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.get_item\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"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\":48594,\"99\":18912,\"95\":12396,\"90\":8653,\"75\":5260,\"50\":2825,\"n\":363,\"min\":447,\"median\":2825,\"mean\":3898,\"max\":48594},\"backends.mod_pubsub_db.calls.set_node\":{\"one\":0,\"count\":21},\"backends.mod_muc.calls.set_nick\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.remove_user\":{\"one\":0,\"count\":504},\"backends.mod_pubsub_db.get_states_by_bare\":{\"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.del_roster_t\":{\"one\":0,\"count\":8},\"backends.mod_inbox.calls.get_entry_properties\":{\"one\":0,\"count\":2},\"backends.mod_muc_light_db.calls.remove_domain\":{\"one\":0,\"count\":0},\"backends.mod_inbox.remove_inbox_row\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"processQueueLengths\":{\"total\":0,\"regular\":0,\"fsm\":0},\"backends.mod_inbox.calls.remove_domain\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.delete_node\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_offline.write_messages\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"mod_muc.deep_hibernations\":{\"one\":95,\"count\":163},\"backends.mod_private.calls.multi_get_data\":{\"one\":0,\"count\":12},\"backends.mod_muc_light_db.calls.modify_aff_users\":{\"one\":4,\"count\":31},\"backends.mod_pubsub_db.calls.create_node\":{\"one\":0,\"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\":120,\"count\":398},\"backends.mod_inbox.set_inbox\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_vcard.set_vcard\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc.get_nick\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.calls.del_item\":{\"one\":0,\"count\":0},\"backends.mod_inbox.reset_unread\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_roster.calls.write_roster_version\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.get_states_by_lus\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.update_roster_t\":{\"one\":0,\"count\":34},\"backends.mongoose_rdbms.execute\":{\"999\":45363,\"99\":19652,\"95\":9267,\"90\":5707,\"75\":2577,\"50\":1294,\"n\":4396,\"min\":157,\"median\":1294,\"mean\":3293,\"max\":863188},\"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\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_vcard.get_vcard\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"cache.unique_sessions_number\":{\"value\":2,\"ms_since_reset\":295652},\"backends.mod_private.calls.multi_set_data\":{\"one\":0,\"count\":14},\"backends.mod_muc.store_room\":{\"999\":71416,\"99\":71416,\"95\":35597,\"90\":28258,\"75\":14278,\"50\":7829,\"n\":89,\"min\":2245,\"median\":7829,\"mean\":12246,\"max\":71416},\"backends.mod_pubsub_db.calls.add_item\":{\"one\":0,\"count\":13},\"erlang.memory\":{\"total\":147988360,\"system\":94709640,\"processes_used\":54226424,\"ets\":16498344,\"binary\":902736,\"atom_used\":1299504},\"backends.mod_vcard.calls.get_vcard\":{\"one\":0,\"count\":71},\"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\":2559,\"port_limit\":65536,\"port_count\":55,\"ets_limit\":8192},\"backends.mod_muc_light_db.calls.create_room\":{\"one\":20,\"count\":108},\"backends.mod_pubsub_db.calls.del_items\":{\"one\":0,\"count\":13},\"tcpPortsUsed\":{\"value\":43},\"backends.mod_inbox.calls.set_inbox\":{\"one\":0,\"count\":210},\"uniqueSessionCount\":{\"value\":2},\"backends.mod_private.multi_get_data\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_inbox.set_entry_properties\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_offline.calls.write_messages\":{\"one\":0,\"count\":7},\"backends.mod_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\":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.destroy_room\":{\"one\":0,\"count\":45},\"backends.mod_last.calls.get_last\":{\"one\":0,\"count\":19},\"backends.mod_pubsub_db.find_node_by_id\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc.restore_room\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_roster.get_roster_entry\":{\"999\":51545,\"99\":51545,\"95\":21351,\"90\":10732,\"75\":3309,\"50\":1598,\"n\":110,\"min\":399,\"median\":1598,\"mean\":4995,\"max\":51545},\"backends.mod_muc.can_use_nick\":{\"999\":65526,\"99\":49735,\"95\":20383,\"90\":10745,\"75\":3749,\"50\":1540,\"n\":91,\"min\":441,\"median\":1540,\"mean\":5045,\"max\":65526},\"backends.mod_roster.calls.get_roster\":{\"one\":769,\"count\":2242},\"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\":184,\"count\":378},\"nodeSessionCount\":{\"value\":3},\"backends.mod_pubsub_db.add_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.get_state\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_last.set_last_info\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc_light_db.set_blocking\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_inbox.get_entry_properties\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"data.xmpp.sent.encrypted_size\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_vcard.calls.set_vcard\":{\"one\":0,\"count\":2},\"backends.mod_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_inbox.get_inbox\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.set_node\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_inbox.calls.set_entry_properties\":{\"one\":0,\"count\":64},\"backends.mongoose_rdbms.calls.query\":{\"one\":3974,\"count\":12176},\"backends.mod_muc_light_db.calls.get_user_rooms\":{\"one\":0,\"count\":32},\"backends.mod_inbox.remove_domain\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_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_inbox.calls.clear_inbox\":{\"one\":0,\"count\":556},\"backends.mod_inbox.calls.remove_inbox_row\":{\"one\":0,\"count\":7},\"backends.mod_private.multi_set_data\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"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\":420,\"99\":272,\"95\":208,\"90\":186,\"75\":137,\"50\":115,\"n\":1963,\"min\":11,\"median\":115,\"mean\":114,\"max\":1217},\"backends.mod_muc_light_db.remove_user\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_offline.pop_messages\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_inbox.calls.get_inbox_unread\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.get_parentnodes_tree\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.del_items\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"data.xmpp.sent.xml_stanza_size\":{\"999\":984,\"99\":770,\"95\":536,\"90\":437,\"75\":349,\"50\":237,\"n\":2319,\"min\":16,\"median\":237,\"mean\":273,\"max\":1092},\"backends.mod_muc_light_db.create_room\":{\"999\":268,\"99\":268,\"95\":268,\"90\":255,\"75\":234,\"50\":202,\"n\":22,\"min\":123,\"median\":202,\"mean\":205,\"max\":268},\"backends.mod_pubsub_db.calls.get_item\":{\"one\":0,\"count\":13},\"backends.mod_inbox.set_inbox_incr_unread\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"mod_muc.hibernations\":{\"one\":100,\"count\":175},\"backends.mod_muc_light_db.remove_domain\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"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\":0,\"count\":18},\"backends.mod_pubsub_db.calls.get_state\":{\"one\":0,\"count\":26},\"nodeUpTime\":{\"value\":391},\"backends.mod_muc_light_db.set_config\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_inbox.get_inbox_unread\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"data.rdbms.default\":{\"workers\":5,\"send_pend\":0,\"send_oct\":18173454,\"send_max\":52210,\"send_cnt\":68967,\"recv_oct\":8150753,\"recv_max\":12876,\"recv_cnt\":68967},\"backends.mod_muc_light_db.get_user_rooms\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"mod_muc.online_rooms\":{\"value\":0},\"backends.mongoose_rdbms.calls.execute\":{\"one\":20598,\"count\":56373},\"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\":0,\"count\":46},\"routingErrors\":{\"one\":0,\"count\":0},\"backends.mod_last.get_last\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.calls.del_node\":{\"one\":0,\"count\":13},\"backends.mod_muc_light_db.calls.set_config\":{\"one\":0,\"count\":2},\"backends.mod_inbox.calls.get_inbox\":{\"one\":0,\"count\":578},\"backends.mod_roster.calls.get_roster_entry\":{\"one\":193,\"count\":602},\"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\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc_light_db.calls.room_exists\":{\"one\":44,\"count\":230}}}">>,
         15884,16099}
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:56:13.079 ***
REST request:
Code: 200
Req: {<0.15732.1>,<<"/api/metrics/global/nodeSessionCount">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"b35bb02a29999ceb">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 10:56:12 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"metric\":{\"value\":3}}">>,160,554}
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:56:13.109 ***
REST request:
Code: 200
Req: {<0.15734.1>,<<"/api/metrics/global/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"9219b13512433982">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 10:56:12 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"15743">>}],
         <<"{\"metrics\":{\"backends.mod_muc.forget_room\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"mod_muc.hibernated_rooms\":{\"value\":0},\"backends.mongoose_rdbms.query\":{\"999\":182471,\"99\":24609,\"95\":6415,\"90\":3879,\"75\":1141,\"50\":491,\"n\":1040,\"min\":114,\"median\":491,\"mean\":2420,\"max\":182471},\"backends.mod_muc_light_db.calls.get_config\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.store_room\":{\"one\":100,\"count\":175},\"backends.mod_muc.calls.get_rooms\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.get_blocking\":{\"one\":20,\"count\":115},\"data.xmpp.received.encrypted_size\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc_light_db.destroy_room\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_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\":22,\"99\":22,\"95\":18,\"90\":16,\"75\":14,\"50\":5,\"n\":46,\"min\":1,\"median\":5,\"mean\":7,\"max\":22},\"backends.mod_offline.calls.pop_messages\":{\"one\":0,\"count\":314},\"data.dist\":{\"send_pend\":0,\"send_oct\":7816968,\"send_max\":21176,\"send_cnt\":52475,\"recv_oct\":12539849,\"recv_max\":70452,\"recv_cnt\":30275,\"connections\":3},\"backends.mod_muc_light_db.modify_aff_users\":{\"999\":258,\"99\":258,\"95\":258,\"90\":258,\"75\":258,\"50\":227,\"n\":6,\"min\":169,\"median\":227,\"mean\":222,\"max\":258},\"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\":38,\"99\":38,\"95\":38,\"90\":12,\"75\":11,\"50\":9,\"n\":22,\"min\":4,\"median\":9,\"mean\":10,\"max\":38},\"backends.mod_pubsub_db.calls.get_subnodes_tree\":{\"one\":0,\"count\":9},\"backends.mod_muc_light_db.calls.get_aff_users\":{\"one\":60,\"count\":275},\"backends.mod_inbox.clear_inbox\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"unregister_command\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.get_items\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.find_nodes_by_key\":{\"one\":0,\"count\":0},\"node_cleanup\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.unset_nick\":{\"one\":0,\"count\":0},\"backends.mod_muc.unset_nick\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.calls.get_own_nodes_states\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.room_exists\":{\"999\":26,\"99\":26,\"95\":11,\"90\":11,\"75\":10,\"50\":9,\"n\":35,\"min\":4,\"median\":9,\"mean\":9,\"max\":26},\"backends.mod_roster.roster_subscribe_t\":{\"999\":23736,\"99\":14009,\"95\":6237,\"90\":4194,\"75\":1615,\"50\":961,\"n\":72,\"min\":473,\"median\":961,\"mean\":1963,\"max\":23736},\"backends.mod_inbox.calls.reset_unread\":{\"one\":0,\"count\":108},\"backends.mod_roster.get_subscription_lists\":{\"999\":56952,\"99\":37399,\"95\":16078,\"90\":9234,\"75\":3008,\"50\":1179,\"n\":683,\"min\":249,\"median\":1179,\"mean\":3977,\"max\":71219},\"backends.mod_pubsub_db.find_node_by_name\":{\"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_config\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc_light_db.calls.set_blocking\":{\"one\":0,\"count\":4},\"backends.mod_muc.calls.forget_room\":{\"one\":0,\"count\":0},\"backends.mod_inbox.calls.set_inbox_incr_unread\":{\"one\":0,\"count\":344},\"backends.mod_last.calls.set_last_info\":{\"one\":0,\"count\":28},\"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\":0,\"count\":98},\"backends.mod_roster.calls.get_subscription_lists\":{\"one\":1552,\"count\":4244},\"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\":0,\"count\":13},\"backends.mod_pubsub_db.find_nodes_by_key\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.get_item\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"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\":48594,\"99\":18912,\"95\":12396,\"90\":8653,\"75\":5260,\"50\":2825,\"n\":363,\"min\":447,\"median\":2825,\"mean\":3898,\"max\":48594},\"backends.mod_pubsub_db.calls.set_node\":{\"one\":0,\"count\":21},\"backends.mod_muc.calls.set_nick\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.remove_user\":{\"one\":0,\"count\":504},\"backends.mod_pubsub_db.get_states_by_bare\":{\"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.del_roster_t\":{\"one\":0,\"count\":8},\"backends.mod_inbox.calls.get_entry_properties\":{\"one\":0,\"count\":2},\"backends.mod_muc_light_db.calls.remove_domain\":{\"one\":0,\"count\":0},\"backends.mod_inbox.remove_inbox_row\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"processQueueLengths\":{\"total\":0,\"regular\":0,\"fsm\":0},\"backends.mod_inbox.calls.remove_domain\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.delete_node\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_offline.write_messages\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"mod_muc.deep_hibernations\":{\"one\":95,\"count\":163},\"backends.mod_private.calls.multi_get_data\":{\"one\":0,\"count\":12},\"backends.mod_muc_light_db.calls.modify_aff_users\":{\"one\":4,\"count\":31},\"backends.mod_pubsub_db.calls.create_node\":{\"one\":0,\"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\":120,\"count\":398},\"backends.mod_inbox.set_inbox\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_vcard.set_vcard\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc.get_nick\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.calls.del_item\":{\"one\":0,\"count\":0},\"backends.mod_inbox.reset_unread\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_roster.calls.write_roster_version\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.get_states_by_lus\":{\"one\":0,\"count\":0},\"backends.mod_roster.calls.update_roster_t\":{\"one\":0,\"count\":34},\"backends.mongoose_rdbms.execute\":{\"999\":45363,\"99\":19652,\"95\":9267,\"90\":5724,\"75\":2577,\"50\":1294,\"n\":4392,\"min\":157,\"median\":1294,\"mean\":3294,\"max\":863188},\"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\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_vcard.get_vcard\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"cache.unique_sessions_number\":{\"value\":2,\"ms_since_reset\":295674},\"backends.mod_private.calls.multi_set_data\":{\"one\":0,\"count\":14},\"backends.mod_muc.store_room\":{\"999\":71416,\"99\":71416,\"95\":35597,\"90\":28258,\"75\":14278,\"50\":7829,\"n\":89,\"min\":2245,\"median\":7829,\"mean\":12246,\"max\":71416},\"backends.mod_pubsub_db.calls.add_item\":{\"one\":0,\"count\":13},\"erlang.memory\":{\"total\":149899648,\"system\":94707712,\"processes_used\":55986976,\"ets\":16498344,\"binary\":902736,\"atom_used\":1299504},\"backends.mod_vcard.calls.get_vcard\":{\"one\":0,\"count\":71},\"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\":2559,\"port_limit\":65536,\"port_count\":55,\"ets_limit\":8192},\"backends.mod_muc_light_db.calls.create_room\":{\"one\":20,\"count\":108},\"backends.mod_pubsub_db.calls.del_items\":{\"one\":0,\"count\":13},\"tcpPortsUsed\":{\"value\":43},\"backends.mod_inbox.calls.set_inbox\":{\"one\":0,\"count\":210},\"uniqueSessionCount\":{\"value\":2},\"backends.mod_private.multi_get_data\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_inbox.set_entry_properties\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_offline.calls.write_messages\":{\"one\":0,\"count\":7},\"backends.mod_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\":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.destroy_room\":{\"one\":0,\"count\":45},\"backends.mod_last.calls.get_last\":{\"one\":0,\"count\":19},\"backends.mod_pubsub_db.find_node_by_id\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc.restore_room\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_roster.get_roster_entry\":{\"999\":51545,\"99\":51545,\"95\":21351,\"90\":10732,\"75\":3309,\"50\":1598,\"n\":110,\"min\":399,\"median\":1598,\"mean\":4995,\"max\":51545},\"backends.mod_muc.can_use_nick\":{\"999\":65526,\"99\":49735,\"95\":20383,\"90\":10745,\"75\":3749,\"50\":1540,\"n\":91,\"min\":441,\"median\":1540,\"mean\":5045,\"max\":65526},\"backends.mod_roster.calls.get_roster\":{\"one\":769,\"count\":2242},\"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\":184,\"count\":378},\"nodeSessionCount\":{\"value\":3},\"backends.mod_pubsub_db.add_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.get_state\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_last.set_last_info\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc_light_db.set_blocking\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_inbox.get_entry_properties\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"data.xmpp.sent.encrypted_size\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_vcard.calls.set_vcard\":{\"one\":0,\"count\":2},\"backends.mod_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_inbox.get_inbox\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.set_node\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_inbox.calls.set_entry_properties\":{\"one\":0,\"count\":64},\"backends.mongoose_rdbms.calls.query\":{\"one\":3974,\"count\":12176},\"backends.mod_muc_light_db.calls.get_user_rooms\":{\"one\":0,\"count\":32},\"backends.mod_inbox.remove_domain\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_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_inbox.calls.clear_inbox\":{\"one\":0,\"count\":556},\"backends.mod_inbox.calls.remove_inbox_row\":{\"one\":0,\"count\":7},\"backends.mod_private.multi_set_data\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"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\":420,\"99\":272,\"95\":208,\"90\":186,\"75\":137,\"50\":115,\"n\":1960,\"min\":11,\"median\":115,\"mean\":114,\"max\":1217},\"backends.mod_muc_light_db.remove_user\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_offline.pop_messages\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_inbox.calls.get_inbox_unread\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.calls.get_parentnodes_tree\":{\"one\":0,\"count\":0},\"backends.mod_pubsub_db.del_items\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"data.xmpp.sent.xml_stanza_size\":{\"999\":984,\"99\":770,\"95\":536,\"90\":437,\"75\":349,\"50\":237,\"n\":2316,\"min\":16,\"median\":237,\"mean\":273,\"max\":1092},\"backends.mod_muc_light_db.create_room\":{\"999\":268,\"99\":268,\"95\":268,\"90\":255,\"75\":234,\"50\":202,\"n\":22,\"min\":123,\"median\":202,\"mean\":205,\"max\":268},\"backends.mod_pubsub_db.calls.get_item\":{\"one\":0,\"count\":13},\"backends.mod_inbox.set_inbox_incr_unread\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"mod_muc.hibernations\":{\"one\":100,\"count\":175},\"backends.mod_muc_light_db.remove_domain\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"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\":0,\"count\":18},\"backends.mod_pubsub_db.calls.get_state\":{\"one\":0,\"count\":26},\"nodeUpTime\":{\"value\":391},\"backends.mod_muc_light_db.set_config\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_inbox.get_inbox_unread\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"data.rdbms.default\":{\"workers\":5,\"send_pend\":0,\"send_oct\":18173454,\"send_max\":52210,\"send_cnt\":68967,\"recv_oct\":8150753,\"recv_max\":12876,\"recv_cnt\":68967},\"backends.mod_muc_light_db.get_user_rooms\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"mod_muc.online_rooms\":{\"value\":0},\"backends.mongoose_rdbms.calls.execute\":{\"one\":20598,\"count\":56373},\"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\":0,\"count\":46},\"routingErrors\":{\"one\":0,\"count\":0},\"backends.mod_last.get_last\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.calls.del_node\":{\"one\":0,\"count\":13},\"backends.mod_muc_light_db.calls.set_config\":{\"one\":0,\"count\":2},\"backends.mod_inbox.calls.get_inbox\":{\"one\":0,\"count\":578},\"backends.mod_roster.calls.get_roster_entry\":{\"one\":193,\"count\":602},\"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\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc_light_db.calls.room_exists\":{\"one\":44,\"count\":230}}}">>,
         15884,28980}
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:56:13.109 ***
bOb@localhost/res1 out
</stream:stream>

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

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

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

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

*** User 2022-03-18 10:56:13.113 ***
alicE@localhost/res1 in
</stream:stream>
*** CT 2022-03-18 10:56:13.116 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_458.html
*** CT 2022-03-18 10:56:13.118 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1010.html



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


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