proxysql 開啓http監控頁面的方法

官方文檔地址: https://proxysql.com/blog/proxysql-http-server-initial-release



SET admin-web_enabled='true';

LOAD ADMIN VARIABLES TO RUNTIME;

SAVE ADMIN VARIABLES TO DISK ;


> select * from global_variables where Variable_name like '%stats%';

+-----------------------------------+----------------+

| variable_name                     | variable_value |

+-----------------------------------+----------------+

| admin-stats_credentials           | stats:stats    |

| admin-stats_mysql_connections     | 60             |

| admin-stats_mysql_connection_pool | 60             |

| admin-stats_mysql_query_cache     | 60             |

| admin-stats_system_cpu            | 60             |

| admin-stats_system_memory         | 60             |

| admin-telnet_stats_ifaces         | (null)         |

| mysql-servers_stats               | true           |

| mysql-stats_time_backend_query    | false          |

| mysql-stats_time_query_processor  | false          |

| mysql-commands_stats              | true           |

+-----------------------------------+----------------+

11 rows in set (0.00 sec)


http://x.x.x.x:6080/ 

賬號 密碼都是 stats

這個頁面只能供查看,不能修改proxysql的運行配置。


image.png



發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章