diff options
author | Ilya Mashchenko <ilya@netdata.cloud> | 2019-10-03 19:14:01 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-03 19:14:01 +0300 |
commit | bfae683664b488df91940a81760459db2b18983c (patch) | |
tree | 28b6645745387ec49d264c15aac90dcbfabaf59c /web | |
parent | f000b41f1088328ebb5cd07f15cc9ef1276eb641 (diff) |
mysql: collect galera cluster metrics (#6962)
* mysql: collect galera cluster metrics
* mysql: readme update
* mysql: add galera cluster size and state alarms
Diffstat (limited to 'web')
-rw-r--r-- | web/gui/dashboard_info.js | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/web/gui/dashboard_info.js b/web/gui/dashboard_info.js index c277bbdd3a..774577a04a 100644 --- a/web/gui/dashboard_info.js +++ b/web/gui/dashboard_info.js @@ -1260,6 +1260,39 @@ netdataDashboard.context = { info: 'A deadlock happens when two or more transactions mutually hold and request for locks, creating a cycle of dependencies. For more information about <a href="https://dev.mysql.com/doc/refman/5.7/en/innodb-deadlocks-handling.html" target="_blank">how to minimize and handle deadlocks</a>.' }, + 'mysql.galera_cluster_status': { + info: + '<code>-1</code>: unknown, ' + + '<code>0</code>: primary (primary group configuration, quorum present), ' + + '<code>1</code>: non-primary (non-primary group configuration, quorum lost), ' + + '<code>2</code>: disconnected(not connected to group, retrying).' + }, + + 'mysql.galera_cluster_state': { + info: + '<code>0</code>: undefined, ' + + '<code>1</code>: joining, ' + + '<code>2</code>: donor/desynced, ' + + '<code>3</code>: joined, ' + + '<code>4</code>: synced.' + }, + + 'mysql.galera_cluster_weight': { + info: 'The value is counted as a sum of <code>pc.weight</code> of the nodes in the current Primary Component.' + }, + + 'mysql.galera_connected': { + info: '<code>0</code> means that the node has not yet connected to any of the cluster components. ' + + 'This may be due to misconfiguration.' + }, + + 'mysql.open_transactions': { + info: 'The number of locally running transactions which have been registered inside the wsrep provider. ' + + 'This means transactions which have made operations which have caused write set population to happen. ' + + 'Transactions which are read only are not counted.' + }, + + // ------------------------------------------------------------------------ // POSTGRESQL |