Skip to content

Commit bb0fc47

Browse files
Improve requirements in pkg/proxysql/README.md (#135)
* Improve pkg/proxysql/README.md * Improve pkg/proxysql/README.md #2
1 parent 9db78e2 commit bb0fc47

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

pkg/proxysql/README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,11 @@ All other statuses are considered unhealthy and therefore are ignored by freno,
1414
1. `OFFLINE_HARD` - a server that is completely offline
1515

1616
## Requirements
17-
1. The ProxySQL `--no-monitor` flag is not set
17+
1. The ProxySQL admin port is reachable to Freno
18+
1. The ProxySQL global variable [admin-stats_credentials](https://github.com/sysown/proxysql/wiki/Global-variables#admin-stats_credentials) is defined
19+
- `ProxySQLUser` in `MySQLConfigurationSettings` (global) or `User` in `ProxySQLConfigurationSettings` (per-cluster) must be equal to `admin-stats_credentials`
20+
- `ProxySQLPassword` in `MySQLConfigurationSettings` (global) or `Password` in `ProxySQLConfigurationSettings` (per-cluster) must be equal to `admin-stats_credentials`
1821
1. The [ProxySQL monitor module](https://github.com/sysown/proxysql/wiki/Monitor-Module) is enabled, eg: [`mysql-monitor_enabled`](https://github.com/sysown/proxysql/wiki/Global-variables#mysql-monitor_enabled) is `true`
22+
- The ProxySQL `--no-monitor` daemon flag cannot be set
1923
1. The `max_replication_lag` column is defined for backend servers in [the `mysql_servers` admin table](https://github.com/sysown/proxysql/wiki/Main-(runtime)#mysql_servers)
20-
- This ensures servers with lag do not receive reads but are still probed by freno
21-
24+
- This ensures reads do not receive stale data but lagging nodes are still probed

0 commit comments

Comments
 (0)