From 1958347df812ec8f056956b243798a48361c7fd3 Mon Sep 17 00:00:00 2001 From: Ricardo F Date: Wed, 15 Nov 2017 12:45:51 +0100 Subject: [PATCH] Use better https://github.com/percona/grafana-dashboards --- prometheus/mysql-full.json | 7526 ------------------------------------ 1 file changed, 7526 deletions(-) delete mode 100644 prometheus/mysql-full.json diff --git a/prometheus/mysql-full.json b/prometheus/mysql-full.json deleted file mode 100644 index 7fc615e..0000000 --- a/prometheus/mysql-full.json +++ /dev/null @@ -1,7526 +0,0 @@ -{ - "__inputs": [ - { - "name": "DS_LOCALHOST", - "label": "localhost", - "description": "", - "type": "datasource", - "pluginId": "prometheus", - "pluginName": "Prometheus" - } - ], - "__requires": [ - { - "type": "grafana", - "id": "grafana", - "name": "Grafana", - "version": "4.4.3" - }, - { - "type": "panel", - "id": "graph", - "name": "Graph", - "version": "" - }, - { - "type": "datasource", - "id": "prometheus", - "name": "Prometheus", - "version": "1.0.0" - }, - { - "type": "panel", - "id": "singlestat", - "name": "Singlestat", - "version": "" - } - ], - "annotations": { - "list": [] - }, - "editable": true, - "gnetId": null, - "graphTooltip": 0, - "hideControls": false, - "id": null, - "links": [], - "refresh": false, - "rows": [ - { - "collapse": false, - "height": 109, - "panels": [ - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "Whether the MySQL server is up", - "fill": 5, - "id": 5, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "rightSide": false, - "show": false, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "mysql_up{instance=~\"$node:$port\"}", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Mysql Up", - "refId": "A", - "step": 1200 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Mysql Up", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "none", - "label": null, - "logBase": 1, - "max": "1", - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": false, - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "datasource": "${DS_LOCALHOST}", - "decimals": 1, - "format": "s", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "id": 80, - "interval": null, - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "postfix": "s", - "postfixFontSize": "70%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "span": 2, - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": false - }, - "tableColumn": "", - "targets": [ - { - "expr": "mysql_global_status_uptime{instance=~\"$node:$port\"}", - "format": "time_series", - "intervalFactor": 2, - "refId": "A", - "step": 14400 - } - ], - "thresholds": "", - "title": "Uptime", - "type": "singlestat", - "valueFontSize": "70%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "avg" - } - ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Status", - "titleSize": "h6" - }, - { - "collapse": false, - "height": 495, - "panels": [ - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "The MySQL Command Counters graph shows counters for various MySQL commands. These are derived from the Com_ counters from SHOW STATUS. If there is a change in the graph, it indicates that something changed in the application.", - "fill": 1, - "id": 44, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_commands_total{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "{{ command }}", - "refId": "A", - "step": 1800 - }, - { - "expr": "irate(mysql_global_status_questions{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "questions", - "refId": "B", - "step": 1800 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "InnoDB Command Counters", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Commands", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "The MySQL Network Traffic graph shows network traffic to and from the MySQL Server, in bytes.", - "fill": 1, - "id": 48, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "/.*sent.*/", - "transform": "negative-Y" - } - ], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_bytes_sent{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Bytes sent -", - "refId": "A", - "step": 1800 - }, - { - "expr": "irate(mysql_global_status_bytes_received{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Bytes received -", - "refId": "B", - "step": 1800 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Global Network Traffic", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "bytes", - "label": "Bytes", - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "The MySQL Threads graph shows the size of thread cache the server is configured with and the number of threads of each type. On this example we can observe that once thread_cache_size was set to 10, MySQL stopped creating new threads and started using the cached ones.", - "fill": 0, - "id": 56, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "Thread cache size -", - "fill": 1 - } - ], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "mysql_global_variables_thread_cache_size{instance=~\"$node:$port\"}", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Thread cache size -", - "refId": "A", - "step": 1800 - }, - { - "expr": "irate(mysql_global_status_threads_connected{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Threads connected -", - "refId": "B", - "step": 1800 - }, - { - "expr": "irate(mysql_global_status_threads_running{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Threads running -", - "refId": "C", - "step": 1800 - }, - { - "expr": "irate(mysql_global_status_threads_created{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Threads created -", - "refId": "D", - "step": 1800 - }, - { - "expr": "irate(mysql_global_status_threads_cached{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Threads cached -", - "refId": "E", - "step": 1800 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Global Threads", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Counter", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "The MySQL Table Locks graph shows information about table-level lock operations inside MySQL: locks waited, locks granted without waiting, and slow queries. Locks that have to wait are generally caused by MyISAM tables. Even InnoDB tables will cause locks to be acquired, but they will generally be released right away and no waiting will occur.", - "fill": 1, - "id": 54, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_table_locks_immediate{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Table locks immediate - Number of table locks which were completed immediately", - "refId": "A", - "step": 1800 - }, - { - "expr": "irate(mysql_global_status_table_locks_waited{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Table locks waited - Number of table locks which had to wait. Indicates table lock contention", - "refId": "B", - "step": 1800 - }, - { - "expr": "irate(mysql_global_status_innodb_deadlocks{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Deadlocks - Total number of InnoDB deadlocks. Deadlocks occur when at least two transactions are waiting for the other to finish, creating a circular dependency. InnoDB usually detects these quickly, returning an error", - "refId": "D", - "step": 1800 - }, - { - "expr": "irate(mysql_global_status_slow_queries{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Slow queries - Number of queries which took longer than long_query_time to run", - "metric": "", - "refId": "C", - "step": 1800 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Global Table Locks and Slow Queries", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Counter", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "", - "fill": 0, - "id": 23, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "Connection attempts (both successful and unsuccessful)", - "fill": 1 - } - ], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_connections{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Connection attempts (both successful and unsuccessful)", - "refId": "A", - "step": 1800 - }, - { - "expr": "irate(mysql_global_status_aborted_clients{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Aborted clientes - Connections that were aborted because the client died without closing the connection properly", - "refId": "B", - "step": 1800 - }, - { - "expr": "irate(mysql_global_status_aborted_connects{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Aborted connects - Failed attempts to connect to the MySQL server", - "refId": "C", - "step": 1800 - }, - { - "expr": "irate(mysql_global_status_connection_errors_total{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Error {{ error }} -", - "refId": "E", - "step": 1800 - }, - { - "expr": "irate(mysql_global_status_access_denied_errors{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Access denied - Access denied errors", - "refId": "D", - "step": 1800 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Global Connections State", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Counter", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "The MySQL Connections graph shows information about the connection parameters and counters inside MySQL: connections permitted, connections used, connections aborted, clients aborted, current connections, and connections created. Probably the most interesting are the aborted clients and connections, which might indicate a malfunctioning application that disconnects ungracefully, an idle connection timing out, network problems, bad authentication attempts, or similar.", - "fill": 1, - "id": 45, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "mysql_global_variables_max_connections{instance=~\"$node:$port\"}", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Max connections", - "refId": "A", - "step": 1800 - }, - { - "expr": "mysql_global_status_max_used_connections{instance=~\"$node:$port\"}", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Max used connections", - "refId": "B", - "step": 1800 - }, - { - "expr": "mysql_global_status_aborted_clients{instance=~\"$node:$port\"}", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Aborted clients", - "refId": "C", - "step": 1800 - }, - { - "expr": "mysql_global_status_aborted_connects{instance=~\"$node:$port\"}", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Aborted connects", - "refId": "D", - "step": 1800 - }, - { - "expr": "mysql_global_status_threads_connected{instance=~\"$node:$port\"}", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Threads connected", - "refId": "E", - "step": 1800 - }, - { - "expr": "mysql_global_status_connections{instance=~\"$node:$port\"}", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Connections", - "refId": "F", - "step": 1800 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Global Connections Info", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Connections", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - } - ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Basic", - "titleSize": "h6" - }, - { - "collapse": true, - "height": 468, - "panels": [ - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "The InnoDB I/O Activity graph shows InnoDB’s I/O activity: file reads and writes, log writes, and fsync() calls. This might help diagnose the source of I/O activity on the system. Some of this can be influenced with InnoDB settings, especially innodb_flush_log_at_trx_commit.", - "fill": 1, - "id": 26, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "/.*reads.*/", - "transform": "negative-Y" - }, - { - "alias": "/.*Log fsyncs.*/", - "fill": 0 - } - ], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_innodb_os_log_fsyncs{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Log fsyncs - Number of InnoDB log fsync (sync-to-disk) requests", - "refId": "A", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_innodb_os_log_written{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Log written - Number of bytes written to the InnoDB log", - "refId": "B", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_innodb_data_reads{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "File reads - Number of InnoDB read operations (not to be confused with Innodb_data_read).", - "refId": "C", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_innodb_data_writes{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "File writes - Number of InnoDB write operations", - "refId": "D", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "InnoDB I/O", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Counter reads (-) / writes (+)", - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "The InnoDB Insert Buffer graph shows information about InnoDB’s insert buffer: inserts, merge operations, and merged records. This is not generally actionable, because the insert buffer is not user-configurable in standard MySQL. However, you can use it to diagnose certain kinds of performance problems, such as furious disk activity after you stop the server from processing queries, or during particular types of queries that force the insert buffer to be merged into the indexes. (The insert buffer is sort of a delayed way of updating non-unique secondary indexes.) If the insert buffer is causing problems, check the configuration parameters for the buffer", - "fill": 1, - "id": 32, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "/.*deletes.*/", - "transform": "negative-Y" - } - ], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_innodb_ibuf_discarded_deletes{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Discarded deletes -", - "refId": "A", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_innodb_ibuf_discarded_inserts{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Discarded inserts -", - "refId": "B", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_innodb_ibuf_merged_deletes{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Merged deletes -", - "refId": "C", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_innodb_ibuf_merged_inserts{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Merged inserts -", - "refId": "D", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_innodb_ibuf_merges{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Merges -", - "refId": "E", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "InnoDB Insert Buffer", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Counter deletes (-) / inserts (+)", - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "The InnoDB Internal Memory Usage graph shows how much memory InnoDB uses for the internal structures. These structures are generally not configurable. However, you might use it to diagnose some kinds of performance problems, such as much greater than expected memory usage. In standard InnoDB, the internal data dictionary tends to consume large amounts of memory when you have many tables, for example.", - "fill": 1, - "id": 34, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_innodb_mem_adaptive_hash{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Adaptive hash memory - ", - "refId": "A", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_innodb_mem_dictionary{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Mem dictionary -", - "refId": "B", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_innodb_mem_total{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Mem total -", - "refId": "C", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "InnoDB Internal Memory Usage", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Counter", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "The InnoDB I/O Pending graph shows InnoDB’s pending synchronous and asynchronous I/O operations in various parts of the engine. Pending I/O is not ideal; ideally you’d like InnoDB’s background thread(s) to keep up with writes, and you’d like the buffer pool large enough that reads are not an issue. If you see a lot of pending I/O, you might need more RAM, a bigger buffer pool (or use O_DIRECT to avoid double-buffering), or a faster disk subsystem.", - "fill": 1, - "id": 35, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "/.*reads.*/", - "transform": "negative-Y" - }, - { - "alias": "/.*fsyncs.*/", - "fill": 0 - } - ], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_innodb_os_log_pending_fsyncs{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Log pending fsyncs - Number of pending InnoDB log fsync (sync-to-disk) requests", - "refId": "A", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_innodb_os_log_pending_writes{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Log pending writes - Number of pending InnoDB log writes", - "refId": "B", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_innodb_data_pending_fsyncs{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Data pending fsyncs - Number of pending InnoDB fsync (sync-to-disk) calls. fsync call frequency can be influenced by the innodb_flush_method configuration option", - "refId": "C", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_innodb_data_pending_reads{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Data pending reads - Number of pending InnoDB reads", - "refId": "D", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_innodb_data_pending_writes{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Data pending writes - Number of pending InnoDB writes", - "refId": "E", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "InnoDB I/O Pending", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Counter reads (-) / writes (+)", - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "The InnoDB Log Activity graph shows InnoDB log activity: the log buffer size and bytes written. If transactions need to write to the log buffer and it’s either not big enough or is currently being flushed, they’ll stall.", - "fill": 1, - "id": 37, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_variables_innodb_log_buffer_size{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Innodb log buffer size - Size in bytes of the buffer for writing log files to disk.", - "refId": "A", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_innodb_data_written{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Log bytes written - Number of InnoDB bytes written ", - "refId": "B", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "InnoDB Log Bytes", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "bytes", - "label": "Bytes", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "", - "fill": 1, - "id": 85, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_innodb_data_fsyncs{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Log fsyncs - Number of InnoDB fsync (sync-to-disk) calls", - "refId": "C", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_innodb_log_waits{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Log waits - Number of times InnoDB was forced to wait for log writes to be flushed due to the log buffer being too small", - "refId": "D", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_innodb_log_write_requests{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Log write requests - Number of requests to write to the InnoDB redo log", - "refId": "E", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_innodb_log_writes{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Log writes - Number of writes to the InnoDB redo log", - "refId": "F", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "InnoDB Log Calls", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Calls", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "The MySQL Handlers graph shows the various Handler counters, which record how many operations MySQL has done through the storage engine API. Changes in indexing will probably show up clearly here: a query that used to do a table scan but now has a good index to use will cause different Handler calls to be used, for example. If you see sudden changes, it probably correlates with schema changes or a different mixture of queries. If you see a large spike of Handler_read_rnd_next, it probably means something was doing a lot of table scans.", - "fill": 1, - "id": 47, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_handlers_total{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Handler {{ handler }} -", - "refId": "A", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Global Handlers", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Counter", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "The InnoDB Row Operations graph shows row operations InnoDB has performed: reads, deletes, inserts, and updates. These should be roughly equivalent to Handler statistics, with the exception that they can show internal operations not reflected in the Handler statistics. These might include foreign key operations, for example.", - "fill": 1, - "id": 39, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": true, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_innodb_system_rows_read{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Rows read -", - "refId": "A", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_innodb_system_rows_deleted{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Rows deleted -", - "refId": "B", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_innodb_system_rows_updated{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Rows updated -", - "refId": "C", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_innodb_system_rows_inserted{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Rows inserted -", - "refId": "D", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "InnoDB Row Operations", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Rows", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "he MySQL Transaction Handler graph shows the transactional operations that took place at the MySQL server level.", - "fill": 1, - "id": 57, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_handlers_total{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Handler {{ handler }} -", - "refId": "A", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Global Transaction Handler", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Counter", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "The InnoDB Transactions graph shows information about transactions within InnoDB.\n\nHow changes the internal transaction counter (Trx id counter).\nThe length of the history list shows how old the oldest unpurged transaction is. If this grows large, you might have transactions that are staying open a very long time. This means InnoDB can’t purge old row versions. It will get bloated and slow as a result. Commit your transactions as quickly as you can.", - "fill": 1, - "id": 58, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_innodb_max_trx_id{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Transactions -", - "refId": "A", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "InnoDB Transactions", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Counter", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "The InnoDB Checkpoint Age graph shows the InnoDB checkpoint age, which is the same thing as the number of uncheckpointed bytes, and thus the amount of log that will need to be scanned to perform recovery if there’s a crash. If the uncheckpointed bytes begin to approach the combined size of the InnoDB log files, your system might need larger log files. In addition, a lot of un-checkpointed data might indicate that you’ll have a long and painful recovery if there’s a crash.", - "fill": 1, - "id": 30, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_innodb_checkpoint_age{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Uncheckpointed Bytes - The checkpoint age", - "refId": "A", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "InnoDB Checkpoint Age", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "bytes", - "label": "Bytes", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "The MySQL Binary logs graph shows information about the space used by the server binary logs. The variations in the sizes are when the logs are purged, probably due to expire_logs_days being set. If this suddenly grows large, look for problems in purging, which might be caused by a configuration change, or by someone manually deleting a file and causing the automatic purge to stop working.", - "fill": 1, - "id": 43, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_binlog_cache_use{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Binlog cache use - Number of transaction which used the regular binary log cache, being smaller than binlog_cache_size", - "refId": "A", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_binlog_cache_disk_use{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Binlog cache disk use - Number of transactions which used a temporary disk cache because they could not fit in the regular binary log cache, being larger than binlog_cache_size", - "refId": "B", - "step": 10 - }, - { - "expr": "irate(mysql_global_variables_binlog_cache_size{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Binlog cache size - The size in bytes of the cache holding a record of binary log changes during a transaction", - "refId": "C", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Global Binary Logs", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "bytes", - "label": "Bytes", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "The MySQL Files and Tables graph shows status of MySQL’s table cache and file handles: the size of the cache, and how many open files and tables there are. This graph is not likely to contain much information in the normal course of events.", - "fill": 1, - "id": 46, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "mysql_global_variables_table_open_cache{instance=~\"$node:$port\"}", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Table cache - Number of open tables for all threads", - "refId": "A", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_open_tables{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Open tables - Number of currently opened tables, excluding temporary tables", - "refId": "B", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_open_files{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Open files - Number of regular files currently opened by the server. Does not include sockets or pipes, or storage engines using internal functions", - "refId": "C", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_opened_tables{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Opened tables - Number of tables the server has opened", - "refId": "D", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_opened_files{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Opened files - Number of files the server has opened", - "refId": "E", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_opened_views{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Opened views - Number of views the server has opened", - "refId": "F", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_opened_table_definitions{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Opened table definitions - Number of .frm files that have been cached", - "refId": "G", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_open_table_definitions{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Open table definitions - Number of currently cached .frm files", - "refId": "H", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_opened_plugin_libraries{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Open plugin libraries - Number of plugin libraries that have been opened", - "refId": "I", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Global Files and Tables", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Counter", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "The MySQL Select Types graph shows information on how many of each type of select the MySQL server has performed: full join, full range join, range, range check, and scan. Like the Handler graphs, these show different types of execution plans, so any changes should be investigated. You should strive to have zero Select_full_join queries!", - "fill": 1, - "id": 52, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": true, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_select_full_join{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Select full join - Number of joins which did not use an index. If not zero, you may need to check table indexes", - "refId": "A", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_select_full_range_join{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Select full range join - Number of joins which used a range search of the first table", - "refId": "B", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_select_range{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Select range - Number of joins which used a range on the first table", - "refId": "C", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_select_range_check{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Select range check - Number of joins without keys that check for key usage after each row. If not zero, you may need to check table indexes", - "refId": "D", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_select_scan{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Select scan - Number of joins which used a full scan of the first table", - "refId": "E", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Global Select Types", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Joins", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "The MySQL Sorts graph shows information about MySQL sort operations: rows sorted, merge passes, and number of sorts triggered by range and scan queries. It is easy to over-analyze this data. It is not useful as a way to determine whether the server configuration needs to be changed.", - "fill": 1, - "id": 53, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_sort_rows{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Sort rows - Number of rows sorted", - "refId": "A", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_sort_range{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Sort range - Number of sorts which used a range", - "refId": "B", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_sort_merge_passes{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Sort merge passes - Number of merge passes performed by the sort algorithm. If too high, you may need to look at improving your query indexes, or increasing the sort_buffer_size", - "refId": "C", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_sort_scan{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Sort scan - Number of sorts which used a full table scan", - "refId": "D", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_sort_priority_queue_sorts{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Queue sorts - The number of times that sorting was done through a priority queue", - "refId": "E", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Global Sorts", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Counter", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "The MySQL Temporary Objects graph shows information about temporary objects created by the MySQL server: temporary tables, temporary files, and temporary tables created on disk instead of in memory. Like sort data, this is easy to over-analyze. The most serious one is the temp tables created on disk. Dealing with these is complex, but is covered well in the book High Performance MySQL.", - "fill": 1, - "id": 55, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_created_tmp_tables{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Created tmp tables - Number of temporary tables created", - "refId": "A", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_created_tmp_disk_tables{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Created tmp disk tables - Number of on-disk temporary tables created", - "refId": "B", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_created_tmp_files{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Created tmp files - Number of in-memory temporary tables created", - "refId": "C", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Global Temporary Objects", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Tables", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "", - "fill": 1, - "id": 64, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_innodb_data_fsyncs{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Data fsyncs - Number of InnoDB fsync (sync-to-disk) calls", - "refId": "B", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_syncs{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Syncs - Number of times my_sync() has been called, or the number of times the server has had to force data to disk", - "refId": "A", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "InnoDB Fsync Calls", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "none", - "label": "Counter", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "", - "fill": 1, - "id": 91, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_delete_scan{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Delete scan - Number of DELETEs that required a full table scan", - "refId": "A", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_update_scan{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Update scans - Number of updates that required a full table scan", - "refId": "E", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Global Full Table Scan", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "none", - "label": "Counter", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - } - ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "General", - "titleSize": "h6" - }, - { - "collapse": true, - "height": 452, - "panels": [ - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "The size of the database components from information_schema.tables", - "fill": 1, - "id": 3, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum by (schema)(mysql_info_schema_table_size{instance=~\"$node:$port\", component=\"data_length\"})", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "{{ schema }}", - "refId": "B", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Schema Data Lenght", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "The size of the database components from information_schema.tables", - "fill": 1, - "id": 2, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum by (schema)(mysql_info_schema_table_size{instance=~\"$node:$port\", component=\"data_free\"})", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "{{ schema }}", - "refId": "A", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Schema Data Free", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "The size of the database components from information_schema.tables", - "fill": 1, - "id": 4, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum by (schema)(mysql_info_schema_table_size{instance=~\"$node:$port\", component=\"index_length\"})", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "{{ schema }}", - "refId": "C", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Schema Index Lenght", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "The estimated number of rows per database from information_schema.tables", - "fill": 1, - "id": 1, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum by (schema)(mysql_info_schema_table_rows{instance=~\"$node:$port\"})", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "{{ schema }}", - "refId": "A", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Schema Rows per data base", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] - } - ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Schema", - "titleSize": "h6" - }, - { - "collapse": true, - "height": 455, - "panels": [ - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "The InnoDB Semaphores graph shows information on InnoDB semaphore activity: the number of spin rounds, spin waits, and OS waits. You might see these graphs spike during times of high concurrency or contention. These graphs basically indicate different types of activity involved in obtaining row locks or mutexes, which are causes of poor scaling in some cases.", - "fill": 1, - "id": 42, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_innodb_mutex_os_waits{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Mutex os waits -", - "refId": "A", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_innodb_mutex_spin_waits{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Mutex spin waits -", - "refId": "B", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_innodb_s_lock_os_waits{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "S locks os waits -", - "refId": "C", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_innodb_x_lock_os_waits{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "X locks os waits -", - "refId": "D", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_innodb_s_lock_spin_waits{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "S locks spin waits -", - "refId": "E", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_innodb_x_lock_spin_waits{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "X locks spin waits -", - "refId": "F", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_innodb_mutex_spin_rounds{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Mutex spin rounds -", - "refId": "G", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_innodb_s_lock_spin_rounds{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "S locks spin rounds -", - "refId": "H", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_innodb_x_lock_spin_rounds{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "X locks spin rounds -", - "refId": "I", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "InnoDB Semaphores", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Counter", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "The InnoDB Current Lock Waits graph shows the total number of seconds that InnoDB transactions have been waiting for locks. This is related to the InnoDB Active/Locked Transactions graph, except that it’s the sum of the lock wait time. You might have only one transaction in LOCK WAIT status, but it might be waiting a very long time if innodb_lock_wait_timeout is set to a large value. So if you see a large value on this graph, you should investigate for LOCK WAIT transactions.", - "fill": 1, - "id": 31, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_innodb_row_lock_waits{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Lock Wait Secs", - "refId": "A", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "InnoDB Current Lock Waits", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "s", - "label": "Seconds", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "The InnoDB Row Lock Waits graph shows the number of times that InnoDB has waited to grant row locks. This comes from the Innodb_row_lock_waits status variable.", - "fill": 1, - "id": 38, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_innodb_row_lock_waits{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Row lock waits -", - "refId": "A", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "InnoDB Row Lock Waits", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Counter", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "The InnoDB Lock Structures graph shows how many lock structures InnoDB has internally. This should correlate roughly to the number of row locks transactions are currently holding, and might be useful to help diagnose increased lock contention. There is no hard rule about what’s a good or bad number of locks, but in case many transactions are waiting for locks, obviously fewer is better.", - "fill": 1, - "id": 36, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_innodb_s_lock_os_waits{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "S locks -", - "refId": "A", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_innodb_x_lock_os_waits{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "X locks -", - "refId": "B", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "InnoDB Lock Structures", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Counter", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - } - ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Locks", - "titleSize": "h6" - }, - { - "collapse": true, - "height": 483, - "panels": [ - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "The MySQL Query Cache Memory graph shows information on the query cache’s memory usage.", - "fill": 1, - "id": 50, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "mysql_global_variables_query_cache_size{instance=~\"$node:$port\"}", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Query cache size - Size in bytes available to the query cache", - "refId": "A", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_qcache_free_memory{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Qcache free memory - Amount of free query cache memory", - "refId": "B", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Global Query Cache Memory", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Counter", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "The MySQL Query Cache graph shows information about the query cache inside MySQL: the number of queries in the cache, inserted, queries not cached, queries pruned due to low memory, and cache hits.", - "fill": 1, - "id": 49, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_qcache_queries_in_cache{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Qcache queries in cache - Number of queries currently cached by the query cache", - "refId": "A", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_qcache_hits{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Qcache hits - Number of requests served by the query cache", - "refId": "B", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_qcache_inserts{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Qcache inserts - Number of queries ever cached in the query cache", - "refId": "C", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_qcache_not_cached{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Qcache not cached - Number of queries that are uncacheable by the query cache, or use SQL_NO_CACHE", - "refId": "D", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_qcache_lowmem_prunes{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Qcache lowmem prunes - Number of pruning operations performed to remove old results to make space for new results in the query cache", - "refId": "E", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Global Query Cache", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Counter", - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "", - "fill": 1, - "id": 89, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_qcache_total_blocks{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Qcache total blocks - Number of blocks used by the query cache", - "refId": "C", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_qcache_free_blocks{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Qcache free blocks - Number of free query cache memory blocks", - "refId": "D", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Global Query Cache Memory Blocks", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Counter", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - } - ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Query Cache", - "titleSize": "h6" - }, - { - "collapse": true, - "height": 493, - "panels": [ - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "The InnoDB Buffer Pool graph shows the current status of the InnoDB buffer pool: the size, free pages, used (database) pages, and dirty (modified) pages. If too much of the buffer pool fills with dirty pages and InnoDB starts to flush aggressively to reduce that number, you could see cyclical behavior. This might be correlated with intense disk activity and/or periods of reduced throughput.", - "fill": 1, - "id": 27, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "mysql_global_variables_innodb_buffer_pool_size{instance=~\"$node:$port\"}", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Buffer pool size", - "refId": "A", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "InnoDB Buffer Pool", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "bytes", - "label": "Bytes", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "The InnoDB Buffer Pool Activity graph shows activity inside the buffer pool: pages created, read, and written. You can consider it roughly equivalent to the Handler graphs. If you see a sudden change in the graph, you should try to trace it to some change in your application.", - "fill": 1, - "id": 28, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "/.*read.*/", - "transform": "negative-Y" - } - ], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "mysql_global_status_innodb_pages_created{instance=~\"$node:$port\"}", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Pages created - Number of InnoDB pages created", - "refId": "A", - "step": 10 - }, - { - "expr": "mysql_global_status_innodb_pages_read{instance=~\"$node:$port\"}", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Pages read - Number of InnoDB pages read", - "refId": "B", - "step": 10 - }, - { - "expr": "mysql_global_status_innodb_pages_written{instance=~\"$node:$port\"}", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Pages written - Number of InnoDB pages written", - "refId": "C", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "InnoDB Buffer Pool Activity", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Pages read (-) / other (+)", - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "", - "fill": 1, - "id": 65, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_innodb_buffer_pool_wait_free{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Buffer pool wait free - Number of times InnoDB waited for a free page before reading or creating a page.", - "refId": "A", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_innodb_buffer_pool_write_requests{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Buffer pool write - Number of requests to write to the InnoDB buffer pool.", - "refId": "B", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "InnoDB Buffer Writes", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "none", - "label": "Counter", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "The InnoDB Buffer Pool Efficiency graph shows the number of logical read requests InnoDB has done and the number of logical reads that InnoDB could not satisfy from the buffer pool, and had to read directly from the disk.", - "fill": 1, - "id": 29, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "/.*reads -.*/", - "color": "#BF1B00" - } - ], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_innodb_buffer_pool_read_requests{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Pool read requests - Number of requests to read from the InnoDB buffer pool", - "refId": "B", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_innodb_buffer_pool_reads{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Pool reads - Number of reads that could not be satisfied by the InnoDB buffer pool and had to be read from disk", - "refId": "A", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "InnoDB Buffer Pool Efficiency", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Counter", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "", - "fill": 1, - "id": 18, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": true, - "steppedLine": false, - "targets": [ - { - "expr": "mysql_global_status_buffer_pool_pages{instance=~\"$node:$port\"}", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "{{ state }} - Number of {{ state }} pages", - "refId": "A", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Global Buffer Pool Pages", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Pages", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "", - "fill": 1, - "id": 17, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "/.*total.*/", - "fill": 0 - } - ], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_buffer_pool_page_changes_total{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "{{ operation }} - Number of InnoDB buffer pool page changes", - "refId": "A", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Global Buffer Pool Page Changes", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Counter", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "", - "fill": 1, - "id": 77, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_innodb_onlineddl_rowlog_rows{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Rowlog -", - "refId": "A", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "InnoDB Rowlog Buffer", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "none", - "label": "Counter", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - } - ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Buffer Pool", - "titleSize": "h6" - }, - { - "collapse": true, - "height": 374, - "panels": [ - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "", - "fill": 1, - "id": 11, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_binlog_bytes_written{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Bytes Written - Bytes written to the binary log", - "refId": "A", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Binlog Writes", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "bytes", - "label": "Bytes", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "", - "fill": 1, - "id": 13, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_binlog_commits{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Commits - Transactions committed to the binary log", - "refId": "A", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Binlog Commits", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Transactions", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "", - "fill": 1, - "id": 12, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_binlog_cache_disk_use{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Cache disk use - Transactions which used a temporary disk cache because they could not fit in the regular binary log", - "refId": "A", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_binlog_cache_use{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Cache use - Transaction which used the regular binary log cache, being smaller than binlog_cache_size", - "refId": "B", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Binlog Cache Use", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Transactions", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "", - "fill": 1, - "id": 14, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_binlog_group_commit_trigger_count{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Trigger count - Group commits triggered because of the number of binary log commits in the group reached the limit set by the variable binlog_commit_wait_count", - "refId": "A", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_binlog_group_commit_trigger_lock_wait{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Trigger lock wait - Group commits triggered because a binary log commit was being delayed because of a lock wait where the lock was held by a prior binary log commit. When this happens the later binary log commit is placed in the next group commit", - "refId": "B", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_binlog_group_commit_trigger_timeout{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Trigger timeout - Group commits triggered because of the time since the first binary log commit reached the limit set by the variable binlog_commit_wait_usec", - "refId": "C", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_binlog_group_commits{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Commits - Group commits done to the binary log", - "refId": "D", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Binlog Group Commits", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Commits", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "", - "fill": 1, - "id": 16, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_binlog_stmt_cache_disk_use{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Stmt cache disk use - Non-transaction statements which used a temporary disk cache because they could not fit in the regular binary log cache, being larger than binlog_stmt_cache_size", - "refId": "A", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_binlog_stmt_cache_use{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Stmt cache use - Non-transaction statement which used the regular binary log cache, being smaller than binlog_stmt_cache_size", - "refId": "B", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Binlog Non Transactions", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Counter", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "", - "fill": 1, - "id": 15, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "mysql_global_status_binlog_snapshot_position{instance=~\"$node:$port\"}", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Position - The binary log position", - "refId": "A", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Binlog Snapshot Position", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Counter", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - } - ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Binlog Detail", - "titleSize": "h6" - }, - { - "collapse": true, - "height": 471, - "panels": [ - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "", - "fill": 1, - "id": 71, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_innodb_row_ops_total{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "{{ operation }} -", - "refId": "A", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "InnoDB Row OPS", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Counter", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "", - "fill": 1, - "id": 76, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_rows_read{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Rows read - Number of requests to read a row (excluding temporary tables)", - "refId": "A", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_rows_tmp_read{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Rows tmp read - Number of requests to read a row in a temporary table.", - "refId": "C", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Global Rows Read", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "none", - "label": "Counter", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - } - ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Rows", - "titleSize": "h6" - }, - { - "collapse": true, - "height": 354, - "panels": [ - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "", - "fill": 1, - "id": 59, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_cpu_time{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Cpu time - Total CPU time used", - "refId": "A", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Global CPU time", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Counter", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "", - "fill": 1, - "id": 78, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_memory_used{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Memory used - Global or per-connection memory usage, in bytes", - "refId": "A", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Global Memory Used", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "bytes", - "label": "Bytes", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "", - "fill": 1, - "id": 90, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_open_streams{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Open streams - Number of currently opened streams, usually log files", - "refId": "H", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Global Open Streams", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "none", - "label": "Counter", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "", - "fill": 1, - "id": 19, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "mysql_global_status_busy_time{instance=~\"$node:$port\"}", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Busy time - Time in seconds of activity on connections", - "refId": "A", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Global Connection Busy time", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Counter", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "", - "fill": 1, - "id": 22, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "mysql_global_status_compression{instance=~\"$node:$port\"}", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Compression - Whether client-server traffic is compressed", - "refId": "A", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Global Compression", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Counter", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "", - "fill": 1, - "id": 79, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_threadpool_idle_threads{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Idle threads - Number of inactive threads in the thread pool", - "refId": "A", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_threadpool_threads{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Threads - Number of threads in the thread pool", - "refId": "B", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_slow_launch_threads{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Slow launch threads - Number of threads which took longer than slow_launch_time to create", - "refId": "C", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Global Threadpool", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Counter", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "", - "fill": 1, - "id": 63, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_empty_queries{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Emtpy queries - Number of queries returning no results", - "refId": "B", - "step": 10 - }, - { - "expr": "irate(max_statement_time_exceeded{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Time exceed - Number of queries that exceeded the execution time specified by max_statement_time", - "refId": "C", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Global Empty / Time Exceed Queries", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "none", - "label": "Counter", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "", - "fill": 1, - "id": 66, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_innodb_defragment_compression_failures{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Defragment compression failures - Number of defragment re-compression failures.", - "refId": "A", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_innodb_defragment_count{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Defragment count - Number of defragment operations", - "refId": "B", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_innodb_defragment_failures{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Defragment failures - Number of defragment failures", - "refId": "C", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "InnoDB Defragment", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "none", - "label": "Counter", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "", - "fill": 1, - "id": 83, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_innodb_num_page_compressed_trim_op{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Compressed trim op - Number of trim operations performed", - "refId": "A", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_innodb_num_page_compressed_trim_op_saved{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Compressed trim op saved - Number of trim operations not done because of an earlier trim", - "refId": "B", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_innodb_num_pages_decrypted{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Compressed decrypted - Number of pages page decrypted", - "refId": "C", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_innodb_num_pages_encrypted{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Compressed encrypted - Number of pages page encrypted", - "refId": "D", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_innodb_num_pages_page_compressed{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Compressed pages - Number of pages that are page compressed", - "refId": "E", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_innodb_num_pages_page_compression_error{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Compressed pages error - Number of compression errors", - "refId": "F", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_innodb_num_pages_page_decompressed{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Compressed pages decompressed - Number of pages compressed with page compression that are decompressed", - "refId": "G", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "InnoDB Compressed", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "none", - "label": "Counter", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "otal number of MySQL instrumentations that could not be loaded or created due to memory constraints", - "fill": 1, - "id": 69, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_performance_schema_lost_total{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "{{ instrumentation }} -", - "refId": "A", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Global Losts", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Counter", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "", - "fill": 1, - "id": 70, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_key_blocks_not_flushed{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Key blocks not flushed - Number of key cache blocks which have been modified but not flushed to disk.", - "refId": "A", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_key_blocks_unused{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Key blocks unused - Number of unused key cache blocks", - "refId": "B", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_key_blocks_used{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Key blocks used - Max number of key cache blocks which have been used simultaneously", - "refId": "C", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_key_blocks_warm{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Key blocks warm - Number of key cache blocks in the warm list", - "refId": "D", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_key_read_requests{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Key read requests - Number of key cache block read requests. See Optimizing key_buffer_size", - "refId": "E", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_key_reads{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Key reads - Number of physical index block reads. See Optimizing key_buffer_size", - "refId": "F", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_key_write_requests{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Key write requests - Number of requests to write a block to the key cache", - "refId": "G", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_key_writes{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Key writes - Number of key cache block write requests", - "refId": "H", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Global Keys", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Counter", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "", - "fill": 1, - "id": 7, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_acl_column_grants{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Column - Column permissions granted", - "refId": "A", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_acl_database_grants{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Database - Database permissions granted", - "refId": "B", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_acl_procedure_grants{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Procedure - Procedure permissions granted", - "refId": "C", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_acl_function_grants{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Function - Function permissions granted", - "refId": "D", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_acl_proxy_users{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Proxy - Proxy permissions granted", - "refId": "E", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_acl_role_grants{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Role - Role permissions granted ", - "refId": "F", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_acl_table_grants{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Table - Table permissions granted", - "refId": "G", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Global Permissions Granted", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Counter", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "", - "fill": 1, - "id": 75, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_subquery_cache_hit{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Subquery cache hits - Counter for all subquery cache hits", - "refId": "A", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_subquery_cache_miss{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Subquery cache miss - Counter for all subquery cache hits", - "refId": "B", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Global Subquery", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "none", - "label": "Counter", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "", - "fill": 1, - "id": 92, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_queries{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Queries - Number of statements executed by the server, excluding COM_PING and COM_STATISTICS", - "refId": "I", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_questions{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Questions - Number of statements executed by the server, excluding COM_PING, COM_STATISTICS, COM_STMT_PREPARE, COM_STMT_CLOSE, and COM_STMT_RESET statements", - "refId": "J", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Global Statements Executed", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "none", - "label": "Counter", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "", - "fill": 1, - "id": 8, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "mysql_global_status_acl_roles{instance=~\"$node:$port\"}", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Roles - Number of roles", - "refId": "A", - "step": 10 - }, - { - "expr": "mysql_global_status_acl_users{instance=~\"$node:$port\"}", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Users - Number of users", - "refId": "B", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Global Roles / Users", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Counter", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - } - ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Misc", - "titleSize": "h6" - }, - { - "collapse": true, - "height": 460, - "panels": [ - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "", - "fill": 1, - "id": 9, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "/.*Blocks not flushed.*/", - "fill": 0, - "stack": false - }, - { - "alias": "/.*Transaction log syncs.*/", - "fill": 0, - "stack": false - } - ], - "spaceLength": 10, - "span": 6, - "stack": true, - "steppedLine": false, - "targets": [ - { - "expr": "mysql_global_status_aria_pagecache_blocks_not_flushed{instance=~\"$node:$port\"}", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Blocks not flushed - Dirty blocks in the Aria page cache", - "refId": "A", - "step": 10 - }, - { - "expr": "mysql_global_status_aria_pagecache_blocks_unused{instance=~\"$node:$port\"}", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Blocks unused - Free blocks in the Aria page cache", - "refId": "B", - "step": 10 - }, - { - "expr": "mysql_global_status_aria_pagecache_blocks_used{instance=~\"$node:$port\"}", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Blocks used - Blocks used in the Aria page cache", - "refId": "C", - "step": 10 - }, - { - "expr": "mysql_global_status_aria_transaction_log_syncs{instance=~\"$node:$port\"}", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Transaction log syncs - Aria log fsyncs", - "refId": "D", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Aria Pagecache Blocks", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Blocks", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "", - "fill": 1, - "id": 87, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "/.*Read.*/", - "transform": "negative-Y" - } - ], - "spaceLength": 10, - "span": 6, - "stack": true, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_aria_pagecache_reads{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Reads - Aria page cache read requests that caused a block to be read from the disk", - "refId": "B", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_aria_pagecache_writes{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Writes - Blocks written to disk from the Aria page cache", - "refId": "D", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Aria Pagecache Read & Write Blocks", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Blocks read (-) / write (+)", - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "", - "fill": 1, - "id": 10, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "/.*Read.*/", - "transform": "negative-Y" - } - ], - "spaceLength": 10, - "span": 6, - "stack": true, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_aria_pagecache_read_requests{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Read requests - Requests to read something from the Aria page cache", - "refId": "A", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_aria_pagecache_write_requests{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Write requests - Requests to write a block to the Aria page cache", - "refId": "C", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Aria Pagecache Read & Write Requests", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Requests read (-) / write (+)", - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - } - ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Pagecache", - "titleSize": "h6" - }, - { - "collapse": true, - "height": 444, - "panels": [ - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "", - "fill": 1, - "id": 88, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_ssl_session_cache_size{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Session cache size - Size of the session cache", - "refId": "D", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_ssl_used_session_cache_entries{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Ssl cache entries - Current number of sessions in the session cache", - "refId": "A", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Ssl Sessions Cache", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Counter", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "", - "fill": 1, - "id": 81, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_ssl_session_cache_hits{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Session cache hits - Number of TLS sessions found in the session cache", - "refId": "A", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_ssl_session_cache_misses{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Session cache misses - Number of TLS sessions not found in the session cache", - "refId": "B", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_ssl_session_cache_overflows{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Session cache overflows - Number of sessions removed from the session cache because it was full", - "refId": "C", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_ssl_session_cache_timeouts{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Session cache timeouts - Number of sessions which have timed out", - "refId": "E", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_ssl_sessions_reused{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Session cache sessions reused - Number of sessions reused", - "refId": "F", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Ssl Sessions Cache Status", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Sessions", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "", - "fill": 1, - "id": 82, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(mysql_global_status_ssl_accept_renegotiates{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Ssl accept renegotiates - Number of negotiates needed to establish the TLS connection", - "refId": "A", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_ssl_accepts{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Ssl accepts - Number of accepted TLS handshakes", - "refId": "B", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_ssl_callback_cache_hits{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Ssl callback cache hits - Number of sessions retrieved from session cache", - "refId": "C", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_ssl_client_connects{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Ssl client connects - Number of TLS handshakes started in client mode", - "refId": "D", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_ssl_client_renegotiates{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Ssl client renegotiates - Number of negotiates needed to establish the connection to an TLS-enabled master", - "refId": "E", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_ssl_finished_accepts{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Ssl finished accepts - Number of successful TLS sessions in server mode", - "refId": "F", - "step": 10 - }, - { - "expr": "irate(mysql_global_status_ssl_finished_connects{instance=~\"$node:$port\"}[5m])", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Ssl finished connects - Number of successful TLS sessions in client mode", - "refId": "G", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Ssl Sessions Connections", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Counter", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - } - ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Ssl Detail", - "titleSize": "h6" - }, - { - "collapse": true, - "height": 429, - "panels": [ - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "", - "fill": 1, - "id": 86, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "Slave running - Whether the slave is running (both I/O and SQL threads running) or not.", - "color": "#7EB26D" - } - ], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "mysql_global_status_slave_open_temp_tables{instance=~\"$node:$port\"}", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Slave open temp tables - Number of temporary tables the slave has open", - "refId": "B", - "step": 10 - }, - { - "expr": "mysql_global_status_slave_retried_transactions{instance=~\"$node:$port\"}", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Slave retried transactions - Number of times the slave has retried transactions since the server started", - "refId": "C", - "step": 10 - }, - { - "expr": "mysql_global_status_slave_heartbeat_period{instance=~\"$node:$port\"}", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Slave heartbeat period - Time in seconds that a heartbeat packet is requested from the master by a slave", - "refId": "E", - "step": 10 - }, - { - "expr": "mysql_global_status_slave_received_heartbeats{instance=~\"$node:$port\"}", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Slave received heartbeat - Number of heartbeats the slave has received from the master", - "refId": "F", - "step": 10 - }, - { - "expr": "mysql_global_status_slave_retried_transactions{instance=~\"$node:$port\"}", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Slave retried transactions - Number of times the slave has retried transactions since the server started", - "refId": "G", - "step": 10 - }, - { - "expr": "mysql_global_status_slave_skipped_errors{instance=~\"$node:$port\"}", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Slave skipped errors - The number of times a slave has skipped errors defined by slave-skip-errors", - "refId": "H", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Global Replication", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Counter", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "The MySQL Replication Status graph displays the status of the replication thread. If you’re using Seconds_behind_master instead of pt-heartbeat to measure delay, it’s impossible to measure delay when the slave is stopped, so you won’t see any red. This is one of the reasons Seconds_behind_master from SHOW SLAVE STATUS is not as useful as pt-heartbeat.", - "fill": 1, - "id": 51, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "Slave running - Whether the slave is running (both I/O and SQL threads running) or not.", - "color": "#7EB26D" - } - ], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "mysql_global_status_slave_running{instance=~\"$node:$port\"}", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Slave running - Whether the slave is running (both I/O and SQL threads running) or not.", - "refId": "A", - "step": 10 - }, - { - "expr": "mysql_global_status_slave_connections{instance=~\"$node:$port\"}", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Slave connections -", - "refId": "D", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Global Replication", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Counter", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - } - ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Replication", - "titleSize": "h6" - }, - { - "collapse": true, - "height": 363, - "panels": [ - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "", - "fill": 1, - "id": 74, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "mysql_exporter_collector_duration_seconds{instance=~\"$node:$port\"}", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "{{ collector }}", - "refId": "A", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Collection Duration", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "s", - "label": "Seconds", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_LOCALHOST}", - "description": "", - "fill": 1, - "id": 73, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "Scrape errors", - "yaxis": 2 - } - ], - "spaceLength": 10, - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "mysql_exporter_scrapes_total{instance=~\"$node:$port\"}", - "format": "time_series", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Number of scrapes", - "refId": "A", - "step": 10 - }, - { - "expr": "mysql_exporter_last_scrape_error{instance=~\"$node:$port\"}", - "format": "time_series", - "intervalFactor": 2, - "legendFormat": "Scrape errors", - "refId": "B", - "step": 10 - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Scrapes Number and Error", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "Counter", - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": "0", - "show": true - } - ] - } - ], - "repeat": null, - "repeatIteration": null, - "repeatRowId": null, - "showTitle": false, - "title": "Scrape info", - "titleSize": "h6" - } - ], - "schemaVersion": 14, - "style": "dark", - "tags": [], - "templating": { - "list": [ - { - "allValue": null, - "current": {}, - "datasource": "${DS_LOCALHOST}", - "hide": 1, - "includeAll": false, - "label": "Host:", - "multi": false, - "name": "node", - "options": [], - "query": "label_values(mysqld_exporter_build_info{job=\"sql\"}, instance)", - "refresh": 1, - "regex": "/([^:]+):.*/", - "sort": 0, - "tagValuesQuery": "", - "tags": [], - "tagsQuery": "", - "type": "query", - "useTags": false - }, - { - "allValue": null, - "current": {}, - "datasource": "${DS_LOCALHOST}", - "hide": 2, - "includeAll": false, - "label": "port", - "multi": false, - "name": "port", - "options": [], - "query": "label_values(mysqld_exporter_build_info, instance)", - "refresh": 1, - "regex": "/[^:]+:(.*)/", - "sort": 0, - "tagValuesQuery": "", - "tags": [], - "tagsQuery": "", - "type": "query", - "useTags": false - } - ] - }, - "time": { - "from": "now-7d", - "to": "now" - }, - "timepicker": { - "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ], - "time_options": [ - "5m", - "15m", - "1h", - "6h", - "12h", - "24h", - "2d", - "7d", - "30d" - ] - }, - "timezone": "browser", - "title": "MySQL Full", - "version": 100 -} \ No newline at end of file