{ "annotations": { "list": [] }, "editable": true, "gnetId": null, "hideControls": true, "id": null, "links": [ { "asDropdown": true, "icon": "external link", "includeVars": true, "keepTime": true, "tags": [ "OS" ], "targetBlank": true, "title": "OS", "type": "dashboards" }, { "asDropdown": true, "icon": "external link", "includeVars": true, "keepTime": true, "tags": [ "MySQL" ], "targetBlank": true, "title": "MySQL", "type": "dashboards" }, { "asDropdown": true, "icon": "external link", "includeVars": true, "keepTime": true, "tags": [ "HA" ], "targetBlank": true, "title": "HA", "type": "dashboards" } ], "refresh": false, "rows": [ { "collapse": false, "height": "250px", "panels": [ { "aliasColors": {}, "bars": false, "datasource": "Prometheus", "decimals": null, "editable": true, "error": false, "fill": 2, "grid": {}, "height": "", "id": 2, "legend": { "alignAsTable": true, "avg": true, "current": false, "hideEmpty": false, "hideZero": true, "max": true, "min": true, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "span": 12, "stack": false, "steppedLine": false, "targets": [ { "calculatedInterval": "2s", "datasourceErrors": {}, "errors": {}, "expr": "avg by (instance) (sum by (mode) ( (clamp_max(rate(node_cpu{instance=\"$host\",mode!=\"idle\"}[$interval]),1)) or (clamp_max(irate(node_cpu{instance=\"$host\",mode!=\"idle\"}[5m]),1)) ))", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Busy State", "metric": "", "refId": "A", "step": 300 }, { "calculatedInterval": "2s", "datasourceErrors": {}, "errors": {}, "expr": "avg by (instance) (sum by (mode) ( (clamp_max(rate(node_cpu{instance=\"$host\",mode!=\"idle\"}[$interval] offset 1d),1)) or (clamp_max(irate(node_cpu{instance=\"$host\",mode!=\"idle\"}[5m] offset 1d),1)) ))", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Busy State 1d ago", "metric": "", "refId": "B", "step": 300 }, { "calculatedInterval": "2s", "datasourceErrors": {}, "errors": {}, "expr": "avg by (instance) (sum by (mode) ( (clamp_max(rate(node_cpu{instance=\"$host\",mode!=\"idle\"}[$interval] offset 1w),1)) or (clamp_max(irate(node_cpu{instance=\"$host\",mode!=\"idle\"}[5m] offset 1w),1)) ))", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Busy State 1w ago", "metric": "", "refId": "C", "step": 300 } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "CPU Usage", "tooltip": { "msResolution": false, "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "percentunit", "label": "", "logBase": 1, "max": 1, "min": 0, "show": true }, { "format": "short", "logBase": 1, "max": null, "min": 0, "show": true } ] }, { "aliasColors": {}, "bars": false, "datasource": "Prometheus", "decimals": null, "editable": true, "error": false, "fill": 2, "grid": {}, "id": 37, "legend": { "alignAsTable": true, "avg": true, "current": false, "hideEmpty": false, "max": true, "min": true, "rightSide": false, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "span": 6, "stack": false, "steppedLine": false, "targets": [ { "calculatedInterval": "2s", "datasourceErrors": {}, "errors": {}, "expr": "rate(node_vmstat_pgpgin{instance=\"$host\"}[$interval]) * 1024 or irate(node_vmstat_pgpgin{instance=\"$host\"}[5m]) * 1024", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Page In", "metric": "", "refId": "A", "step": 300, "target": "" }, { "calculatedInterval": "2s", "datasourceErrors": {}, "errors": {}, "expr": "rate(node_vmstat_pgpgin{instance=\"$host\"}[$interval] offset 1d) * 1024 or irate(node_vmstat_pgpgin{instance=\"$host\"}[5m] offset 1d) * 1024", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Page In 1d ago", "metric": "", "refId": "B", "step": 300, "target": "" }, { "calculatedInterval": "2s", "datasourceErrors": {}, "errors": {}, "expr": "rate(node_vmstat_pgpgin{instance=\"$host\"}[$interval] offset 1w) * 1024 or irate(node_vmstat_pgpgin{instance=\"$host\"}[5m] offset 1w) * 1024", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Page In 1w ago", "metric": "", "refId": "C", "step": 300, "target": "" } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "I/O Read Activity", "tooltip": { "msResolution": false, "shared": true, "sort": 0, "value_type": "individual" }, "transparent": false, "type": "graph", "xaxis": { "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "Bps", "label": "", "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "bytes", "logBase": 1, "max": null, "min": 0, "show": true } ] }, { "aliasColors": {}, "bars": false, "datasource": "Prometheus", "decimals": null, "editable": true, "error": false, "fill": 2, "grid": {}, "id": 38, "legend": { "alignAsTable": true, "avg": true, "current": false, "hideEmpty": false, "max": true, "min": true, "rightSide": false, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "span": 6, "stack": false, "steppedLine": false, "targets": [ { "calculatedInterval": "2s", "datasourceErrors": {}, "errors": {}, "expr": "rate(node_vmstat_pgpgout{instance=\"$host\"}[$interval]) * 1024 or irate(node_vmstat_pgpgout{instance=\"$host\"}[5m]) * 1024", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Page Out", "metric": "", "refId": "B", "step": 300, "target": "" }, { "calculatedInterval": "2s", "datasourceErrors": {}, "errors": {}, "expr": "rate(node_vmstat_pgpgout{instance=\"$host\"}[$interval] offset 1d) * 1024 or irate(node_vmstat_pgpgout{instance=\"$host\"}[5m] offset 1d) * 1024", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Page Out 1d ago", "metric": "", "refId": "A", "step": 300, "target": "" }, { "calculatedInterval": "2s", "datasourceErrors": {}, "errors": {}, "expr": "rate(node_vmstat_pgpgout{instance=\"$host\"}[$interval] offset 1w) * 1024 or irate(node_vmstat_pgpgout{instance=\"$host\"}[5m] offset 1w) * 1024", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Page Out 1w ago", "metric": "", "refId": "C", "step": 300, "target": "" } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "I/O Write Activity", "tooltip": { "msResolution": false, "shared": true, "sort": 0, "value_type": "individual" }, "transparent": false, "type": "graph", "xaxis": { "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "Bps", "label": "", "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "bytes", "logBase": 1, "max": null, "min": 0, "show": true } ] } ], "repeat": null, "repeatIteration": null, "repeatRowId": null, "showTitle": true, "title": "System Stats", "titleSize": "h6" }, { "collapse": false, "height": "250px", "panels": [ { "aliasColors": {}, "bars": false, "datasource": "Prometheus", "decimals": null, "editable": true, "error": false, "fill": 2, "grid": {}, "id": 35, "legend": { "alignAsTable": true, "avg": true, "current": false, "max": true, "min": true, "rightSide": false, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "span": 6, "stack": false, "steppedLine": false, "targets": [ { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "rate(mysql_global_status_questions{instance=\"$host\"}[$interval]) or irate(mysql_global_status_questions{instance=\"$host\"}[5m])", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Questions", "metric": "", "refId": "A", "step": 300 }, { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "rate(mysql_global_status_questions{instance=\"$host\"}[$interval] offset 1d) or irate(mysql_global_status_questions{instance=\"$host\"}[5m] offset 1d)", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Questions 1d ago", "metric": "", "refId": "B", "step": 300 }, { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "rate(mysql_global_status_questions{instance=\"$host\"}[$interval] offset 1w) or irate(mysql_global_status_questions{instance=\"$host\"}[5m] offset 1w)", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Questions 1w ago", "metric": "", "refId": "C", "step": 300 } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "MySQL Questions", "tooltip": { "msResolution": false, "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "short", "logBase": 1, "max": null, "min": 0, "show": true } ] }, { "aliasColors": {}, "bars": false, "datasource": "Prometheus", "decimals": null, "editable": true, "error": false, "fill": 2, "grid": {}, "id": 34, "legend": { "alignAsTable": true, "avg": true, "current": false, "max": true, "min": true, "rightSide": false, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "span": 6, "stack": false, "steppedLine": false, "targets": [ { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "rate(mysql_global_status_innodb_row_ops_total{instance=\"$host\", operation=\"read\"}[$interval]) or irate(mysql_global_status_innodb_row_ops_total{instance=\"$host\", operation=\"read\"}[5m])", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Rows {{ operation }}", "metric": "", "refId": "A", "step": 300 }, { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "rate(mysql_global_status_innodb_row_ops_total{instance=\"$host\", operation=\"read\"}[$interval] offset 1d) or irate(mysql_global_status_innodb_row_ops_total{instance=\"$host\", operation=\"read\"}[5m] offset 1d)", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Rows {{ operation }} 1d ago", "metric": "", "refId": "B", "step": 300 }, { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "rate(mysql_global_status_innodb_row_ops_total{instance=\"$host\", operation=\"read\"}[$interval] offset 1w) or irate(mysql_global_status_innodb_row_ops_total{instance=\"$host\", operation=\"read\"}[5m] offset 1w)", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Rows {{ operation }} 1w ago", "metric": "", "refId": "C", "step": 300 } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "InnoDB Rows Read", "tooltip": { "msResolution": false, "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "short", "logBase": 1, "max": null, "min": 0, "show": true } ] } ], "repeat": null, "repeatIteration": null, "repeatRowId": null, "showTitle": true, "title": "MySQL Stats", "titleSize": "h6" }, { "collapse": false, "height": "250px", "panels": [ { "aliasColors": {}, "bars": false, "datasource": "Prometheus", "decimals": null, "editable": true, "error": false, "fill": 2, "grid": {}, "id": 36, "legend": { "alignAsTable": true, "avg": true, "current": false, "max": true, "min": true, "rightSide": false, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "span": 6, "stack": false, "steppedLine": false, "targets": [ { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "sum(rate(mysql_global_status_innodb_row_ops_total{instance=\"$host\", operation!=\"read\"}[$interval])) or sum(irate(mysql_global_status_innodb_row_ops_total{instance=\"$host\", operation!=\"read\"}[5m]))", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Rows inserted+updated+deleted", "metric": "", "refId": "A", "step": 300 }, { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "sum(rate(mysql_global_status_innodb_row_ops_total{instance=\"$host\", operation!=\"read\"}[$interval] offset 1d)) or sum(irate(mysql_global_status_innodb_row_ops_total{instance=\"$host\", operation!=\"read\"}[5m] offset 1d))", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Rows inserted+updated+deleted 1d ago", "metric": "", "refId": "B", "step": 300 }, { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "sum(rate(mysql_global_status_innodb_row_ops_total{instance=\"$host\", operation!=\"read\"}[$interval] offset 1w)) or sum(irate(mysql_global_status_innodb_row_ops_total{instance=\"$host\", operation!=\"read\"}[5m] offset 1w))", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Rows inserted+updated+deleted 1w ago", "metric": "", "refId": "C", "step": 300 } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "InnoDB Rows Changed", "tooltip": { "msResolution": false, "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "short", "logBase": 1, "max": null, "min": 0, "show": true } ] } ], "repeat": null, "repeatIteration": null, "repeatRowId": null, "showTitle": false, "title": "New row", "titleSize": "h6" } ], "schemaVersion": 13, "sharedCrosshair": true, "style": "dark", "tags": [ "Percona", "Insight " ], "templating": { "list": [ { "allFormat": "glob", "auto": true, "auto_count": 200, "auto_min": "1s", "current": { "text": "auto", "value": "$__auto_interval" }, "datasource": "Prometheus", "hide": 0, "includeAll": false, "label": "Interval", "multi": false, "multiFormat": "glob", "name": "interval", "options": [ { "selected": true, "text": "auto", "value": "$__auto_interval" }, { "selected": false, "text": "1s", "value": "1s" }, { "selected": false, "text": "5s", "value": "5s" }, { "selected": false, "text": "1m", "value": "1m" }, { "selected": false, "text": "5m", "value": "5m" }, { "selected": false, "text": "1h", "value": "1h" }, { "selected": false, "text": "6h", "value": "6h" }, { "selected": false, "text": "1d", "value": "1d" } ], "query": "1s,5s,1m,5m,1h,6h,1d", "refresh": 2, "type": "interval" }, { "allFormat": "glob", "allValue": null, "datasource": "Prometheus", "hide": 0, "includeAll": false, "label": "Host", "multi": false, "multiFormat": "regex values", "name": "host", "query": "label_values(node_load1, instance)", "refresh": 1, "refresh_on_load": false, "regex": "", "sort": 1, "tagValuesQuery": "instance", "tagsQuery": "up", "type": "query", "useTags": false } ] }, "time": { "from": "now-12h", "to": "now" }, "timepicker": { "collapse": false, "enable": true, "notice": false, "now": true, "refresh_intervals": [ "5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ], "status": "Stable", "time_options": [ "5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d" ], "type": "timepicker" }, "timezone": "browser", "title": "Trends Dashboard", "version": 0 }