-
Type:
New Feature
-
Status: Done
-
Priority:
High
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2.2.0
-
Component/s: None
-
Labels:None
-
Story Points:5
-
Sprint:Platform Sprint 2, Platform Sprint 3, Platform Sprint 4
-
Needs Review:Yes
-
Needs QA:Yes
-
Needs Packaging:No
-
Needs Doc:Yes
Help text and outputs should be more user-friendly.
Current help text:
$ pmm-admin add mysql --help usage: pmm-admin add mysql [<flags>] [<name>] [<address>] […] --disable-tablestats Disable table statistics collection --disable-tablestats-limit=DISABLE-TABLESTATS-LIMIT Table statistics collection will be disabled if there are more than specified number of tables (default: server-defined) […]
Currently possible outputs:
MySQL Service added. Service ID : /service_id/1 Service name: mysql-1 Table statistics collection enabled (the limit is 1000, the actual table count is 500).
MySQL Service added. Service ID : /service_id/1 Service name: mysql-1 Table statistics collection enabled (the table count limit is not set).
MySQL Service added. Service ID : /service_id/1 Service name: mysql-1 Table statistics collection enabled (the limit is 1000, the actual table count is unknown).
MySQL Service added. Service ID : /service_id/1 Service name: mysql-1 Table statistics collection disabled (the limit is 1000, the actual table count is 2000).
MySQL Service added. Service ID : /service_id/1 Service name: mysql-1 Table statistics collection disabled (always).