shatteredsilicon / ssm-submodules

GNU Affero General Public License v3.0
0 stars 2 forks source link

ssm-admin add mysql doesn't properly enable tablestats when it should #155

Closed gordan-bobic closed 1 year ago

gordan-bobic commented 1 year ago

It looks like:

ssm-admin add mysql --disable-tablestats-limit=65535 ...

doesn't result in info_schema.tablestats in config being set to 1, even though there is only about 2500 tables in there (more than the default limit of 1000, but less than the limit specified.

Additionally, even when manually enabled in the config file and with the exporter service restarted, the table statistics dashboard still doesn't populate, including the userstats section (which is enabled in both config and in the database). This used to work so it may be a regression.