Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix small documentation issues #3303

Merged
merged 7 commits into from
Sep 28, 2021
Merged

Fix small documentation issues #3303

merged 7 commits into from
Sep 28, 2021

Conversation

gustawlippa
Copy link
Contributor

@gustawlippa gustawlippa commented Sep 24, 2021

This PR addresses removes duplicates from docs, removes Tide mentions for now, adds links to mod_inbox and removes @HOSTS@ mentions.

@gustawlippa gustawlippa marked this pull request as ready for review September 28, 2021 08:25
doc/Contributions.md Outdated Show resolved Hide resolved
We have our own load testing infrastructure, called Tide, which is triggered after every successful test run, and gives us a feedback on changes to MongooseIM performance.

Test results are publicly available on the [Hello Tide!](http://tide.erlang-solutions.com/public) page.
We use [amoc](https://github.com/esl/amoc) and [amoc-arsenal-xmpp](https://github.com/esl/amoc-arsenal-xmpp/) to perform tests that give us a feedback on changes to MongooseIM performance.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe need highlight MongooseIM maybe MongooseIM or MongooseIM

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think that's a convention used anywhere in the docs regarding the name MongooseIM - is it really needed?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose it's make sense to highlight MongooseIM, but up to you, this is not a critical issue, this is just proposing.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I must admit I'm not a fan of it - "MongooseIM" is already capitalised, and it is the name of the program the documentation is about, no real need to highlight it there any more. If we had some different font for the name that we used everywhere, or something like a different way of writing the name then I would be more for it.
Maybe we can think about this change in the context of some other PR, as it would probably entail changing "MongooseIM" throughout the docs.

@@ -64,7 +64,7 @@ MongooseIM gathers over 50 different XMPP-related metrics, allowing close monito

Erlang Solutions also provides [WombatOAM](https://www.erlang-solutions.com/products/wombat-oam.html), an Erlang VM monitoring solution, that enables ops and devs to better understand what going on in a MongooseIM cluster.

For load testing consider [Tide](http://tide.erlang-solutions.com/), another Erlang Solutions' tool that enables devs and ops to validate their scalability, given the clients scenarios.
For load testing we use [our own tools](../Contributions.md#amoc), that enable us to validate MongooseIM's scalability, given different scenarios.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe need highlight MongooseIM maybe MongooseIM or MongooseIM

Copy link
Contributor

@vkatsuba vkatsuba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, make sure that the last commit will be without prefix [skip ci] to check build documentation CI.

@mongoose-im
Copy link
Collaborator

mongoose-im commented Sep 28, 2021

small_tests_24 / small_tests / b2a117c
Reports root / small


internal_mnesia_24 / internal_mnesia / b2a117c
Reports root/ big
OK: 1589 / Failed: 0 / User-skipped: 293 / Auto-skipped: 0


small_tests_23 / small_tests / b2a117c
Reports root / small


dynamic_domains_24 / pgsql_mnesia / b2a117c
Reports root/ big
OK: 2698 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


ldap_mnesia_24 / ldap_mnesia / b2a117c
Reports root/ big
OK: 1486 / Failed: 0 / User-skipped: 396 / Auto-skipped: 0


ldap_mnesia_23 / ldap_mnesia / b2a117c
Reports root/ big
OK: 1486 / Failed: 0 / User-skipped: 396 / Auto-skipped: 0


dynamic_domains_23 / pgsql_mnesia / b2a117c
Reports root/ big
OK: 2698 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


pgsql_mnesia_24 / pgsql_mnesia / b2a117c
Reports root/ big
OK: 3067 / Failed: 0 / User-skipped: 211 / Auto-skipped: 0


mysql_redis_24 / mysql_redis / b2a117c
Reports root/ big
OK: 3056 / Failed: 1 / User-skipped: 228 / Auto-skipped: 0

mam_SUITE:rdbms_cache_prefs_cases:messages_filtered_when_prefs_default_policy_is_never
{error,{test_case_failed,"ASSERT EQUAL\n\tExpected []\n\tValue [ok]\n"}}

Report log


elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / b2a117c
Reports root/ big
OK: 1862 / Failed: 0 / User-skipped: 319 / Auto-skipped: 0


pgsql_mnesia_23 / pgsql_mnesia / b2a117c
Reports root/ big
OK: 3067 / Failed: 0 / User-skipped: 211 / Auto-skipped: 0


mssql_mnesia_24 / odbc_mssql_mnesia / b2a117c
Reports root/ big
OK: 3067 / Failed: 0 / User-skipped: 211 / Auto-skipped: 0


riak_mnesia_24 / riak_mnesia / b2a117c
Reports root/ big
OK: 1709 / Failed: 0 / User-skipped: 322 / Auto-skipped: 0

@codecov
Copy link

codecov bot commented Sep 28, 2021

Codecov Report

Merging #3303 (55f0dc3) into master (8b8c294) will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3303      +/-   ##
==========================================
+ Coverage   80.19%   80.20%   +0.01%     
==========================================
  Files         398      398              
  Lines       32584    32584              
==========================================
+ Hits        26130    26134       +4     
+ Misses       6454     6450       -4     
Impacted Files Coverage Δ
src/domain/mongoose_domain_sql.erl 82.85% <0.00%> (-2.86%) ⬇️
src/domain/mongoose_domain_loader.erl 77.35% <0.00%> (-1.89%) ⬇️
src/admin_extra/service_admin_extra_gdpr.erl 94.82% <0.00%> (-1.73%) ⬇️
src/mam/mod_mam.erl 88.33% <0.00%> (-0.84%) ⬇️
src/ejabberd_sm.erl 84.26% <0.00%> (-0.33%) ⬇️
src/mod_muc_room.erl 77.12% <0.00%> (-0.06%) ⬇️
src/mod_muc_log.erl 77.88% <0.00%> (ø)
src/pubsub/mod_pubsub_db_mnesia.erl 92.85% <0.00%> (+0.42%) ⬆️
src/metrics/mongoose_metrics.erl 96.10% <0.00%> (+0.64%) ⬆️
src/rdbms/mongoose_rdbms.erl 61.69% <0.00%> (+0.80%) ⬆️
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8b8c294...55f0dc3. Read the comment docs.

@mongoose-im
Copy link
Collaborator

mongoose-im commented Sep 28, 2021

small_tests_24 / small_tests / c0e566f
Reports root / small


internal_mnesia_24 / internal_mnesia / c0e566f
Reports root/ big
OK: 1589 / Failed: 0 / User-skipped: 293 / Auto-skipped: 0


small_tests_23 / small_tests / c0e566f
Reports root / small


dynamic_domains_24 / pgsql_mnesia / c0e566f
Reports root/ big
OK: 2698 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


dynamic_domains_23 / pgsql_mnesia / c0e566f
Reports root/ big
OK: 2698 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


ldap_mnesia_24 / ldap_mnesia / c0e566f
Reports root/ big
OK: 1486 / Failed: 0 / User-skipped: 396 / Auto-skipped: 0


ldap_mnesia_23 / ldap_mnesia / c0e566f
Reports root/ big
OK: 1486 / Failed: 0 / User-skipped: 396 / Auto-skipped: 0


pgsql_mnesia_24 / pgsql_mnesia / c0e566f
Reports root/ big
OK: 3067 / Failed: 0 / User-skipped: 211 / Auto-skipped: 0


elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / c0e566f
Reports root/ big
OK: 1862 / Failed: 0 / User-skipped: 319 / Auto-skipped: 0


mssql_mnesia_24 / odbc_mssql_mnesia / c0e566f
Reports root/ big
OK: 3067 / Failed: 0 / User-skipped: 211 / Auto-skipped: 0


pgsql_mnesia_23 / pgsql_mnesia / c0e566f
Reports root/ big
OK: 3067 / Failed: 0 / User-skipped: 211 / Auto-skipped: 0


mysql_redis_24 / mysql_redis / c0e566f
Reports root/ big
OK: 3056 / Failed: 1 / User-skipped: 228 / Auto-skipped: 0

mam_SUITE:rdbms_async_cache_prefs_cases:messages_filtered_when_prefs_default_policy_is_roster
{error,{test_case_failed,"ASSERT EQUAL\n\tExpected []\n\tValue [ok]\n"}}

Report log


riak_mnesia_24 / riak_mnesia / c0e566f
Reports root/ big
OK: 1709 / Failed: 0 / User-skipped: 322 / Auto-skipped: 0

@mongoose-im
Copy link
Collaborator

mongoose-im commented Sep 28, 2021

small_tests_24 / small_tests / 55f0dc3
Reports root / small


internal_mnesia_24 / internal_mnesia / 55f0dc3
Reports root/ big
OK: 1589 / Failed: 0 / User-skipped: 293 / Auto-skipped: 0


small_tests_23 / small_tests / 55f0dc3
Reports root / small


ldap_mnesia_24 / ldap_mnesia / 55f0dc3
Reports root/ big
OK: 1486 / Failed: 0 / User-skipped: 396 / Auto-skipped: 0


dynamic_domains_24 / pgsql_mnesia / 55f0dc3
Reports root/ big
OK: 2698 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


dynamic_domains_23 / pgsql_mnesia / 55f0dc3
Reports root/ big
OK: 2698 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / 55f0dc3
Reports root/ big
OK: 1862 / Failed: 0 / User-skipped: 319 / Auto-skipped: 0


ldap_mnesia_23 / ldap_mnesia / 55f0dc3
Reports root/ big
OK: 1486 / Failed: 0 / User-skipped: 396 / Auto-skipped: 0


mysql_redis_24 / mysql_redis / 55f0dc3
Reports root/ big
OK: 3050 / Failed: 0 / User-skipped: 228 / Auto-skipped: 0


pgsql_mnesia_23 / pgsql_mnesia / 55f0dc3
Reports root/ big
OK: 3067 / Failed: 0 / User-skipped: 211 / Auto-skipped: 0


mssql_mnesia_24 / odbc_mssql_mnesia / 55f0dc3
Reports root/ big
OK: 3077 / Failed: 2 / User-skipped: 211 / Auto-skipped: 0

carboncopy_SUITE:all:prop_forward_received_chat_messages
{error,
  {{assertEqual,
     [{module,carboncopy_SUITE},
      {line,278},
      {expression,
        "proper : quickcheck ( proper : conjunction ( [ { PropName , Property } ] ) , [ verbose , long_result , { numtests , 3 } ] )"},
      {expected,true},
      {value,
        [[{forward_received,
          [{5,<<"Now, fair Hippolyta, our nuptial hour">>}]}]]}]},
   [{carboncopy_SUITE,run_prop,2,
      [{file,"/home/circleci/app/big_tests/tests/carboncopy_SUITE.erl"},
       {line,278}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1292}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1224}]}]}}

Report log

carboncopy_SUITE:all:prop_forward_sent_chat_messages
{error,
  {{assertEqual,
     [{module,carboncopy_SUITE},
      {line,278},
      {expression,
        "proper : quickcheck ( proper : conjunction ( [ { PropName , Property } ] ) , [ verbose , long_result , { numtests , 3 } ] )"},
      {expected,true},
      {value,
        [[{forward_sent,
          [{5,<<"Now, fair Hippolyta, our nuptial hour">>}]}]]}]},
   [{carboncopy_SUITE,run_prop,2,
      [{file,"/home/circleci/app/big_tests/tests/carboncopy_SUITE.erl"},
       {line,278}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1292}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1224}]}]}}

Report log


riak_mnesia_24 / riak_mnesia / 55f0dc3
Reports root/ big
OK: 1709 / Failed: 0 / User-skipped: 322 / Auto-skipped: 0


small_tests_23 / small_tests / 55f0dc3
Reports root / small


pgsql_mnesia_24 / pgsql_mnesia / 55f0dc3
Reports root/ big
OK: 3067 / Failed: 0 / User-skipped: 211 / Auto-skipped: 0

@vkatsuba vkatsuba merged commit 818530a into master Sep 28, 2021
@vkatsuba vkatsuba deleted the doc-update branch September 28, 2021 10:59
@vkatsuba vkatsuba mentioned this pull request Sep 28, 2021
Copy link
Member

@chrzaszcz chrzaszcz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@Premwoik Premwoik added this to the 5.0.0 milestone Oct 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants