@cryptotaxi247 / netdata-1 / commits / 1efd43ae6

docs(go.d/proxysql): add alerts to metadata.yaml (#21565)

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

Ilya Mashchenko committed Jan 15, 2026 at 13:09 UTC 1efd43ae62ae65c7c4edb151c300c193038133a9
2 files changed +17 -5
src/go/plugin/go.d/collector/proxysql/metadata.yaml
+13 -1
@@ -110,7 +110,19 @@ modules:
110 troubleshooting:
111 problems:
112 list: []
113 - alerts: []
113 + alerts:
114 + - name: proxysql_hostgroup_no_online_backends
115 + metric: proxysql.hostgroup_backends_status
116 + info: ProxySQL hostgroup ${label:hostgroup} has no ONLINE backends
117 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/proxysql.conf
118 + - name: proxysql_backend_shunned
119 + metric: proxysql.backend_status
120 + info: ProxySQL backend SHUNNED (${label:host}:${label:port} hostgroup ${label:hostgroup})
121 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/proxysql.conf
122 + - name: proxysql_backend_offline_hard
123 + metric: proxysql.backend_status
124 + info: ProxySQL backend OFFLINE_HARD (${label:host}:${label:port} hostgroup ${label:hostgroup})
125 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/proxysql.conf
126 metrics:
127 folding:
128 title: Metrics
src/health/health.d/proxysql.conf
+4 -4
@@ -22,8 +22,8 @@ component: ProxySQL
22 units: status
23 every: 10s
24 crit: $this == 1
25 - summary: ProxySQL backend SHUNNED (${label:host}:${label:port})
26 - info: ProxySQL backend ${label:host}:${label:port} is SHUNNED (temporarily out of use due to too many connection errors in a short time or replication lag exceeding the allowed threshold)
25 + summary: ProxySQL backend SHUNNED (${label:host}:${label:port} hostgroup ${label:hostgroup})
26 + info: ProxySQL backend ${label:host}:${label:port} in hostgroup ${label:hostgroup} is SHUNNED (temporarily out of use due to too many connection errors in a short time or replication lag exceeding the allowed threshold)
27 to: dba
28
29 template: proxysql_backend_offline_hard
@@ -35,6 +35,6 @@ component: ProxySQL
35 units: status
36 every: 10s
37 warn: $this == 1
38 - summary: ProxySQL backend OFFLINE_HARD (${label:host}:${label:port})
39 - info: ProxySQL backend ${label:host}:${label:port} is in OFFLINE_HARD mode. Backend is effectively removed from the hostgroup and no longer serves traffic.
38 + summary: ProxySQL backend OFFLINE_HARD (${label:host}:${label:port} hostgroup ${label:hostgroup})
39 + info: ProxySQL backend ${label:host}:${label:port} in hostgroup ${label:hostgroup} is in OFFLINE_HARD mode. Backend is effectively removed from the hostgroup and no longer serves traffic.
40 to: dba