Skip to content

Commit

Permalink
feat - proxysql add SHUNNED on const status.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicola Strappazzon C committed Aug 16, 2023
1 parent 0907648 commit 1f5a8d6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions proxysql/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const (
ONLINE = "ONLINE"
OFFLINE_SOFT = "OFFLINE_SOFT"
OFFLINE_HARD = "OFFLINE_HARD"
SHUNNED = "SHUNNED"
)

type ProxySQL struct {
Expand Down Expand Up @@ -119,3 +120,6 @@ func (p *ProxySQL) LoadServers() {
func (p *ProxySQL) SaveServers() {
p.Connection.Query("SAVE MYSQL SERVERS TO DISK;")
}

// stats_mysql_connection_pool_reset
// hostgroup, srv_host, srv_port, status, ConnUsed, ConnFree, ConnOK, ConnERR, MaxConnUsed, Queries, Queries_GTID_sync, Bytes_data_sent, Bytes_data_recv, Latency_us

0 comments on commit 1f5a8d6

Please sign in to comment.