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

=== Config value:

    [{watchdog,<0.12631.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@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.metrics_api_SUITE.logs/run.2022-01-25_16.27.25/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@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.metrics_api_SUITE.logs/run.2022-01-25_16.27.25/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_adhoc => [],mod_amp => [],mod_bosh => [],
        mod_cache_users => [{number_of_segments,5},{time_to_live,2}],
        mod_carboncopy => [],mod_commands => [],
        mod_disco => [{users_can_see_hidden_services,false}],
        mod_muc_commands => [],mod_muc_light_commands => [],
        mod_register =>
            [{access,register},
             {ip_access,[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
             {welcome_message,{[],[]}}],
        mod_roster => [{backend,rdbms}],
        mod_sic => [],mod_stream_management => [],
        mod_vcard => [{backend,rdbms},{host,{prefix,<<"vjud.">>}}]}},
     {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@ebe8a8f9fc53.2022-01-25_16.21.59"

=== Started at 2022-01-25 16:27:31


*** CT 2022-01-25 16:27:31.399 *** View log from node mongooseim@localhost when started mongooseim@localhost_1818.html
*** CT 2022-01-25 16:27:31.400 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_568.html

*** User 2022-01-25 16:27:31.402 ***
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-01-25 16:27:31.402 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8f60ecf64b2f248f' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:27:31.402 ***
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-01-25 16:27:31.403 ***
alicE@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-01-25 16:27:31.404 ***
alicE@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:27:31.404 ***
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-01-25 16:27:31.404 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2a664207a8134854' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:27:31.405 ***
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-01-25 16:27:31.405 ***
alicE@localhost/res1 out
<iq type='set' id='0b3c7c06d1ac45a2c0411cf47d349f1b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:27:31.405 ***
alicE@localhost/res1 in
<iq id='0b3c7c06d1ac45a2c0411cf47d349f1b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:27:31.405 ***
alicE@localhost/res1 out
<iq type='set' id='7f31c3299582504feb5bac7caadeaee5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:27:31.405 ***
alicE@localhost/res1 in
<iq type='result' id='7f31c3299582504feb5bac7caadeaee5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:27:31.406 ***
alicE@localhost/res1 out
<presence/>



*** User 2022-01-25 16:27:31.407 ***
alicE@localhost/res1 in
<presence from='alicE@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:27:31.408 ***
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-01-25 16:27:31.408 ***
alicE@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b050f7423e3faa2b' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:27:31.408 ***
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-01-25 16:27:31.409 ***
alicE@localhost/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-01-25 16:27:31.410 ***
alicE@localhost/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:27:31.410 ***
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-01-25 16:27:31.410 ***
alicE@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9485eea60c464e04' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:27:31.410 ***
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-01-25 16:27:31.410 ***
alicE@localhost/res2 out
<iq type='set' id='7731964239dcff52038c33500571c1d3'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2022-01-25 16:27:31.410 ***
alicE@localhost/res2 in
<iq id='7731964239dcff52038c33500571c1d3' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@localhost/res2</jid>
	</bind>
</iq>



*** User 2022-01-25 16:27:31.411 ***
alicE@localhost/res2 out
<iq type='set' id='ce24afd44f424d93a62d14ee8ce5a8e2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:27:31.411 ***
alicE@localhost/res2 in
<iq type='result' id='ce24afd44f424d93a62d14ee8ce5a8e2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:27:31.411 ***
alicE@localhost/res2 out
<presence/>



*** User 2022-01-25 16:27:31.413 ***
alicE@localhost/res2 in
<presence from='alicE@localhost/res2' to='alice@localhost/res2' xml:lang='en'/>



*** User 2022-01-25 16:27:31.413 ***
alicE@localhost/res2 in
<presence from='alice@localhost/res1' to='alicE@localhost/res2' xml:lang='en'>
	<delay xmlns='urn:xmpp:delay' stamp='2022-01-25T16:27:31Z' from='alice@localhost/res1'/>
</presence>



*** User 2022-01-25 16:27:31.413 ***
alicE@localhost/res1 in
<presence from='alicE@localhost/res2' to='alice@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:27:31.414 ***
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-01-25 16:27:31.414 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fda918974345c8a7' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:27:31.414 ***
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-01-25 16:27:31.414 ***
bOb@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-01-25 16:27:31.416 ***
bOb@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:27:31.416 ***
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-01-25 16:27:31.416 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='64b51e9ab302feb5' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:27:31.416 ***
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-01-25 16:27:31.416 ***
bOb@localhost/res1 out
<iq type='set' id='36fdd14beb82c2a54e2ad9c1c0d3d28d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:27:31.417 ***
bOb@localhost/res1 in
<iq id='36fdd14beb82c2a54e2ad9c1c0d3d28d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:27:31.417 ***
bOb@localhost/res1 out
<iq type='set' id='b200f37cda301126ca31b36ab779165b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:27:31.417 ***
bOb@localhost/res1 in
<iq type='result' id='b200f37cda301126ca31b36ab779165b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:27:31.417 ***
bOb@localhost/res1 out
<presence/>



*** User 2022-01-25 16:27:31.419 ***
bOb@localhost/res1 in
<presence from='bOb@localhost/res1' to='bob@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:27:31.420 ***
REST request:
Code: 200
Req: {<0.12654.1>,<<"/api/metrics/global/totalSessionCount">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"e316c5b74a8fef1d">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 25 Jan 2022 16:27:30 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"metric\":{\"value\":3}}">>,160,556}
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-01-25 16:27:31.439 ***
REST request:
Code: 200
Req: {<0.12656.1>,<<"/api/metrics/global/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"8bb41828dc50a738">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 25 Jan 2022 16:27:30 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"15734">>}],
         <<"{\"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\":173173,\"99\":24719,\"95\":6719,\"90\":3923,\"75\":666,\"50\":351,\"n\":1074,\"min\":147,\"median\":351,\"mean\":2442,\"max\":173173},\"backends.mod_muc_light_db.calls.get_config\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.store_room\":{\"one\":122,\"count\":197},\"backends.mod_muc.calls.get_rooms\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.get_blocking\":{\"one\":20,\"count\":69},\"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\":46,\"99\":46,\"95\":18,\"90\":16,\"75\":10,\"50\":3,\"n\":43,\"min\":1,\"median\":3,\"mean\":6,\"max\":46},\"backends.mod_offline.calls.pop_messages\":{\"one\":0,\"count\":168},\"data.dist\":{\"send_pend\":0,\"send_oct\":6090046,\"send_max\":21164,\"send_cnt\":52280,\"recv_oct\":12197840,\"recv_max\":70429,\"recv_cnt\":30279,\"connections\":3},\"backends.mod_muc_light_db.modify_aff_users\":{\"999\":218,\"99\":218,\"95\":218,\"90\":218,\"75\":218,\"50\":200,\"n\":6,\"min\":193,\"median\":200,\"mean\":203,\"max\":218},\"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\":12,\"99\":12,\"95\":12,\"90\":11,\"75\":10,\"50\":9,\"n\":22,\"min\":4,\"median\":9,\"mean\":8,\"max\":12},\"backends.mod_pubsub_db.calls.get_subnodes_tree\":{\"one\":0,\"count\":9},\"backends.mod_muc_light_db.calls.get_aff_users\":{\"one\":60,\"count\":176},\"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\":12,\"99\":12,\"95\":11,\"90\":11,\"75\":10,\"50\":9,\"n\":34,\"min\":3,\"median\":9,\"mean\":8,\"max\":12},\"backends.mod_roster.roster_subscribe_t\":{\"999\":7529,\"99\":7209,\"95\":4985,\"90\":2631,\"75\":1197,\"50\":833,\"n\":64,\"min\":530,\"median\":833,\"mean\":1335,\"max\":7529},\"backends.mod_inbox.calls.reset_unread\":{\"one\":0,\"count\":54},\"backends.mod_roster.get_subscription_lists\":{\"999\":93187,\"99\":35616,\"95\":11738,\"90\":5819,\"75\":1719,\"50\":816,\"n\":676,\"min\":294,\"median\":816,\"mean\":3185,\"max\":93187},\"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\":0},\"backends.mod_muc.calls.forget_room\":{\"one\":0,\"count\":0},\"backends.mod_inbox.calls.set_inbox_incr_unread\":{\"one\":0,\"count\":179},\"backends.mod_last.calls.set_last_info\":{\"one\":0,\"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\":0,\"count\":98},\"backends.mod_roster.calls.get_subscription_lists\":{\"one\":1562,\"count\":3623},\"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\":158000,\"99\":47016,\"95\":24307,\"90\":13720,\"75\":5485,\"50\":2620,\"n\":386,\"min\":693,\"median\":2620,\"mean\":5591,\"max\":158000},\"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\":32},\"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\":0},\"backends.mod_inbox.calls.get_entry_properties\":{\"one\":0,\"count\":1},\"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\":100,\"count\":175},\"backends.mod_private.calls.multi_get_data\":{\"one\":0,\"count\":12},\"backends.mod_muc_light_db.calls.modify_aff_users\":{\"one\":4,\"count\":11},\"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\":300},\"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\":0},\"backends.mongoose_rdbms.execute\":{\"999\":121259,\"99\":39715,\"95\":14256,\"90\":8591,\"75\":2691,\"50\":1125,\"n\":4294,\"min\":197,\"median\":1125,\"mean\":4925,\"max\":211795},\"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\":264895},\"backends.mod_private.calls.multi_set_data\":{\"one\":0,\"count\":14},\"backends.mod_muc.store_room\":{\"999\":81498,\"99\":81498,\"95\":67547,\"90\":42866,\"75\":24139,\"50\":10670,\"n\":110,\"min\":3054,\"median\":10670,\"mean\":17592,\"max\":81498},\"backends.mod_pubsub_db.calls.add_item\":{\"one\":0,\"count\":13},\"erlang.memory\":{\"total\":145123520,\"system\":93704840,\"processes_used\":52413744,\"ets\":16185784,\"binary\":833472,\"atom_used\":1283274},\"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\":2560,\"port_limit\":65536,\"port_count\":55,\"ets_limit\":8192},\"backends.mod_muc_light_db.calls.create_room\":{\"one\":20,\"count\":56},\"backends.mod_pubsub_db.calls.del_items\":{\"one\":0,\"count\":13},\"tcpPortsUsed\":{\"value\":43},\"backends.mod_inbox.calls.set_inbox\":{\"one\":0,\"count\":112},\"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\":6},\"backends.mod_pubsub_db.get_own_nodes_states\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.get_states_by_lus\":{\"999\":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\":2},\"backends.mod_last.calls.get_last\":{\"one\":0,\"count\":1},\"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\":41979,\"99\":41979,\"95\":9485,\"90\":4493,\"75\":2105,\"50\":1260,\"n\":103,\"min\":380,\"median\":1260,\"mean\":2692,\"max\":41979},\"backends.mod_muc.can_use_nick\":{\"999\":92068,\"99\":69310,\"95\":34855,\"90\":17618,\"75\":3450,\"50\":1048,\"n\":116,\"min\":358,\"median\":1048,\"mean\":5741,\"max\":92068},\"backends.mod_roster.calls.get_roster\":{\"one\":825,\"count\":1918},\"backends.mod_roster.write_roster_version\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc.calls.can_use_nick\":{\"one\":230,\"count\":402},\"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\":32},\"backends.mongoose_rdbms.calls.query\":{\"one\":4278,\"count\":9770},\"backends.mod_muc_light_db.calls.get_user_rooms\":{\"one\":0,\"count\":0},\"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\":250},\"backends.mod_inbox.calls.remove_inbox_row\":{\"one\":0,\"count\":5},\"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\":385,\"99\":256,\"95\":199,\"90\":184,\"75\":137,\"50\":117,\"n\":1802,\"min\":11,\"median\":117,\"mean\":113,\"max\":1460},\"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\":841,\"99\":762,\"95\":544,\"90\":437,\"75\":351,\"50\":241,\"n\":2141,\"min\":16,\"median\":241,\"mean\":278,\"max\":1092},\"backends.mod_muc_light_db.create_room\":{\"999\":318,\"99\":318,\"95\":318,\"90\":278,\"75\":226,\"50\":190,\"n\":22,\"min\":136,\"median\":190,\"mean\":197,\"max\":318},\"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\":117,\"count\":192},\"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\":355},\"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\":15706541,\"send_max\":44296,\"send_cnt\":59680,\"recv_oct\":7150658,\"recv_max\":12872,\"recv_cnt\":59680},\"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\":20996,\"count\":49505},\"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\":0},\"backends.mod_inbox.calls.get_inbox\":{\"one\":0,\"count\":296},\"backends.mod_roster.calls.get_roster_entry\":{\"one\":193,\"count\":433},\"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\":148}}}">>,
         15875,18185}
Params: #{body => <<>>,method => <<"GET">>,path => <<"/api/metrics/global/">>,
          port => 5288,return_headers => true,return_maps => true,
          role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-01-25 16:27:31.442 ***
REST request:
Code: 200
Req: {<0.12658.1>,<<"/api/metrics/global/uniqueSessionCount">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"3e291a17fb6546e2">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 25 Jan 2022 16:27:30 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"metric\":{\"value\":2}}">>,160,445}
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-01-25 16:27:31.457 ***
REST request:
Code: 200
Req: {<0.12660.1>,<<"/api/metrics/global/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"aff820754e9b14dc">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 25 Jan 2022 16:27:30 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"15734">>}],
         <<"{\"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\":173173,\"99\":24719,\"95\":6719,\"90\":3923,\"75\":666,\"50\":351,\"n\":1073,\"min\":147,\"median\":351,\"mean\":2445,\"max\":173173},\"backends.mod_muc_light_db.calls.get_config\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.store_room\":{\"one\":122,\"count\":197},\"backends.mod_muc.calls.get_rooms\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.get_blocking\":{\"one\":20,\"count\":69},\"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\":46,\"99\":46,\"95\":18,\"90\":16,\"75\":10,\"50\":3,\"n\":43,\"min\":1,\"median\":3,\"mean\":6,\"max\":46},\"backends.mod_offline.calls.pop_messages\":{\"one\":0,\"count\":168},\"data.dist\":{\"send_pend\":0,\"send_oct\":6090046,\"send_max\":21164,\"send_cnt\":52280,\"recv_oct\":12197840,\"recv_max\":70429,\"recv_cnt\":30279,\"connections\":3},\"backends.mod_muc_light_db.modify_aff_users\":{\"999\":218,\"99\":218,\"95\":218,\"90\":218,\"75\":218,\"50\":200,\"n\":6,\"min\":193,\"median\":200,\"mean\":203,\"max\":218},\"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\":12,\"99\":12,\"95\":12,\"90\":11,\"75\":10,\"50\":9,\"n\":22,\"min\":4,\"median\":9,\"mean\":8,\"max\":12},\"backends.mod_pubsub_db.calls.get_subnodes_tree\":{\"one\":0,\"count\":9},\"backends.mod_muc_light_db.calls.get_aff_users\":{\"one\":60,\"count\":176},\"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\":12,\"99\":12,\"95\":11,\"90\":11,\"75\":10,\"50\":9,\"n\":34,\"min\":3,\"median\":9,\"mean\":8,\"max\":12},\"backends.mod_roster.roster_subscribe_t\":{\"999\":7529,\"99\":7209,\"95\":4985,\"90\":2631,\"75\":1197,\"50\":833,\"n\":64,\"min\":530,\"median\":833,\"mean\":1335,\"max\":7529},\"backends.mod_inbox.calls.reset_unread\":{\"one\":0,\"count\":54},\"backends.mod_roster.get_subscription_lists\":{\"999\":93187,\"99\":35616,\"95\":11738,\"90\":5819,\"75\":1719,\"50\":816,\"n\":676,\"min\":294,\"median\":816,\"mean\":3185,\"max\":93187},\"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\":0},\"backends.mod_muc.calls.forget_room\":{\"one\":0,\"count\":0},\"backends.mod_inbox.calls.set_inbox_incr_unread\":{\"one\":0,\"count\":179},\"backends.mod_last.calls.set_last_info\":{\"one\":0,\"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\":0,\"count\":98},\"backends.mod_roster.calls.get_subscription_lists\":{\"one\":1562,\"count\":3623},\"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\":158000,\"99\":47016,\"95\":24307,\"90\":13720,\"75\":5485,\"50\":2620,\"n\":386,\"min\":693,\"median\":2620,\"mean\":5591,\"max\":158000},\"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\":32},\"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\":0},\"backends.mod_inbox.calls.get_entry_properties\":{\"one\":0,\"count\":1},\"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\":100,\"count\":175},\"backends.mod_private.calls.multi_get_data\":{\"one\":0,\"count\":12},\"backends.mod_muc_light_db.calls.modify_aff_users\":{\"one\":4,\"count\":11},\"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\":300},\"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\":0},\"backends.mongoose_rdbms.execute\":{\"999\":121259,\"99\":39715,\"95\":14281,\"90\":8591,\"75\":2699,\"50\":1125,\"n\":4290,\"min\":197,\"median\":1125,\"mean\":4928,\"max\":211795},\"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\":264916},\"backends.mod_private.calls.multi_set_data\":{\"one\":0,\"count\":14},\"backends.mod_muc.store_room\":{\"999\":81498,\"99\":81498,\"95\":67547,\"90\":42866,\"75\":24139,\"50\":10802,\"n\":109,\"min\":3054,\"median\":10802,\"mean\":17722,\"max\":81498},\"backends.mod_pubsub_db.calls.add_item\":{\"one\":0,\"count\":13},\"erlang.memory\":{\"total\":147518696,\"system\":93705000,\"processes_used\":54815288,\"ets\":16185784,\"binary\":833472,\"atom_used\":1283274},\"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\":2560,\"port_limit\":65536,\"port_count\":55,\"ets_limit\":8192},\"backends.mod_muc_light_db.calls.create_room\":{\"one\":20,\"count\":56},\"backends.mod_pubsub_db.calls.del_items\":{\"one\":0,\"count\":13},\"tcpPortsUsed\":{\"value\":43},\"backends.mod_inbox.calls.set_inbox\":{\"one\":0,\"count\":112},\"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\":6},\"backends.mod_pubsub_db.get_own_nodes_states\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.get_states_by_lus\":{\"999\":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\":2},\"backends.mod_last.calls.get_last\":{\"one\":0,\"count\":1},\"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\":41979,\"99\":41979,\"95\":9485,\"90\":4493,\"75\":2105,\"50\":1260,\"n\":103,\"min\":380,\"median\":1260,\"mean\":2692,\"max\":41979},\"backends.mod_muc.can_use_nick\":{\"999\":92068,\"99\":69310,\"95\":34855,\"90\":17618,\"75\":3450,\"50\":1048,\"n\":116,\"min\":358,\"median\":1048,\"mean\":5741,\"max\":92068},\"backends.mod_roster.calls.get_roster\":{\"one\":825,\"count\":1918},\"backends.mod_roster.write_roster_version\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc.calls.can_use_nick\":{\"one\":230,\"count\":402},\"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\":32},\"backends.mongoose_rdbms.calls.query\":{\"one\":4278,\"count\":9770},\"backends.mod_muc_light_db.calls.get_user_rooms\":{\"one\":0,\"count\":0},\"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\":250},\"backends.mod_inbox.calls.remove_inbox_row\":{\"one\":0,\"count\":5},\"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\":385,\"99\":256,\"95\":199,\"90\":184,\"75\":137,\"50\":117,\"n\":1802,\"min\":11,\"median\":117,\"mean\":113,\"max\":1460},\"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\":841,\"99\":762,\"95\":544,\"90\":437,\"75\":351,\"50\":241,\"n\":2141,\"min\":16,\"median\":241,\"mean\":278,\"max\":1092},\"backends.mod_muc_light_db.create_room\":{\"999\":318,\"99\":318,\"95\":318,\"90\":278,\"75\":226,\"50\":190,\"n\":22,\"min\":136,\"median\":190,\"mean\":197,\"max\":318},\"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\":117,\"count\":192},\"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\":355},\"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\":15706541,\"send_max\":44296,\"send_cnt\":59680,\"recv_oct\":7150658,\"recv_max\":12872,\"recv_cnt\":59680},\"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\":20996,\"count\":49505},\"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\":0},\"backends.mod_inbox.calls.get_inbox\":{\"one\":0,\"count\":296},\"backends.mod_roster.calls.get_roster_entry\":{\"one\":193,\"count\":433},\"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\":148}}}">>,
         15875,15091}
Params: #{body => <<>>,method => <<"GET">>,path => <<"/api/metrics/global/">>,
          port => 5288,return_headers => true,return_maps => true,
          role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-01-25 16:27:31.460 ***
REST request:
Code: 200
Req: {<0.12662.1>,<<"/api/metrics/global/nodeSessionCount">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"48a22826898f5dbc">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 25 Jan 2022 16:27:30 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"metric\":{\"value\":3}}">>,160,546}
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-01-25 16:27:31.477 ***
REST request:
Code: 200
Req: {<0.12664.1>,<<"/api/metrics/global/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"9922621d58dcd089">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 25 Jan 2022 16:27:30 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"15734">>}],
         <<"{\"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\":173173,\"99\":24719,\"95\":6719,\"90\":3923,\"75\":666,\"50\":351,\"n\":1073,\"min\":147,\"median\":351,\"mean\":2445,\"max\":173173},\"backends.mod_muc_light_db.calls.get_config\":{\"one\":0,\"count\":0},\"backends.mod_muc.calls.store_room\":{\"one\":122,\"count\":197},\"backends.mod_muc.calls.get_rooms\":{\"one\":0,\"count\":0},\"backends.mod_muc_light_db.calls.get_blocking\":{\"one\":20,\"count\":69},\"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\":46,\"99\":46,\"95\":18,\"90\":16,\"75\":10,\"50\":3,\"n\":43,\"min\":1,\"median\":3,\"mean\":6,\"max\":46},\"backends.mod_offline.calls.pop_messages\":{\"one\":0,\"count\":168},\"data.dist\":{\"send_pend\":0,\"send_oct\":6090046,\"send_max\":21164,\"send_cnt\":52280,\"recv_oct\":12197840,\"recv_max\":70429,\"recv_cnt\":30279,\"connections\":3},\"backends.mod_muc_light_db.modify_aff_users\":{\"999\":218,\"99\":218,\"95\":218,\"90\":218,\"75\":218,\"50\":200,\"n\":6,\"min\":193,\"median\":200,\"mean\":203,\"max\":218},\"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\":12,\"99\":12,\"95\":12,\"90\":11,\"75\":10,\"50\":9,\"n\":22,\"min\":4,\"median\":9,\"mean\":8,\"max\":12},\"backends.mod_pubsub_db.calls.get_subnodes_tree\":{\"one\":0,\"count\":9},\"backends.mod_muc_light_db.calls.get_aff_users\":{\"one\":60,\"count\":176},\"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\":12,\"99\":12,\"95\":11,\"90\":11,\"75\":10,\"50\":9,\"n\":34,\"min\":3,\"median\":9,\"mean\":8,\"max\":12},\"backends.mod_roster.roster_subscribe_t\":{\"999\":7529,\"99\":7209,\"95\":4985,\"90\":2631,\"75\":1197,\"50\":833,\"n\":64,\"min\":530,\"median\":833,\"mean\":1335,\"max\":7529},\"backends.mod_inbox.calls.reset_unread\":{\"one\":0,\"count\":54},\"backends.mod_roster.get_subscription_lists\":{\"999\":93187,\"99\":35616,\"95\":11738,\"90\":5823,\"75\":1720,\"50\":820,\"n\":674,\"min\":294,\"median\":820,\"mean\":3195,\"max\":93187},\"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\":0},\"backends.mod_muc.calls.forget_room\":{\"one\":0,\"count\":0},\"backends.mod_inbox.calls.set_inbox_incr_unread\":{\"one\":0,\"count\":179},\"backends.mod_last.calls.set_last_info\":{\"one\":0,\"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\":0,\"count\":98},\"backends.mod_roster.calls.get_subscription_lists\":{\"one\":1562,\"count\":3623},\"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\":158000,\"99\":47016,\"95\":24307,\"90\":13720,\"75\":5485,\"50\":2620,\"n\":386,\"min\":693,\"median\":2620,\"mean\":5591,\"max\":158000},\"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\":32},\"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\":0},\"backends.mod_inbox.calls.get_entry_properties\":{\"one\":0,\"count\":1},\"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\":100,\"count\":175},\"backends.mod_private.calls.multi_get_data\":{\"one\":0,\"count\":12},\"backends.mod_muc_light_db.calls.modify_aff_users\":{\"one\":4,\"count\":11},\"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\":300},\"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\":0},\"backends.mongoose_rdbms.execute\":{\"999\":121259,\"99\":39715,\"95\":14281,\"90\":8591,\"75\":2699,\"50\":1127,\"n\":4288,\"min\":197,\"median\":1127,\"mean\":4929,\"max\":211795},\"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\":264934},\"backends.mod_private.calls.multi_set_data\":{\"one\":0,\"count\":14},\"backends.mod_muc.store_room\":{\"999\":81498,\"99\":81498,\"95\":67547,\"90\":42866,\"75\":24139,\"50\":10802,\"n\":109,\"min\":3054,\"median\":10802,\"mean\":17722,\"max\":81498},\"backends.mod_pubsub_db.calls.add_item\":{\"one\":0,\"count\":13},\"erlang.memory\":{\"total\":147210584,\"system\":93704472,\"processes_used\":54507240,\"ets\":16185784,\"binary\":833472,\"atom_used\":1283274},\"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\":2560,\"port_limit\":65536,\"port_count\":55,\"ets_limit\":8192},\"backends.mod_muc_light_db.calls.create_room\":{\"one\":20,\"count\":56},\"backends.mod_pubsub_db.calls.del_items\":{\"one\":0,\"count\":13},\"tcpPortsUsed\":{\"value\":43},\"backends.mod_inbox.calls.set_inbox\":{\"one\":0,\"count\":112},\"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\":6},\"backends.mod_pubsub_db.get_own_nodes_states\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_pubsub_db.get_states_by_lus\":{\"999\":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\":2},\"backends.mod_last.calls.get_last\":{\"one\":0,\"count\":1},\"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\":41979,\"99\":41979,\"95\":9485,\"90\":4493,\"75\":2105,\"50\":1260,\"n\":103,\"min\":380,\"median\":1260,\"mean\":2692,\"max\":41979},\"backends.mod_muc.can_use_nick\":{\"999\":92068,\"99\":69310,\"95\":34855,\"90\":17618,\"75\":3450,\"50\":1048,\"n\":116,\"min\":358,\"median\":1048,\"mean\":5741,\"max\":92068},\"backends.mod_roster.calls.get_roster\":{\"one\":825,\"count\":1918},\"backends.mod_roster.write_roster_version\":{\"999\":0,\"99\":0,\"95\":0,\"90\":0,\"75\":0,\"50\":0,\"n\":0,\"min\":0,\"median\":0,\"mean\":0,\"max\":0},\"backends.mod_muc.calls.can_use_nick\":{\"one\":230,\"count\":402},\"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\":32},\"backends.mongoose_rdbms.calls.query\":{\"one\":4278,\"count\":9770},\"backends.mod_muc_light_db.calls.get_user_rooms\":{\"one\":0,\"count\":0},\"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\":250},\"backends.mod_inbox.calls.remove_inbox_row\":{\"one\":0,\"count\":5},\"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\":385,\"99\":256,\"95\":199,\"90\":184,\"75\":137,\"50\":117,\"n\":1800,\"min\":11,\"median\":117,\"mean\":113,\"max\":1460},\"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\":841,\"99\":762,\"95\":544,\"90\":437,\"75\":351,\"50\":241,\"n\":2139,\"min\":16,\"median\":241,\"mean\":278,\"max\":1092},\"backends.mod_muc_light_db.create_room\":{\"999\":318,\"99\":318,\"95\":318,\"90\":278,\"75\":226,\"50\":190,\"n\":22,\"min\":136,\"median\":190,\"mean\":197,\"max\":318},\"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\":117,\"count\":192},\"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\":355},\"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\":15706541,\"send_max\":44296,\"send_cnt\":59680,\"recv_oct\":7150658,\"recv_max\":12872,\"recv_cnt\":59680},\"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\":20996,\"count\":49505},\"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\":0},\"backends.mod_inbox.calls.get_inbox\":{\"one\":0,\"count\":296},\"backends.mod_roster.calls.get_roster_entry\":{\"one\":193,\"count\":433},\"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\":148}}}">>,
         15875,15685}
Params: #{body => <<>>,method => <<"GET">>,path => <<"/api/metrics/global/">>,
          port => 5288,return_headers => true,return_maps => true,
          role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-01-25 16:27:31.478 ***
bOb@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:27:31.478 ***
bOb@localhost/res1 in
</stream:stream>

*** User 2022-01-25 16:27:31.478 ***
alicE@localhost/res2 out
</stream:stream>

*** User 2022-01-25 16:27:31.479 ***
alicE@localhost/res2 in
</stream:stream>

*** User 2022-01-25 16:27:31.479 ***
alicE@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:27:31.479 ***
alicE@localhost/res1 in
</stream:stream>
*** CT 2022-01-25 16:27:31.482 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_576.html
*** CT 2022-01-25 16:27:31.483 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1818.html



=== Ended at 2022-01-25 16:27:31
=== successfully completed test case
=== === Returned value: ok


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