{
    "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"
        }
    ],
    "rows": [
        {
            "collapse": false,
            "height": "250px",
            "panels": [
                {
                    "aliasColors": {},
                    "bars": false,
                    "datasource": "Prometheus",
                    "editable": true,
                    "error": false,
                    "fill": 2,
                    "grid": {},
                    "id": 9,
                    "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": [],
                    "span": 9,
                    "stack": false,
                    "steppedLine": false,
                    "targets": [
                        {
                            "expr": "rate(mysql_global_status_tokudb_leaf_nodes_flushed_checkpoint_bytes{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_leaf_nodes_flushed_checkpoint_bytes{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_leaf_nodes_flushed_checkpoint_bytes",
                            "refId": "A",
                            "step": 300
                        },
                        {
                            "expr": "rate(mysql_global_status_tokudb_nonleaf_nodes_flushed_to_disk_checkpoint_bytes{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_nonleaf_nodes_flushed_to_disk_checkpoint_bytes{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_nonleaf_nodes_flushed_to_disk_checkpoint_bytes",
                            "refId": "D",
                            "step": 300
                        }
                    ],
                    "thresholds": [],
                    "timeFrom": null,
                    "timeShift": null,
                    "title": "TokuDB Checkpointing",
                    "tooltip": {
                        "msResolution": false,
                        "shared": true,
                        "sort": 0,
                        "value_type": "cumulative"
                    },
                    "type": "graph",
                    "xaxis": {
                        "mode": "time",
                        "name": null,
                        "show": true,
                        "values": []
                    },
                    "yaxes": [
                        {
                            "format": "bytes",
                            "logBase": 1,
                            "max": null,
                            "min": 0,
                            "show": true
                        },
                        {
                            "format": "short",
                            "logBase": 1,
                            "max": null,
                            "min": 0,
                            "show": true
                        }
                    ]
                },
                {
                    "cacheTimeout": null,
                    "colorBackground": false,
                    "colorValue": false,
                    "colors": [
                        "rgba(50, 172, 45, 0.97)",
                        "rgba(237, 129, 40, 0.89)",
                        "rgba(245, 54, 54, 0.9)"
                    ],
                    "datasource": "Prometheus",
                    "decimals": 0,
                    "editable": true,
                    "error": false,
                    "format": "bytes",
                    "gauge": {
                        "maxValue": 100,
                        "minValue": 0,
                        "show": false,
                        "thresholdLabels": false,
                        "thresholdMarkers": true
                    },
                    "height": "125px",
                    "id": 10,
                    "interval": "$interval",
                    "links": [],
                    "mappingType": 1,
                    "mappingTypes": [
                        {
                            "name": "value to text",
                            "value": 1
                        },
                        {
                            "name": "range to text",
                            "value": 2
                        }
                    ],
                    "maxDataPoints": 100,
                    "nullPointMode": "connected",
                    "nullText": null,
                    "postfix": "",
                    "postfixFontSize": "50%",
                    "prefix": "",
                    "prefixFontSize": "80%",
                    "rangeMaps": [
                        {
                            "from": "null",
                            "text": "N/A",
                            "to": "null"
                        }
                    ],
                    "span": 3,
                    "sparkline": {
                        "fillColor": "rgba(31, 118, 189, 0.18)",
                        "full": false,
                        "lineColor": "rgb(31, 120, 193)",
                        "show": false
                    },
                    "targets": [
                        {
                            "calculatedInterval": "10m",
                            "datasourceErrors": {},
                            "errors": {},
                            "expr": "mysql_global_variables_tokudb_cache_size{instance=\"$host\"}",
                            "interval": "5m",
                            "intervalFactor": 1,
                            "legendFormat": "",
                            "metric": "",
                            "refId": "A",
                            "step": 300
                        }
                    ],
                    "thresholds": "90,95",
                    "title": "TokuDB Cache Size",
                    "transparent": false,
                    "type": "singlestat",
                    "valueFontSize": "80%",
                    "valueMaps": [],
                    "valueName": "current"
                }
            ],
            "repeat": null,
            "repeatIteration": null,
            "repeatRowId": null,
            "showTitle": false,
            "title": "Checkpointing",
            "titleSize": "h6"
        },
        {
            "collapse": false,
            "height": "250px",
            "panels": [
                {
                    "aliasColors": {},
                    "bars": false,
                    "datasource": "Prometheus",
                    "editable": true,
                    "error": false,
                    "fill": 2,
                    "grid": {},
                    "id": 2,
                    "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": [],
                    "span": 6,
                    "stack": false,
                    "steppedLine": false,
                    "targets": [
                        {
                            "expr": "rate(mysql_global_status_tokudb_cachetable_miss{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_cachetable_miss{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_cachetable_miss",
                            "refId": "A",
                            "step": 300
                        },
                        {
                            "expr": "rate(mysql_global_status_tokudb_cachetable_evictions{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_cachetable_evictions{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_cachetable_evictions",
                            "refId": "B",
                            "step": 300
                        },
                        {
                            "expr": "rate(mysql_global_status_tokudb_cachetable_prefetches{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_cachetable_prefetches{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_cachetable_prefetches",
                            "refId": "C",
                            "step": 300
                        }
                    ],
                    "thresholds": [],
                    "timeFrom": null,
                    "timeShift": null,
                    "title": "TokuDB CacheTable",
                    "tooltip": {
                        "msResolution": false,
                        "shared": true,
                        "sort": 0,
                        "value_type": "cumulative"
                    },
                    "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",
                    "editable": true,
                    "error": false,
                    "fill": 2,
                    "grid": {},
                    "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": [],
                    "span": 6,
                    "stack": false,
                    "steppedLine": false,
                    "targets": [
                        {
                            "expr": "{__name__=~\"mysql_global_status_tokudb_cachetable_size_.+\", instance=\"$host\"}",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "{{ __name__ }}",
                            "refId": "A",
                            "step": 300
                        }
                    ],
                    "thresholds": [],
                    "timeFrom": null,
                    "timeShift": null,
                    "title": "TokuDB CacheTable Size",
                    "tooltip": {
                        "msResolution": false,
                        "shared": true,
                        "sort": 0,
                        "value_type": "cumulative"
                    },
                    "type": "graph",
                    "xaxis": {
                        "mode": "time",
                        "name": null,
                        "show": true,
                        "values": []
                    },
                    "yaxes": [
                        {
                            "format": "bytes",
                            "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": "CacheTable",
            "titleSize": "h6"
        },
        {
            "collapse": false,
            "height": "250px",
            "panels": [
                {
                    "aliasColors": {},
                    "bars": false,
                    "datasource": "Prometheus",
                    "editable": true,
                    "error": false,
                    "fill": 2,
                    "grid": {},
                    "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": [],
                    "span": 6,
                    "stack": false,
                    "steppedLine": false,
                    "targets": [
                        {
                            "expr": "rate(mysql_global_status_tokudb_pivots_fetched_for_query_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_pivots_fetched_for_query_seconds{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_pivots_fetched_for_query_seconds",
                            "refId": "A",
                            "step": 300
                        },
                        {
                            "expr": "rate(mysql_global_status_tokudb_pivots_fetched_for_prefetch_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_pivots_fetched_for_prefetch_seconds{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_pivots_fetched_for_prefetch_seconds",
                            "refId": "B",
                            "step": 300
                        },
                        {
                            "expr": "rate(mysql_global_status_tokudb_pivots_fetched_for_write_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_pivots_fetched_for_write_seconds{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_pivots_fetched_for_write_seconds",
                            "refId": "C",
                            "step": 300
                        }
                    ],
                    "thresholds": [],
                    "timeFrom": null,
                    "timeShift": null,
                    "title": "TokuDB Pivots Time",
                    "tooltip": {
                        "msResolution": false,
                        "shared": true,
                        "sort": 0,
                        "value_type": "cumulative"
                    },
                    "type": "graph",
                    "xaxis": {
                        "mode": "time",
                        "name": null,
                        "show": true,
                        "values": []
                    },
                    "yaxes": [
                        {
                            "format": "s",
                            "logBase": 1,
                            "max": null,
                            "min": 0,
                            "show": true
                        },
                        {
                            "format": "short",
                            "logBase": 1,
                            "max": null,
                            "min": 0,
                            "show": true
                        }
                    ]
                },
                {
                    "aliasColors": {},
                    "bars": false,
                    "datasource": "Prometheus",
                    "editable": true,
                    "error": false,
                    "fill": 2,
                    "grid": {},
                    "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": [],
                    "span": 6,
                    "stack": false,
                    "steppedLine": false,
                    "targets": [
                        {
                            "expr": "rate(mysql_global_status_tokudb_db_opens{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_db_opens{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_db_opens",
                            "refId": "A",
                            "step": 300
                        },
                        {
                            "expr": "mysql_global_status_tokudb_db_open_current{instance=\"$host\"}",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_db_open_current",
                            "refId": "B",
                            "step": 300
                        },
                        {
                            "expr": "mysql_global_status_tokudb_db_open_max{instance=\"$host\"}",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_db_open_max",
                            "refId": "C",
                            "step": 300
                        },
                        {
                            "expr": "rate(mysql_global_status_tokudb_db_closes{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_db_closes{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_db_closes",
                            "refId": "D",
                            "step": 300
                        }
                    ],
                    "thresholds": [],
                    "timeFrom": null,
                    "timeShift": null,
                    "title": "TokuDB Opens/Closes",
                    "tooltip": {
                        "msResolution": false,
                        "shared": true,
                        "sort": 0,
                        "value_type": "cumulative"
                    },
                    "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": "Pivots",
            "titleSize": "h6"
        },
        {
            "collapse": false,
            "height": "250px",
            "panels": [
                {
                    "aliasColors": {},
                    "bars": false,
                    "datasource": "Prometheus",
                    "editable": true,
                    "error": false,
                    "fill": 2,
                    "grid": {},
                    "id": 8,
                    "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": [],
                    "span": 6,
                    "stack": false,
                    "steppedLine": false,
                    "targets": [
                        {
                            "expr": "rate(mysql_global_status_tokudb_leaf_compression_to_memory_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_leaf_compression_to_memory_seconds{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_leaf_compression_to_memory_seconds",
                            "refId": "A",
                            "step": 300
                        },
                        {
                            "expr": "rate(mysql_global_status_tokudb_leaf_serialization_to_memory_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_leaf_serialization_to_memory_seconds{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_leaf_serialization_to_memory_seconds",
                            "refId": "B",
                            "step": 300
                        },
                        {
                            "expr": "rate(mysql_global_status_tokudb_leaf_deserialization_to_memory_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_leaf_deserialization_to_memory_seconds{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_leaf_deserialization_to_memory_seconds",
                            "refId": "C",
                            "step": 300
                        },
                        {
                            "expr": "rate(mysql_global_status_tokudb_leaf_decompression_to_memory_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_leaf_decompression_to_memory_seconds{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_leaf_decompression_to_memory_seconds",
                            "refId": "D",
                            "step": 300
                        }
                    ],
                    "thresholds": [],
                    "timeFrom": null,
                    "timeShift": null,
                    "title": "TokuDB Leaf",
                    "tooltip": {
                        "msResolution": false,
                        "shared": true,
                        "sort": 0,
                        "value_type": "cumulative"
                    },
                    "type": "graph",
                    "xaxis": {
                        "mode": "time",
                        "name": null,
                        "show": true,
                        "values": []
                    },
                    "yaxes": [
                        {
                            "format": "s",
                            "logBase": 1,
                            "max": null,
                            "min": 0,
                            "show": true
                        },
                        {
                            "format": "short",
                            "logBase": 1,
                            "max": null,
                            "min": 0,
                            "show": true
                        }
                    ]
                },
                {
                    "aliasColors": {},
                    "bars": false,
                    "datasource": "Prometheus",
                    "editable": true,
                    "error": false,
                    "fill": 2,
                    "grid": {},
                    "id": 7,
                    "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": [],
                    "span": 6,
                    "stack": false,
                    "steppedLine": false,
                    "targets": [
                        {
                            "expr": "rate(mysql_global_status_tokudb_nonleaf_compression_to_memory_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_nonleaf_compression_to_memory_seconds{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_nonleaf_compression_to_memory_seconds",
                            "refId": "A",
                            "step": 300
                        },
                        {
                            "expr": "rate(mysql_global_status_tokudb_nonleaf_serialization_to_memory_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_nonleaf_serialization_to_memory_seconds{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_nonleaf_serialization_to_memory_seconds",
                            "refId": "B",
                            "step": 300
                        },
                        {
                            "expr": "rate(mysql_global_status_tokudb_nonleaf_deserialization_to_memory_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_nonleaf_deserialization_to_memory_seconds{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_nonleaf_deserialization_to_memory_seconds",
                            "refId": "C",
                            "step": 300
                        },
                        {
                            "expr": "rate(mysql_global_status_tokudb_nonleaf_decompression_to_memory_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_nonleaf_decompression_to_memory_seconds{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_nonleaf_decompression_to_memory_seconds",
                            "refId": "D",
                            "step": 300
                        }
                    ],
                    "thresholds": [],
                    "timeFrom": null,
                    "timeShift": null,
                    "title": "TokuDB NonLeaf",
                    "tooltip": {
                        "msResolution": false,
                        "shared": true,
                        "sort": 0,
                        "value_type": "cumulative"
                    },
                    "type": "graph",
                    "xaxis": {
                        "mode": "time",
                        "name": null,
                        "show": true,
                        "values": []
                    },
                    "yaxes": [
                        {
                            "format": "s",
                            "logBase": 1,
                            "max": null,
                            "min": 0,
                            "show": true
                        },
                        {
                            "format": "short",
                            "logBase": 1,
                            "max": null,
                            "min": 0,
                            "show": true
                        }
                    ]
                },
                {
                    "aliasColors": {},
                    "bars": false,
                    "datasource": "Prometheus",
                    "editable": true,
                    "error": false,
                    "fill": 2,
                    "grid": {},
                    "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": [],
                    "span": 9,
                    "stack": false,
                    "steppedLine": false,
                    "targets": [
                        {
                            "expr": "rate(mysql_global_status_tokudb_basements_fetched_target_query_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_basements_fetched_target_query_seconds{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_basements_fetched_target_query_seconds",
                            "refId": "D",
                            "step": 300
                        },
                        {
                            "expr": "rate(mysql_global_status_tokudb_basements_fetched_prefetch_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_basements_fetched_prefetch_seconds{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_basements_fetched_prefetch_seconds",
                            "refId": "A",
                            "step": 300
                        },
                        {
                            "expr": "rate(mysql_global_status_tokudb_basements_fetched_prelocked_range_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_basements_fetched_prelocked_range_seconds{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_basements_fetched_prelocked_range_seconds",
                            "refId": "B",
                            "step": 300
                        },
                        {
                            "expr": "rate(mysql_global_status_tokudb_basements_fetched_for_write_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_basements_fetched_for_write_seconds{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_basements_fetched_for_write_seconds",
                            "refId": "C",
                            "step": 300
                        }
                    ],
                    "thresholds": [],
                    "timeFrom": null,
                    "timeShift": null,
                    "title": "TokuDB Basements Time",
                    "tooltip": {
                        "msResolution": false,
                        "shared": true,
                        "sort": 0,
                        "value_type": "cumulative"
                    },
                    "type": "graph",
                    "xaxis": {
                        "mode": "time",
                        "name": null,
                        "show": true,
                        "values": []
                    },
                    "yaxes": [
                        {
                            "format": "s",
                            "logBase": 1,
                            "max": null,
                            "min": 0,
                            "show": true
                        },
                        {
                            "format": "short",
                            "logBase": 1,
                            "max": null,
                            "min": 0,
                            "show": true
                        }
                    ]
                },
                {
                    "aliasColors": {},
                    "bars": false,
                    "datasource": "Prometheus",
                    "editable": true,
                    "error": false,
                    "fill": 2,
                    "grid": {},
                    "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": [],
                    "span": 9,
                    "stack": false,
                    "steppedLine": false,
                    "targets": [
                        {
                            "expr": "rate(mysql_global_status_tokudb_promotion_injections_at_depth_0{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_promotion_injections_at_depth_0{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_promotion_injections_at_depth_0",
                            "refId": "A",
                            "step": 300
                        },
                        {
                            "expr": "rate(mysql_global_status_tokudb_promotion_injections_at_depth_1{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_promotion_injections_at_depth_1{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_promotion_injections_at_depth_1",
                            "refId": "B",
                            "step": 300
                        },
                        {
                            "expr": "rate(mysql_global_status_tokudb_promotion_injections_at_depth_2{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_promotion_injections_at_depth_2{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_promotion_injections_at_depth_2",
                            "refId": "C",
                            "step": 300
                        },
                        {
                            "expr": "rate(mysql_global_status_tokudb_promotion_injections_at_depth_3{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_promotion_injections_at_depth_3{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_promotion_injections_at_depth_3",
                            "refId": "D",
                            "step": 300
                        }
                    ],
                    "thresholds": [],
                    "timeFrom": null,
                    "timeShift": null,
                    "title": "TokuDB Promotion Injections",
                    "tooltip": {
                        "msResolution": false,
                        "shared": true,
                        "sort": 0,
                        "value_type": "cumulative"
                    },
                    "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",
                    "editable": true,
                    "error": false,
                    "fill": 2,
                    "grid": {},
                    "id": 13,
                    "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": [],
                    "span": 9,
                    "stack": false,
                    "steppedLine": false,
                    "targets": [
                        {
                            "expr": "rate(mysql_global_status_tokudb_promotion_stopped_nonempty_buffer{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_promotion_stopped_nonempty_buffer{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_promotion_stopped_nonempty_buffer",
                            "refId": "A",
                            "step": 300
                        },
                        {
                            "expr": "rate(mysql_global_status_tokudb_promotion_stopped_at_height_1{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_promotion_stopped_at_height_1{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_promotion_stopped_at_height_1",
                            "refId": "D",
                            "step": 300
                        },
                        {
                            "expr": "rate(mysql_global_status_tokudb_promotion_stopped_child_locked_or_not_in_memory{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_promotion_stopped_child_locked_or_not_in_memory{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_promotion_stopped_child_locked_or_not_in_memory",
                            "refId": "B",
                            "step": 300
                        },
                        {
                            "expr": "rate(mysql_global_status_tokudb_promotion_stopped_child_not_fully_in_memory{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_promotion_stopped_child_not_fully_in_memory{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_promotion_stopped_child_not_fully_in_memory",
                            "refId": "C",
                            "step": 300
                        },
                        {
                            "expr": "rate(mysql_global_status_tokudb_promotion_stopped_after_locking_child{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_promotion_stopped_after_locking_child{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_promotion_stopped_after_locking_child",
                            "refId": "E",
                            "step": 300
                        }
                    ],
                    "thresholds": [],
                    "timeFrom": null,
                    "timeShift": null,
                    "title": "TokuDB Promotion Stopped",
                    "tooltip": {
                        "msResolution": false,
                        "shared": true,
                        "sort": 0,
                        "value_type": "cumulative"
                    },
                    "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",
                    "editable": true,
                    "error": false,
                    "fill": 2,
                    "grid": {},
                    "id": 11,
                    "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": [],
                    "span": 6,
                    "stack": false,
                    "steppedLine": false,
                    "targets": [
                        {
                            "expr": "rate(mysql_global_status_tokudb_promotion_roots_split{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_promotion_roots_split{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_promotion_roots_split",
                            "refId": "A",
                            "step": 300
                        },
                        {
                            "expr": "rate(mysql_global_status_tokudb_promotion_h1_roots_injected_into{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_promotion_h1_roots_injected_into{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_promotion_h1_roots_injected_into",
                            "refId": "D",
                            "step": 300
                        },
                        {
                            "expr": "rate(mysql_global_status_tokudb_promotion_leaf_roots_injected_into{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_promotion_leaf_roots_injected_into{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_promotion_leaf_roots_injected_into",
                            "refId": "B",
                            "step": 300
                        }
                    ],
                    "thresholds": [],
                    "timeFrom": null,
                    "timeShift": null,
                    "title": "TokuDB Promotion Root",
                    "tooltip": {
                        "msResolution": false,
                        "shared": true,
                        "sort": 0,
                        "value_type": "cumulative"
                    },
                    "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",
                    "editable": true,
                    "error": false,
                    "fill": 2,
                    "grid": {},
                    "id": 19,
                    "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": [],
                    "span": 6,
                    "stack": false,
                    "steppedLine": false,
                    "targets": [
                        {
                            "expr": "rate(mysql_global_status_tokudb_buffers_fetched_target_query{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_buffers_fetched_target_query{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_buffers_fetched_target_query",
                            "refId": "D",
                            "step": 300
                        },
                        {
                            "expr": "rate(mysql_global_status_tokudb_buffers_fetched_prefetch{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_buffers_fetched_prefetch{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_buffers_fetched_prefetch",
                            "refId": "B",
                            "step": 300
                        },
                        {
                            "expr": "rate(mysql_global_status_tokudb_buffers_fetched_prelocked_range{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_buffers_fetched_prelocked_range{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_buffers_fetched_prelocked_range",
                            "refId": "A",
                            "step": 300
                        },
                        {
                            "expr": "rate(mysql_global_status_tokudb_buffers_fetched_for_write{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_buffers_fetched_for_write{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_buffers_fetched_for_write",
                            "refId": "C",
                            "step": 300
                        }
                    ],
                    "thresholds": [],
                    "timeFrom": null,
                    "timeShift": null,
                    "title": "TokuDB Buffers",
                    "tooltip": {
                        "msResolution": false,
                        "shared": true,
                        "sort": 0,
                        "value_type": "cumulative"
                    },
                    "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",
                    "editable": true,
                    "error": false,
                    "fill": 2,
                    "grid": {},
                    "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": [],
                    "span": 9,
                    "stack": false,
                    "steppedLine": false,
                    "targets": [
                        {
                            "expr": "rate(mysql_global_status_tokudb_buffers_fetched_target_query_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_buffers_fetched_target_query_seconds{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_buffers_fetched_target_query_seconds",
                            "refId": "D",
                            "step": 300
                        },
                        {
                            "expr": "rate(mysql_global_status_tokudb_buffers_fetched_prefetch_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_buffers_fetched_prefetch_seconds{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_buffers_fetched_prefetch_seconds",
                            "refId": "A",
                            "step": 300
                        },
                        {
                            "expr": "rate(mysql_global_status_tokudb_buffers_fetched_prelocked_range_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_buffers_fetched_prelocked_range_seconds{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_buffers_fetched_prelocked_range_seconds",
                            "refId": "B",
                            "step": 300
                        },
                        {
                            "expr": "rate(mysql_global_status_tokudb_buffers_fetched_for_write_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_buffers_fetched_for_write_seconds{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_buffers_fetched_for_write_seconds",
                            "refId": "C",
                            "step": 300
                        }
                    ],
                    "thresholds": [],
                    "timeFrom": null,
                    "timeShift": null,
                    "title": "TokuDB Buffers Time",
                    "tooltip": {
                        "msResolution": false,
                        "shared": true,
                        "sort": 0,
                        "value_type": "cumulative"
                    },
                    "type": "graph",
                    "xaxis": {
                        "mode": "time",
                        "name": null,
                        "show": true,
                        "values": []
                    },
                    "yaxes": [
                        {
                            "format": "s",
                            "logBase": 1,
                            "max": null,
                            "min": 0,
                            "show": true
                        },
                        {
                            "format": "short",
                            "logBase": 1,
                            "max": null,
                            "min": 0,
                            "show": true
                        }
                    ]
                },
                {
                    "aliasColors": {},
                    "bars": false,
                    "datasource": "Prometheus",
                    "editable": true,
                    "error": false,
                    "fill": 2,
                    "grid": {},
                    "id": 15,
                    "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": [],
                    "span": 9,
                    "stack": false,
                    "steppedLine": false,
                    "targets": [
                        {
                            "expr": "rate(mysql_global_status_tokudb_leaf_nodes_flushed_not_checkpoint_bytes{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_leaf_nodes_flushed_not_checkpoint_bytes{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_leaf_nodes_flushed_not_checkpoint_bytes",
                            "refId": "A",
                            "step": 300
                        },
                        {
                            "expr": "rate(mysql_global_status_tokudb_leaf_nodes_flushed_not_checkpoint_uncompressed_bytes{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_leaf_nodes_flushed_not_checkpoint_uncompressed_bytes{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_leaf_nodes_flushed_not_checkpoint_uncompressed_bytes",
                            "refId": "D",
                            "step": 300
                        },
                        {
                            "expr": "rate(mysql_global_status_tokudb_nonleaf_nodes_flushed_to_disk_not_checkpoint_bytes{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_nonleaf_nodes_flushed_to_disk_not_checkpoint_bytes{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_nonleaf_nodes_flushed_to_disk_not_checkpoint_bytes",
                            "refId": "B",
                            "step": 300
                        },
                        {
                            "expr": "rate(mysql_global_status_tokudb_nonleaf_nodes_flushed_to_disk_not_checkpoint_uncompresse{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_nonleaf_nodes_flushed_to_disk_not_checkpoint_uncompresse{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_nonleaf_nodes_flushed_to_disk_not_checkpoint_uncompresse",
                            "refId": "C",
                            "step": 300
                        }
                    ],
                    "thresholds": [],
                    "timeFrom": null,
                    "timeShift": null,
                    "title": "TokuDB Flushed Not Checkpoint",
                    "tooltip": {
                        "msResolution": false,
                        "shared": true,
                        "sort": 0,
                        "value_type": "cumulative"
                    },
                    "type": "graph",
                    "xaxis": {
                        "mode": "time",
                        "name": null,
                        "show": true,
                        "values": []
                    },
                    "yaxes": [
                        {
                            "format": "bytes",
                            "logBase": 1,
                            "max": null,
                            "min": 0,
                            "show": true
                        },
                        {
                            "format": "short",
                            "logBase": 1,
                            "max": null,
                            "min": 0,
                            "show": true
                        }
                    ]
                },
                {
                    "aliasColors": {},
                    "bars": false,
                    "datasource": "Prometheus",
                    "editable": true,
                    "error": false,
                    "fill": 2,
                    "grid": {},
                    "id": 16,
                    "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": [],
                    "span": 6,
                    "stack": false,
                    "steppedLine": false,
                    "targets": [
                        {
                            "expr": "rate(mysql_global_status_tokudb_logger_writes_bytes{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_logger_writes_bytes{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_logger_writes_bytes",
                            "refId": "A",
                            "step": 300
                        },
                        {
                            "expr": "rate(mysql_global_status_tokudb_logger_writes_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_logger_writes_seconds{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_logger_writes_seconds",
                            "refId": "B",
                            "step": 300
                        },
                        {
                            "expr": "rate(mysql_global_status_tokudb_logger_writes{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_logger_writes{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_logger_writes",
                            "refId": "C",
                            "step": 300
                        }
                    ],
                    "thresholds": [],
                    "timeFrom": null,
                    "timeShift": null,
                    "title": "TokuDB Logger",
                    "tooltip": {
                        "msResolution": false,
                        "shared": true,
                        "sort": 0,
                        "value_type": "cumulative"
                    },
                    "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",
                    "editable": true,
                    "error": false,
                    "fill": 2,
                    "grid": {},
                    "id": 18,
                    "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": [],
                    "span": 6,
                    "stack": false,
                    "steppedLine": false,
                    "targets": [
                        {
                            "expr": "rate(mysql_global_status_tokudb_leaf_nodes_created{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_leaf_nodes_created{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_leaf_nodes_created",
                            "refId": "A",
                            "step": 300
                        },
                        {
                            "expr": "rate(mysql_global_status_tokudb_nonleaf_nodes_created{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_nonleaf_nodes_created{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_nonleaf_nodes_created",
                            "refId": "B",
                            "step": 300
                        },
                        {
                            "expr": "rate(mysql_global_status_tokudb_leaf_nodes_destroyed{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_leaf_nodes_destroyed{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_leaf_nodes_destroyed",
                            "refId": "C",
                            "step": 300
                        },
                        {
                            "expr": "rate(mysql_global_status_tokudb_nonleaf_nodes_destroyed{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_nonleaf_nodes_destroyed{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_nonleaf_nodes_destroyed",
                            "refId": "D",
                            "step": 300
                        }
                    ],
                    "thresholds": [],
                    "timeFrom": null,
                    "timeShift": null,
                    "title": "TokuDB Create and Destroy",
                    "tooltip": {
                        "msResolution": false,
                        "shared": true,
                        "sort": 0,
                        "value_type": "cumulative"
                    },
                    "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",
                    "editable": true,
                    "error": false,
                    "fill": 2,
                    "grid": {},
                    "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": [],
                    "span": 9,
                    "stack": false,
                    "steppedLine": false,
                    "targets": [
                        {
                            "expr": "rate(mysql_global_status_tokudb_messages_injected_at_root_bytes{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_messages_injected_at_root_bytes{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_messages_injected_at_root_bytes",
                            "refId": "A",
                            "step": 300
                        },
                        {
                            "expr": "rate(mysql_global_status_tokudb_messages_in_trees_estimate_bytes{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_messages_in_trees_estimate_bytes{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_messages_in_trees_estimate_bytes",
                            "refId": "B",
                            "step": 300
                        },
                        {
                            "expr": "rate(mysql_global_status_tokudb_messages_flushed_from_h1_to_leaves_bytes{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_messages_flushed_from_h1_to_leaves_bytes{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_messages_flushed_from_h1_to_leaves_bytes",
                            "refId": "C",
                            "step": 300
                        }
                    ],
                    "thresholds": [],
                    "timeFrom": null,
                    "timeShift": null,
                    "title": "TokuDB Messages",
                    "tooltip": {
                        "msResolution": false,
                        "shared": true,
                        "sort": 0,
                        "value_type": "cumulative"
                    },
                    "type": "graph",
                    "xaxis": {
                        "mode": "time",
                        "name": null,
                        "show": true,
                        "values": []
                    },
                    "yaxes": [
                        {
                            "format": "bytes",
                            "logBase": 1,
                            "max": null,
                            "min": 0,
                            "show": true
                        },
                        {
                            "format": "short",
                            "logBase": 1,
                            "max": null,
                            "min": 0,
                            "show": true
                        }
                    ]
                },
                {
                    "aliasColors": {},
                    "bars": false,
                    "datasource": "Prometheus",
                    "editable": true,
                    "error": false,
                    "fill": 2,
                    "grid": {},
                    "id": 14,
                    "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": [],
                    "span": 6,
                    "stack": false,
                    "steppedLine": false,
                    "targets": [
                        {
                            "expr": "rate(mysql_global_status_tokudb_messages_ignored_by_leaf_due_to_msn{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_messages_ignored_by_leaf_due_to_msn{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_messages_ignored_by_leaf_due_to_msn",
                            "refId": "E",
                            "step": 300
                        }
                    ],
                    "thresholds": [],
                    "timeFrom": null,
                    "timeShift": null,
                    "title": "TokuDB Messages Ignored",
                    "tooltip": {
                        "msResolution": false,
                        "shared": true,
                        "sort": 0,
                        "value_type": "cumulative"
                    },
                    "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",
                    "editable": true,
                    "error": false,
                    "fill": 2,
                    "grid": {},
                    "id": 20,
                    "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": [],
                    "span": 6,
                    "stack": false,
                    "steppedLine": false,
                    "targets": [
                        {
                            "expr": "rate(mysql_global_status_tokudb_cursor_skip_deleted_leaf_entry{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_cursor_skip_deleted_leaf_entry{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_cursor_skip_deleted_leaf_entry",
                            "refId": "E",
                            "step": 300
                        }
                    ],
                    "thresholds": [],
                    "timeFrom": null,
                    "timeShift": null,
                    "title": "TokuDB Garbage",
                    "tooltip": {
                        "msResolution": false,
                        "shared": true,
                        "sort": 0,
                        "value_type": "cumulative"
                    },
                    "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",
                    "editable": true,
                    "error": false,
                    "fill": 2,
                    "grid": {},
                    "id": 22,
                    "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": [],
                    "span": 9,
                    "stack": false,
                    "steppedLine": false,
                    "targets": [
                        {
                            "expr": "rate(mysql_global_status_tokudb_leaf_nodes_flushed_checkpoint_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_leaf_nodes_flushed_checkpoint_seconds{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_leaf_nodes_flushed_checkpoint_seconds",
                            "refId": "D",
                            "step": 300
                        },
                        {
                            "expr": "rate(mysql_global_status_tokudb_nonleaf_nodes_flushed_to_disk_checkpoint_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_nonleaf_nodes_flushed_to_disk_checkpoint_seconds{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_nonleaf_nodes_flushed_to_disk_checkpoint_seconds",
                            "refId": "B",
                            "step": 300
                        },
                        {
                            "expr": "rate(mysql_global_status_tokudb_leaf_nodes_flushed_not_checkpoint_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_leaf_nodes_flushed_not_checkpoint_seconds{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_leaf_nodes_flushed_not_checkpoint_seconds",
                            "refId": "A",
                            "step": 300
                        },
                        {
                            "expr": "rate(mysql_global_status_tokudb_nonleaf_nodes_flushed_to_disk_not_checkpoint_seconds{instance=\"$host\"}[$interval]) or irate(mysql_global_status_tokudb_nonleaf_nodes_flushed_to_disk_not_checkpoint_seconds{instance=\"$host\"}[5m])",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_nonleaf_nodes_flushed_to_disk_not_checkpoint_seconds",
                            "refId": "C",
                            "step": 300
                        }
                    ],
                    "thresholds": [],
                    "timeFrom": null,
                    "timeShift": null,
                    "title": "TokuDB Flush Types Time",
                    "tooltip": {
                        "msResolution": false,
                        "shared": true,
                        "sort": 0,
                        "value_type": "cumulative"
                    },
                    "type": "graph",
                    "xaxis": {
                        "mode": "time",
                        "name": null,
                        "show": true,
                        "values": []
                    },
                    "yaxes": [
                        {
                            "format": "s",
                            "logBase": 1,
                            "max": null,
                            "min": 0,
                            "show": true
                        },
                        {
                            "format": "short",
                            "logBase": 1,
                            "max": null,
                            "min": 0,
                            "show": true
                        }
                    ]
                },
                {
                    "aliasColors": {},
                    "bars": false,
                    "datasource": "Prometheus",
                    "editable": true,
                    "error": false,
                    "fill": 2,
                    "grid": {},
                    "id": 21,
                    "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": [],
                    "span": 6,
                    "stack": false,
                    "steppedLine": false,
                    "targets": [
                        {
                            "expr": "mysql_global_status_tokudb_overall_node_compression_ratio{instance=\"$host\"} or i",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_overall_node_compression_ratio",
                            "refId": "E",
                            "step": 300
                        },
                        {
                            "expr": "mysql_global_status_tokudb_leaf_node_compression_ratio{instance=\"$host\"}",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_leaf_node_compression_ratio",
                            "refId": "A",
                            "step": 300
                        },
                        {
                            "expr": "mysql_global_status_tokudb_nonleaf_node_compression_ratio{instance=\"$host\"}",
                            "interval": "$interval",
                            "intervalFactor": 1,
                            "legendFormat": "tokudb_nonleaf_node_compression_ratio",
                            "refId": "B",
                            "step": 300
                        }
                    ],
                    "thresholds": [],
                    "timeFrom": null,
                    "timeShift": null,
                    "title": "TokuDB Compression Ratios",
                    "tooltip": {
                        "msResolution": false,
                        "shared": true,
                        "sort": 0,
                        "value_type": "cumulative"
                    },
                    "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": "Leaf",
            "titleSize": "h6"
        }
    ],
    "schemaVersion": 13,
    "sharedCrosshair": true,
    "style": "dark",
    "tags": [
        "MySQL",
        "Percona"
    ],
    "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": "glob",
                "name": "host",
                "query": "label_values(mysql_global_variables_tokudb_cache_size, instance)",
                "refresh": 1,
                "refresh_on_load": false,
                "regex": "",
                "sort": 1,
                "tagValuesQuery": null,
                "tagsQuery": null,
                "type": "query"
            }
        ]
    },
    "time": {
        "from": "now-12h",
        "to": "now"
    },
    "timepicker": {
        "now": true,
        "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 TokuDB Metrics",
    "version": 0
}
