{ "annotations": { "list": [] }, "editable": true, "gnetId": null, "graphTooltip": 1, "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": "1m", "rows": [ { "collapse": false, "height": "250px", "panels": [ { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "Prometheus", "decimals": 0, "editable": true, "error": false, "fill": 2, "grid": {}, "height": "250px", "id": 1, "legend": { "alignAsTable": true, "avg": true, "current": false, "max": true, "min": true, "show": true, "sort": "avg", "sortDesc": true, "total": false, "values": true }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "RocksDB Cache", "fill": 0 } ], "spaceLength": 10, "span": 6, "stack": false, "steppedLine": false, "targets": [ { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "rate(mysql_engine_rocksdb_block_cache_hit{instance=\"$host\"}[$interval]) or irate(mysql_engine_rocksdb_block_cache_hit{instance=\"$host\"}[5m])", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Hit", "metric": "", "refId": "B", "step": 10 }, { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "rate(mysql_engine_rocksdb_block_cache_miss{instance=\"$host\"}[$interval]) or irate(mysql_engine_rocksdb_block_cache_miss{instance=\"$host\"}[5m])", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Miss", "metric": "", "refId": "A", "step": 10 }, { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "rate(mysql_engine_rocksdb_block_cache_add{instance=\"$host\"}[$interval]) or irate(mysql_engine_rocksdb_block_cache_add{instance=\"$host\"}[5m])", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Added", "metric": "", "refId": "C", "step": 10 }, { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "rate(mysql_engine_rocksdb_block_cache_add_failures{instance=\"$host\"}[$interval]) or irate(mysql_engine_rocksdb_block_cache_add_failures{instance=\"$host\"}[5m])", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Added Failures", "metric": "", "refId": "D", "step": 10 } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "MyRocks Cache", "tooltip": { "msResolution": false, "shared": true, "sort": 0, "value_type": "cumulative" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": "", "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "short", "label": "", "logBase": 1, "max": null, "min": 0, "show": true } ] }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "Prometheus", "decimals": 0, "editable": true, "error": false, "fill": 2, "grid": {}, "id": 7, "legend": { "alignAsTable": true, "avg": true, "current": false, "hideEmpty": true, "hideZero": true, "max": true, "min": true, "rightSide": false, "show": true, "sort": "avg", "sortDesc": true, "total": false, "values": true }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "System Memory", "fill": 0, "stack": false } ], "spaceLength": 10, "span": 6, "stack": true, "steppedLine": false, "targets": [ { "expr": "rate(mysql_engine_rocksdb_block_cache_bytes_read{instance=\"$host\"}[$interval]) or irate(mysql_engine_rocksdb_block_cache_bytes_read{instance=\"$host\"}[5m]) ", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Reads", "metric": "", "refId": "A", "step": 10 }, { "expr": "rate(mysql_engine_rocksdb_block_cache_bytes_write{instance=\"$host\"}[$interval]) or irate(mysql_engine_rocksdb_block_cache_bytes_write{instance=\"$host\"}[5m])", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Writes", "metric": "", "refId": "B", "step": 10 } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "MyRocks Cache Data Bytes R/W", "tooltip": { "msResolution": false, "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "bytes", "label": "", "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ] } ], "repeat": null, "repeatIteration": null, "repeatRowId": null, "showTitle": false, "title": "Connections", "titleSize": "h6" }, { "collapse": false, "height": "250px", "panels": [ { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "Prometheus", "decimals": 0, "editable": true, "error": false, "fill": 2, "grid": {}, "height": "250px", "id": 3, "legend": { "alignAsTable": true, "avg": true, "current": false, "max": true, "min": true, "show": true, "sort": "avg", "sortDesc": true, "total": false, "values": true }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "RocksDB Cache Index", "fill": 0 } ], "spaceLength": 10, "span": 6, "stack": false, "steppedLine": false, "targets": [ { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "rate(mysql_engine_rocksdb_block_cache_index_hit{instance=\"$host\"}[$interval]) or irate(mysql_engine_rocksdb_block_cache_index_hit{instance=\"$host\"}[5m]) ", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Hit", "metric": "", "refId": "A", "step": 10 }, { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "rate(mysql_engine_rocksdb_block_cache_index_miss{instance=\"$host\"}[$interval]) or irate(mysql_engine_rocksdb_block_cache_index_miss{instance=\"$host\"}[5m])", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Miss", "metric": "", "refId": "C", "step": 10 }, { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "rate(mysql_engine_rocksdb_block_cache_index_add{instance=\"$host\"}[$interval]) or irate(mysql_engine_rocksdb_block_cache_index_add{instance=\"$host\"}[5m])", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Added", "metric": "", "refId": "B", "step": 10 } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "MyRocks Cache Index Hit Rate", "tooltip": { "msResolution": false, "shared": true, "sort": 0, "value_type": "cumulative" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": "", "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "short", "label": "", "logBase": 1, "max": null, "min": 0, "show": true } ] }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "Prometheus", "decimals": 0, "editable": true, "error": false, "fill": 2, "grid": {}, "height": "250px", "id": 4, "legend": { "alignAsTable": true, "avg": true, "current": false, "max": true, "min": true, "show": true, "sort": "avg", "sortDesc": true, "total": false, "values": true }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "MyRocks Cache Index Bytes", "fill": 0 } ], "spaceLength": 10, "span": 6, "stack": false, "steppedLine": false, "targets": [ { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "rate(mysql_engine_rocksdb_block_cache_index_bytes_insert{instance=\"$host\"}[$interval]) or irate(mysql_engine_rocksdb_block_cache_index_bytes_insert{instance=\"$host\"}[5m])", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Inserted", "metric": "", "refId": "A", "step": 10 }, { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "rate(mysql_engine_rocksdb_block_cache_index_bytes_evict{instance=\"$host\"}[$interval]) or irate(mysql_engine_rocksdb_block_cache_index_bytes_evict{instance=\"$host\"}[5m])", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Evicted", "metric": "", "refId": "B", "step": 10 } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "MyRocks Cache Index", "tooltip": { "msResolution": false, "shared": true, "sort": 0, "value_type": "cumulative" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "bytes", "label": "", "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "short", "label": "", "logBase": 1, "max": null, "min": 0, "show": true } ] } ], "repeat": null, "repeatIteration": null, "repeatRowId": null, "showTitle": false, "title": "Cache Index", "titleSize": "h6" }, { "collapse": false, "height": "250px", "panels": [ { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "Prometheus", "decimals": 0, "editable": true, "error": false, "fill": 2, "grid": {}, "height": "250px", "id": 5, "legend": { "alignAsTable": true, "avg": true, "current": false, "max": true, "min": true, "show": true, "sort": "avg", "sortDesc": true, "total": false, "values": true }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "MyRocks Cache Filter", "fill": 0 } ], "spaceLength": 10, "span": 6, "stack": false, "steppedLine": false, "targets": [ { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "rate(mysql_engine_rocksdb_block_cache_filter_hit{instance=\"$host\"}[$interval]) or irate(mysql_engine_rocksdb_block_cache_filter_hit{instance=\"$host\"}[5m])", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Hit", "metric": "", "refId": "A", "step": 10 }, { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "rate(mysql_engine_rocksdb_block_cache_filter_miss{instance=\"$host\"}[$interval]) or irate(mysql_engine_rocksdb_block_cache_filter_miss{instance=\"$host\"}[5m])", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Miss", "metric": "", "refId": "B", "step": 10 }, { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "rate(mysql_engine_rocksdb_block_cache_filter_add{instance=\"$host\"}[$interval]) or irate(mysql_engine_rocksdb_block_cache_filter_add{instance=\"$host\"}[5m])", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Added", "metric": "", "refId": "C", "step": 10 } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "MyRocks Cache Filter Hit Rate", "tooltip": { "msResolution": false, "shared": true, "sort": 0, "value_type": "cumulative" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": "", "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "short", "label": "", "logBase": 1, "max": null, "min": 0, "show": true } ] }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "Prometheus", "decimals": 0, "editable": true, "error": false, "fill": 2, "grid": {}, "height": "250px", "id": 6, "legend": { "alignAsTable": true, "avg": true, "current": false, "max": true, "min": true, "show": true, "sort": "avg", "sortDesc": true, "total": false, "values": true }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "MyRocks Cache Filter Bytes", "fill": 0 } ], "spaceLength": 10, "span": 6, "stack": false, "steppedLine": false, "targets": [ { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "rate(mysql_engine_rocksdb_block_cache_filter_bytes_insert{instance=\"$host\"}[$interval]) or irate(mysql_engine_rocksdb_block_cache_filter_bytes_insert{instance=\"$host\"}[5m])", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Inserted", "metric": "", "refId": "A", "step": 10 }, { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "rate(mysql_engine_rocksdb_block_cache_filter_bytes_evict{instance=\"$host\"}[$interval]) or irate(mysql_engine_rocksdb_block_cache_filter_bytes_evict{instance=\"$host\"}[5m])", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Evicted", "metric": "", "refId": "B", "step": 10 } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "MyRocks Cache Filter", "tooltip": { "msResolution": false, "shared": true, "sort": 0, "value_type": "cumulative" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": "", "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "short", "label": "", "logBase": 1, "max": null, "min": 0, "show": true } ] } ], "repeat": null, "repeatIteration": null, "repeatRowId": null, "showTitle": false, "title": "Cache Filter", "titleSize": "h6" }, { "collapse": false, "height": "250px", "panels": [ { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "Prometheus", "decimals": 0, "editable": true, "error": false, "fill": 2, "grid": {}, "id": 8, "legend": { "alignAsTable": true, "avg": true, "current": false, "hideEmpty": true, "hideZero": true, "max": true, "min": true, "rightSide": false, "show": true, "sort": "avg", "sortDesc": true, "total": false, "values": true }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "System Memory", "fill": 0, "stack": false } ], "spaceLength": 10, "span": 6, "stack": true, "steppedLine": false, "targets": [ { "expr": "rate(mysql_engine_rocksdb_block_cache_data_bytes_insert{instance=\"$host\"}[$interval]) or irate(mysql_engine_rocksdb_block_cache_data_bytes_insert{instance=\"$host\"}[5m])", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Bytes", "metric": "", "refId": "A", "step": 10 } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "MyRocks Cache Data Bytes Inserted", "tooltip": { "msResolution": false, "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "bytes", "label": "", "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ] }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "Prometheus", "decimals": 0, "editable": true, "error": false, "fill": 2, "grid": {}, "id": 9, "legend": { "alignAsTable": true, "avg": true, "current": false, "hideEmpty": false, "hideZero": false, "max": true, "min": true, "rightSide": false, "show": true, "sort": "avg", "sortDesc": true, "total": false, "values": true }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "System Memory", "fill": 0, "stack": false } ], "spaceLength": 10, "span": 6, "stack": true, "steppedLine": false, "targets": [ { "expr": "rate(mysql_engine_rocksdb_bloom_filter_useful{instance=\"$host\"}[$interval]) or irate(mysql_engine_rocksdb_bloom_filter_useful{instance=\"$host\"}[5m]) ", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Useful", "metric": "", "refId": "A", "step": 10 } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "MyRocks Bloom Filter", "tooltip": { "msResolution": false, "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "bytes", "label": "", "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ] } ], "repeat": null, "repeatIteration": null, "repeatRowId": null, "showTitle": false, "title": "Memory", "titleSize": "h6" }, { "collapse": false, "height": 217, "panels": [ { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "Prometheus", "decimals": 0, "editable": true, "error": false, "fill": 2, "grid": {}, "height": "250px", "id": 10, "legend": { "alignAsTable": true, "avg": true, "current": false, "max": true, "min": true, "show": true, "sort": "avg", "sortDesc": true, "total": false, "values": true }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "MyRocks Memtable", "fill": 0 } ], "spaceLength": 10, "span": 6, "stack": false, "steppedLine": false, "targets": [ { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "rate(mysql_engine_rocksdb_memtable_hit{instance=\"$host\"}[$interval]) or irate(mysql_engine_rocksdb_memtable_hit{instance=\"$host\"}[5m])", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Hit", "metric": "", "refId": "B", "step": 10 }, { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "rate(mysql_engine_rocksdb_memtable_miss{instance=\"$host\"}[$interval]) or irate(mysql_engine_rocksdb_memtable_miss{instance=\"$host\"}[5m])", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Miss", "metric": "", "refId": "A", "step": 10 } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "MyRocks Memtable", "tooltip": { "msResolution": false, "shared": true, "sort": 0, "value_type": "cumulative" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": "", "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "short", "label": "", "logBase": 1, "max": null, "min": 0, "show": true } ] }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "Prometheus", "decimals": 0, "editable": true, "error": false, "fill": 2, "grid": {}, "height": "250px", "id": 11, "legend": { "alignAsTable": true, "avg": true, "current": false, "max": true, "min": true, "show": true, "sort": null, "sortDesc": null, "total": false, "values": true }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "MyRocks Hit L0/l1", "fill": 0 } ], "spaceLength": 10, "span": 6, "stack": false, "steppedLine": false, "targets": [ { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "rate(mysql_engine_rocksdb_l0_hit{instance=\"$host\"}[$interval]) or irate(mysql_engine_rocksdb_l0_hit{instance=\"$host\"}[5m]) ", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "l0", "metric": "", "refId": "A", "step": 10 }, { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "rate(mysql_engine_rocksdb_l1_hit{instance=\"$host\"}[$interval]) or irate(mysql_engine_rocksdb_l1_hit{instance=\"$host\"}[5m])", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "l1", "metric": "", "refId": "B", "step": 10 } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "MyRocks Cache l0/l1", "tooltip": { "msResolution": false, "shared": true, "sort": 0, "value_type": "cumulative" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": "", "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "short", "label": "", "logBase": 1, "max": null, "min": 0, "show": true } ] } ], "repeat": null, "repeatIteration": null, "repeatRowId": null, "showTitle": false, "title": "Connections", "titleSize": "h6" }, { "collapse": false, "height": 217, "panels": [ { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "Prometheus", "decimals": 0, "editable": true, "error": false, "fill": 2, "grid": {}, "height": "250px", "id": 12, "legend": { "alignAsTable": true, "avg": true, "current": false, "max": true, "min": true, "show": true, "sort": "avg", "sortDesc": true, "total": false, "values": true }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "MyRocks Number of Keys", "fill": 0 } ], "spaceLength": 10, "span": 6, "stack": false, "steppedLine": false, "targets": [ { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "rate(mysql_engine_rocksdb_number_keys_read{instance=\"$host\"}[$interval]) or irate(mysql_engine_rocksdb_number_keys_read{instance=\"$host\"}[5m])", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Read", "metric": "", "refId": "A", "step": 10 }, { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "rate(mysql_engine_rocksdb_number_keys_written{instance=\"$host\"}[$interval]) or irate(mysql_engine_rocksdb_number_keys_written{instance=\"$host\"}[5m])", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Write", "metric": "", "refId": "B", "step": 10 }, { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "rate(mysql_engine_rocksdb_number_keys_updated{instance=\"$host\"}[$interval]) or irate(mysql_engine_rocksdb_number_keys_updated{instance=\"$host\"}[5m])", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Updated", "metric": "", "refId": "C", "step": 10 } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "MyRocks Number Of Keys", "tooltip": { "msResolution": false, "shared": true, "sort": 0, "value_type": "cumulative" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": "", "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "short", "label": "", "logBase": 1, "max": null, "min": 0, "show": true } ] }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "Prometheus", "decimals": 0, "editable": true, "error": false, "fill": 2, "grid": {}, "height": "250px", "id": 13, "legend": { "alignAsTable": true, "avg": true, "current": false, "max": true, "min": true, "show": true, "sort": null, "sortDesc": null, "total": false, "values": true }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "MyRocks R/W", "fill": 0 } ], "spaceLength": 10, "span": 6, "stack": false, "steppedLine": false, "targets": [ { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "rate(mysql_engine_rocksdb_bytes_read{instance=\"$host\"}[$interval]) or irate(mysql_engine_rocksdb_bytes_read{instance=\"$host\"}[5m])", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Read", "metric": "", "refId": "A", "step": 10 }, { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "rate(mysql_engine_rocksdb_bytes_written{instance=\"$host\"}[$interval]) or irate(mysql_engine_rocksdb_bytes_written{instance=\"$host\"}[5m])", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Write", "metric": "", "refId": "B", "step": 10 } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "MyRocks R/W", "tooltip": { "msResolution": false, "shared": true, "sort": 0, "value_type": "cumulative" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": "", "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "short", "label": "", "logBase": 1, "max": null, "min": 0, "show": true } ] } ], "repeat": null, "repeatIteration": null, "repeatRowId": null, "showTitle": false, "title": "Connections", "titleSize": "h6" }, { "collapse": false, "height": 152, "panels": [ { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "Prometheus", "decimals": 0, "editable": true, "error": false, "fill": 2, "grid": {}, "height": "250px", "id": 14, "legend": { "alignAsTable": true, "avg": true, "current": false, "max": true, "min": true, "rightSide": false, "show": true, "sort": "avg", "sortDesc": true, "total": false, "values": true }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "MyRocks Number of DB ops", "fill": 0 } ], "spaceLength": 10, "span": 6, "stack": false, "steppedLine": false, "targets": [ { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "rate(mysql_engine_rocksdb_number_db_seek{instance=\"$host\"}[$interval]) or irate(mysql_engine_rocksdb_number_db_seek{instance=\"$host\"}[5m])", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Seek", "metric": "", "refId": "A", "step": 10 }, { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "rate(mysql_engine_rocksdb_number_db_seek_found{instance=\"$host\"}[$interval]) or irate(mysql_engine_rocksdb_number_db_seek_found{instance=\"$host\"}[5m])", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Seek Found", "metric": "", "refId": "B", "step": 10 }, { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "rate(mysql_engine_rocksdb_number_db_next{instance=\"$host\"}[$interval]) or irate(mysql_engine_rocksdb_number_db_next{instance=\"$host\"}[5m])", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Next", "metric": "", "refId": "C", "step": 10 }, { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "rate(mysql_engine_rocksdb_number_db_next_found{instance=\"$host\"}[$interval]) or irate(mysql_engine_rocksdb_number_db_next_found{instance=\"$host\"}[5m])", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Next Found", "metric": "", "refId": "D", "step": 10 }, { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "rate(mysql_engine_rocksdb_number_db_prev{instance=\"$host\"}[$interval]) or irate(mysql_engine_rocksdb_number_db_prev{instance=\"$host\"}[5m])", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Prev", "metric": "", "refId": "E", "step": 10 }, { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "rate(mysql_engine_rocksdb_number_db_prev_found{instance=\"$host\"}[$interval]) or irate(mysql_engine_rocksdb_number_db_prev_found{instance=\"$host\"}[5m])", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Prev Found", "metric": "", "refId": "F", "step": 10 } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "MyRocks Number of DB ops", "tooltip": { "msResolution": false, "shared": true, "sort": 0, "value_type": "cumulative" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": "", "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "short", "label": "", "logBase": 1, "max": null, "min": 0, "show": true } ] }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "Prometheus", "decimals": 0, "editable": true, "error": false, "fill": 2, "grid": {}, "height": "250px", "id": 19, "legend": { "alignAsTable": true, "avg": true, "current": false, "max": true, "min": true, "rightSide": false, "show": true, "sort": "avg", "sortDesc": true, "total": false, "values": true }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "MyRocks Write ops", "fill": 0 } ], "spaceLength": 10, "span": 6, "stack": false, "steppedLine": false, "targets": [ { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "rate(mysql_engine_rocksdb_write_self{instance=\"$host\"}[$interval]) or irate(mysql_engine_rocksdb_write_self{instance=\"$host\"}[5m])", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Self", "metric": "", "refId": "A", "step": 10 }, { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "rate(mysql_engine_rocksdb_write_other{instance=\"$host\"}[$interval]) or irate(mysql_engine_rocksdb_write_other{instance=\"$host\"}[5m])", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Other", "metric": "", "refId": "B", "step": 10 }, { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "rate(mysql_engine_rocksdb_write_timeout{instance=\"$host\"}[$interval]) or irate(mysql_engine_rocksdb_write_timeout{instance=\"$host\"}[5m]) ", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Timeout", "metric": "", "refId": "C", "step": 10 }, { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "rate(mysql_engine_rocksdb_write_wal{instance=\"$host\"}[$interval]) or irate(mysql_engine_rocksdb_write_wal{instance=\"$host\"}[5m]) ", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "WAL", "metric": "", "refId": "D", "step": 10 } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "MyRocks Write ops", "tooltip": { "msResolution": false, "shared": true, "sort": 0, "value_type": "cumulative" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": "", "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "short", "label": "", "logBase": 1, "max": null, "min": 0, "show": true } ] } ], "repeat": null, "repeatIteration": null, "repeatRowId": null, "showTitle": false, "title": "Connections", "titleSize": "h6" }, { "collapse": false, "height": 250, "panels": [ { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "Prometheus", "decimals": 0, "editable": true, "error": false, "fill": 2, "grid": {}, "id": 15, "legend": { "alignAsTable": true, "avg": true, "current": false, "hideEmpty": true, "hideZero": true, "max": true, "min": true, "rightSide": false, "show": true, "sort": "avg", "sortDesc": true, "total": false, "values": true }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "System Memory", "fill": 0, "stack": false } ], "spaceLength": 10, "span": 6, "stack": true, "steppedLine": false, "targets": [ { "expr": "rate(mysql_engine_rocksdb_db_iter_bytes_read{instance=\"$host\"}[$interval]) or irate(mysql_engine_rocksdb_db_iter_bytes_read{instance=\"$host\"}[5m])", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Reads", "metric": "", "refId": "A", "step": 10 } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "MyRocks Bytes Read by Iterations", "tooltip": { "msResolution": false, "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "bytes", "label": "", "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ] }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "Prometheus", "decimals": 0, "editable": true, "error": false, "fill": 2, "grid": {}, "id": 16, "legend": { "alignAsTable": true, "avg": true, "current": false, "hideEmpty": true, "hideZero": true, "max": true, "min": true, "rightSide": false, "show": true, "sort": "avg", "sortDesc": true, "total": false, "values": true }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "System Memory", "fill": 0, "stack": false } ], "spaceLength": 10, "span": 6, "stack": true, "steppedLine": false, "targets": [ { "expr": "rate(mysql_engine_rocksdb_number_reseeks_iteration{instance=\"$host\"}[$interval]) or irate(mysql_engine_rocksdb_number_reseeks_iteration{instance=\"$host\"}[5m])", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Reseeks", "metric": "", "refId": "A", "step": 10 } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "MyRocks Number Reseeks in Iterations", "tooltip": { "msResolution": false, "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "none", "label": "", "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ] } ], "repeat": null, "repeatIteration": null, "repeatRowId": null, "showTitle": false, "title": "Iterations", "titleSize": "h6" }, { "collapse": false, "height": 217, "panels": [ { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "Prometheus", "decimals": 0, "editable": true, "error": false, "fill": 2, "grid": {}, "height": "250px", "id": 17, "legend": { "alignAsTable": true, "avg": true, "current": false, "max": true, "min": true, "show": true, "sort": "avg", "sortDesc": true, "total": false, "values": true }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "MyRocks WAL", "fill": 0 } ], "spaceLength": 10, "span": 6, "stack": false, "steppedLine": false, "targets": [ { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "rate(mysql_engine_rocksdb_wal_synced{instance=\"$host\"}[$interval]) or irate(mysql_engine_rocksdb_wal_synced{instance=\"$host\"}[5m]) ", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Syncs", "metric": "", "refId": "A", "step": 10 }, { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "rate(mysql_engine_rocksdb_wal_bytes{instance=\"$host\"}[$interval]) or irate(mysql_engine_rocksdb_wal_bytes{instance=\"$host\"}[5m]) ", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Bytes", "metric": "", "refId": "B", "step": 10 } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "MyRocks WAL", "tooltip": { "msResolution": false, "shared": true, "sort": 0, "value_type": "cumulative" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": "", "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "short", "label": "", "logBase": 1, "max": null, "min": 0, "show": true } ] }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "Prometheus", "decimals": 0, "editable": true, "error": false, "fill": 2, "grid": {}, "height": "250px", "id": 18, "legend": { "alignAsTable": true, "avg": true, "current": false, "max": true, "min": true, "show": true, "sort": null, "sortDesc": null, "total": false, "values": true }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "File Operations", "fill": 0 } ], "spaceLength": 10, "span": 6, "stack": false, "steppedLine": false, "targets": [ { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "rate(mysql_engine_rocksdb_no_file_opens{instance=\"$host\"}[$interval]) or irate(mysql_engine_rocksdb_no_file_opens{instance=\"$host\"}[5m]) ", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Open", "metric": "", "refId": "A", "step": 10 }, { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "rate(mysql_engine_rocksdb_no_file_closes{instance=\"$host\"}[$interval]) or irate(mysql_engine_rocksdb_no_file_closes{instance=\"$host\"}[5m])", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Closes", "metric": "", "refId": "B", "step": 10 }, { "calculatedInterval": "2m", "datasourceErrors": {}, "errors": {}, "expr": "rate(mysql_engine_rocksdb_no_file_errors{instance=\"$host\"}[$interval]) or irate(mysql_engine_rocksdb_no_file_errors{instance=\"$host\"}[5m]) ", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Errors", "metric": "", "refId": "C", "step": 10 } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "MyRocks File Operations", "tooltip": { "msResolution": false, "shared": true, "sort": 0, "value_type": "cumulative" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": "", "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "short", "label": "", "logBase": 1, "max": null, "min": 0, "show": true } ] } ], "repeat": null, "repeatIteration": null, "repeatRowId": null, "showTitle": false, "title": "Connections", "titleSize": "h6" } ], "schemaVersion": 14, "style": "dark", "tags": [ "Percona", "MySQL" ], "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(mysql_global_variables_rocksdb_block_cache_size, instance)", "refresh": 1, "refresh_on_load": false, "regex": "", "sort": 1, "tagValuesQuery": null, "tags": [], "tagsQuery": null, "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": "MySQL MyRocks Metrics", "version": 0 }