{
   "__inputs": [
      {
         "description": "",
         "label": "test-cluster",
         "name": "DS_TEST-CLUSTER",
         "pluginId": "prometheus",
         "pluginName": "Prometheus",
         "type": "datasource"
      }
   ],
   "__requires": [ ],
   "annotations": {
      "list": [ ]
   },
   "editable": true,
   "gnetId": null,
   "graphTooltip": "shared_crosschair",
   "hideControls": false,
   "id": null,
   "links": [ ],
   "panels": [
      {
         "collapse": true,
         "collapsed": true,
         "gridPos": {
            "h": 1,
            "w": 24,
            "x": 0,
            "y": 0
         },
         "id": 2,
         "panels": [
            {
               "datasource": "${DS_TEST-CLUSTER}",
               "description": "Whether CRR checkpoint advancer is live.",
               "fieldConfig": {
                  "defaults": {
                     "color": {
                        "mode": "thresholds"
                     },
                     "mappings": [
                        {
                           "text": "LIVE",
                           "type": 1,
                           "value": "1"
                        },
                        {
                           "text": "OFFLINE",
                           "type": 1,
                           "value": "0"
                        }
                     ],
                     "noValue": "UNKNOWN",
                     "thresholds": {
                        "mode": "absolute",
                        "steps": [
                           {
                              "color": "gray",
                              "value": null
                           },
                           {
                              "color": "red",
                              "value": 0
                           },
                           {
                              "color": "green",
                              "value": 1
                           }
                        ]
                     }
                  }
               },
               "gridPos": {
                  "h": 4,
                  "w": 6,
                  "x": 0,
                  "y": 0
               },
               "id": 3,
               "links": [ ],
               "options": {
                  "colorMode": "background",
                  "graphMode": "none",
                  "orientation": "horizontal",
                  "reduceOptions": {
                     "calcs": [
                        "lastNotNull"
                     ],
                     "fields": "",
                     "values": false
                  },
                  "textMode": "value"
               },
               "pluginVersion": "7",
               "targets": [
                  {
                     "expr": "round(tidb_br_crr_service_live{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"})",
                     "format": "time_series",
                     "intervalFactor": 2,
                     "legendFormat": "live status",
                     "refId": "A"
                  }
               ],
               "title": "Live Status",
               "transparent": false,
               "type": "stat"
            },
            {
               "datasource": "${DS_TEST-CLUSTER}",
               "description": "Whether CRR checkpoint advancer is ready.",
               "fieldConfig": {
                  "defaults": {
                     "color": {
                        "mode": "thresholds"
                     },
                     "mappings": [
                        {
                           "text": "Ready",
                           "type": 1,
                           "value": "1"
                        },
                        {
                           "text": "NOT Ready",
                           "type": 1,
                           "value": "0"
                        }
                     ],
                     "noValue": "UNKNOWN",
                     "thresholds": {
                        "mode": "absolute",
                        "steps": [
                           {
                              "color": "gray",
                              "value": null
                           },
                           {
                              "color": "red",
                              "value": 0
                           },
                           {
                              "color": "green",
                              "value": 1
                           }
                        ]
                     }
                  }
               },
               "gridPos": {
                  "h": 4,
                  "w": 6,
                  "x": 6,
                  "y": 0
               },
               "id": 4,
               "links": [ ],
               "options": {
                  "colorMode": "background",
                  "graphMode": "none",
                  "orientation": "horizontal",
                  "reduceOptions": {
                     "calcs": [
                        "lastNotNull"
                     ],
                     "fields": "",
                     "values": false
                  },
                  "textMode": "value"
               },
               "pluginVersion": "7",
               "targets": [
                  {
                     "expr": "round(tidb_br_crr_service_ready{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"})",
                     "format": "time_series",
                     "intervalFactor": 2,
                     "legendFormat": "ready status",
                     "refId": "A"
                  }
               ],
               "title": "Ready Status",
               "transparent": false,
               "type": "stat"
            },
            {
               "datasource": "${DS_TEST-CLUSTER}",
               "description": "Current CRR checkpoint advancer calculation round.",
               "fieldConfig": {
                  "defaults": {
                     "links": [ ],
                     "mappings": [ ],
                     "thresholds": {
                        "mode": "absolute",
                        "steps": [ ]
                     },
                     "unit": "none"
                  }
               },
               "gridPos": {
                  "h": 4,
                  "w": 6,
                  "x": 12,
                  "y": 0
               },
               "id": 5,
               "links": [ ],
               "options": {
                  "colorMode": "value",
                  "graphMode": "area",
                  "justifyMode": "auto",
                  "orientation": "auto",
                  "reduceOptions": {
                     "calcs": [
                        "mean"
                     ],
                     "fields": "",
                     "values": false
                  },
                  "textMode": "auto"
               },
               "pluginVersion": "7",
               "targets": [
                  {
                     "expr": "tidb_br_crr_current_round{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}",
                     "format": "time_series",
                     "intervalFactor": 2,
                     "legendFormat": "current round",
                     "refId": "A"
                  }
               ],
               "title": "Current Round",
               "transparent": false,
               "type": "stat"
            },
            {
               "datasource": "${DS_TEST-CLUSTER}",
               "description": "Current alive store count.",
               "fieldConfig": {
                  "defaults": {
                     "links": [ ],
                     "mappings": [ ],
                     "thresholds": {
                        "mode": "absolute",
                        "steps": [ ]
                     },
                     "unit": "none"
                  }
               },
               "gridPos": {
                  "h": 4,
                  "w": 6,
                  "x": 18,
                  "y": 0
               },
               "id": 6,
               "links": [ ],
               "options": {
                  "colorMode": "value",
                  "graphMode": "area",
                  "justifyMode": "auto",
                  "orientation": "auto",
                  "reduceOptions": {
                     "calcs": [
                        "mean"
                     ],
                     "fields": "",
                     "values": false
                  },
                  "textMode": "auto"
               },
               "pluginVersion": "7",
               "targets": [
                  {
                     "expr": "tidb_br_crr_alive_store_count{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}",
                     "format": "time_series",
                     "intervalFactor": 2,
                     "legendFormat": "alive store count",
                     "refId": "A"
                  }
               ],
               "title": "Alive Store Count",
               "transparent": false,
               "type": "stat"
            },
            {
               "aliasColors": { },
               "bars": false,
               "dashLength": 10,
               "dashes": false,
               "datasource": "${DS_TEST-CLUSTER}",
               "description": "Current synced ts(minimum synced flush ts across all alive stores) of CRR service adancer.",
               "fill": 1,
               "fillGradient": 0,
               "gridPos": {
                  "h": 7,
                  "w": 8,
                  "x": 0,
                  "y": 4
               },
               "id": 7,
               "legend": {
                  "alignAsTable": false,
                  "avg": false,
                  "current": false,
                  "max": false,
                  "min": false,
                  "rightSide": true,
                  "show": true,
                  "sideWidth": null,
                  "total": false,
                  "values": false
               },
               "lines": true,
               "linewidth": 1,
               "links": [ ],
               "nullPointMode": "null",
               "percentage": false,
               "pointradius": 5,
               "points": false,
               "renderer": "flot",
               "repeat": null,
               "seriesOverrides": [ ],
               "spaceLength": 10,
               "stack": false,
               "steppedLine": false,
               "targets": [
                  {
                     "expr": "tidb_br_crr_synced_ts{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"} / 262144",
                     "format": "time_series",
                     "intervalFactor": 2,
                     "legendFormat": "{{task}}",
                     "refId": "A"
                  }
               ],
               "thresholds": [ ],
               "timeFrom": null,
               "timeShift": null,
               "title": "Synced TS",
               "tooltip": {
                  "shared": true,
                  "sort": 0,
                  "value_type": "individual"
               },
               "type": "graph",
               "xaxis": {
                  "buckets": null,
                  "mode": "time",
                  "name": null,
                  "show": true,
                  "values": [ ]
               },
               "yaxes": [
                  {
                     "format": "dateTimeAsIso",
                     "label": null,
                     "logBase": 1,
                     "max": null,
                     "min": null,
                     "show": true
                  },
                  {
                     "format": "dateTimeAsIso",
                     "label": null,
                     "logBase": 1,
                     "max": null,
                     "min": null,
                     "show": true
                  }
               ]
            },
            {
               "aliasColors": { },
               "bars": false,
               "dashLength": 10,
               "dashes": false,
               "datasource": "${DS_TEST-CLUSTER}",
               "description": "Log backup current gap between upstream and downstream global checkpoint.",
               "fill": 1,
               "fillGradient": 0,
               "gridPos": {
                  "h": 7,
                  "w": 8,
                  "x": 8,
                  "y": 4
               },
               "id": 8,
               "legend": {
                  "alignAsTable": false,
                  "avg": false,
                  "current": false,
                  "max": false,
                  "min": false,
                  "rightSide": true,
                  "show": true,
                  "sideWidth": null,
                  "total": false,
                  "values": false
               },
               "lines": true,
               "linewidth": 1,
               "links": [ ],
               "nullPointMode": "null",
               "percentage": false,
               "pointradius": 5,
               "points": false,
               "renderer": "flot",
               "repeat": null,
               "seriesOverrides": [ ],
               "spaceLength": 10,
               "stack": false,
               "steppedLine": false,
               "targets": [
                  {
                     "expr": "(tidb_br_crr_last_upstream_checkpoint{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"} - tidb_br_crr_safe_checkpoint{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}) / 262144",
                     "format": "time_series",
                     "intervalFactor": 2,
                     "legendFormat": "upstream/downstream-gap-{{task}}",
                     "refId": "A"
                  },
                  {
                     "expr": "time() * 1000 - tidb_br_crr_safe_checkpoint{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"} / 262144",
                     "format": "time_series",
                     "intervalFactor": 2,
                     "legendFormat": "downstream-rpo-{{task}}",
                     "refId": "B"
                  }
               ],
               "thresholds": [ ],
               "timeFrom": null,
               "timeShift": null,
               "title": "Global Log Backup Checkpoint Gap",
               "tooltip": {
                  "shared": true,
                  "sort": 0,
                  "value_type": "individual"
               },
               "type": "graph",
               "xaxis": {
                  "buckets": null,
                  "mode": "time",
                  "name": null,
                  "show": true,
                  "values": [ ]
               },
               "yaxes": [
                  {
                     "format": "ms",
                     "label": null,
                     "logBase": 1,
                     "max": null,
                     "min": null,
                     "show": true
                  },
                  {
                     "format": "ms",
                     "label": null,
                     "logBase": 1,
                     "max": null,
                     "min": null,
                     "show": true
                  }
               ]
            },
            {
               "aliasColors": { },
               "bars": false,
               "dashLength": 10,
               "dashes": false,
               "datasource": "${DS_TEST-CLUSTER}",
               "description": "Log backup current upstream/downstream global checkpoint and the checkpoint persisted to external storage.",
               "fill": 1,
               "fillGradient": 0,
               "gridPos": {
                  "h": 7,
                  "w": 8,
                  "x": 16,
                  "y": 4
               },
               "id": 9,
               "legend": {
                  "alignAsTable": false,
                  "avg": false,
                  "current": false,
                  "max": false,
                  "min": false,
                  "rightSide": true,
                  "show": true,
                  "sideWidth": null,
                  "total": false,
                  "values": false
               },
               "lines": true,
               "linewidth": 1,
               "links": [ ],
               "nullPointMode": "null",
               "percentage": false,
               "pointradius": 5,
               "points": false,
               "renderer": "flot",
               "repeat": null,
               "seriesOverrides": [ ],
               "spaceLength": 10,
               "stack": false,
               "steppedLine": false,
               "targets": [
                  {
                     "expr": "tidb_br_crr_last_upstream_checkpoint{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"} / 262144",
                     "format": "time_series",
                     "intervalFactor": 2,
                     "legendFormat": "upstream-{{task}}",
                     "refId": "A"
                  },
                  {
                     "expr": "tidb_br_crr_safe_checkpoint{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"} / 262144",
                     "format": "time_series",
                     "intervalFactor": 2,
                     "legendFormat": "downstream-{{task}}",
                     "refId": "B"
                  },
                  {
                     "expr": "tidb_log_backup_last_checkpoint{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"} / 262144",
                     "format": "time_series",
                     "intervalFactor": 2,
                     "legendFormat": "last-checkpoint-{{task}}",
                     "refId": "C"
                  },
                  {
                     "expr": "tidb_log_backup_external_storage_checkpoint{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"} / 262144",
                     "format": "time_series",
                     "intervalFactor": 2,
                     "legendFormat": "external-storage-{{task}}",
                     "refId": "D"
                  }
               ],
               "thresholds": [ ],
               "timeFrom": null,
               "timeShift": null,
               "title": "Global Log Backup Checkpoint",
               "tooltip": {
                  "shared": true,
                  "sort": 0,
                  "value_type": "individual"
               },
               "type": "graph",
               "xaxis": {
                  "buckets": null,
                  "mode": "time",
                  "name": null,
                  "show": true,
                  "values": [ ]
               },
               "yaxes": [
                  {
                     "format": "dateTimeAsIso",
                     "label": null,
                     "logBase": 1,
                     "max": null,
                     "min": null,
                     "show": true
                  },
                  {
                     "format": "dateTimeAsIso",
                     "label": null,
                     "logBase": 1,
                     "max": null,
                     "min": null,
                     "show": true
                  }
               ]
            },
            {
               "aliasColors": { },
               "bars": false,
               "dashLength": 10,
               "dashes": false,
               "datasource": "${DS_TEST-CLUSTER}",
               "description": "The history of CRR advancer service state.",
               "fill": 1,
               "fillGradient": 0,
               "gridPos": {
                  "h": 7,
                  "w": 12,
                  "x": 0,
                  "y": 11
               },
               "id": 10,
               "legend": {
                  "alignAsTable": false,
                  "avg": false,
                  "current": false,
                  "max": false,
                  "min": false,
                  "rightSide": false,
                  "show": true,
                  "sideWidth": null,
                  "total": false,
                  "values": false
               },
               "lines": true,
               "linewidth": 1,
               "links": [ ],
               "nullPointMode": "null",
               "percentage": false,
               "pointradius": 5,
               "points": false,
               "renderer": "flot",
               "repeat": null,
               "seriesOverrides": [ ],
               "spaceLength": 10,
               "stack": false,
               "steppedLine": false,
               "targets": [
                  {
                     "expr": "tidb_br_crr_service_state{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}",
                     "format": "time_series",
                     "intervalFactor": 2,
                     "legendFormat": "{{state}}-{{task}}",
                     "refId": "A"
                  }
               ],
               "thresholds": [ ],
               "timeFrom": null,
               "timeShift": null,
               "title": "Advancer Service State",
               "tooltip": {
                  "shared": true,
                  "sort": 0,
                  "value_type": "individual"
               },
               "type": "graph",
               "xaxis": {
                  "buckets": null,
                  "mode": "time",
                  "name": null,
                  "show": true,
                  "values": [ ]
               },
               "yaxes": [
                  {
                     "format": "short",
                     "label": null,
                     "logBase": 1,
                     "max": null,
                     "min": null,
                     "show": true
                  },
                  {
                     "format": "short",
                     "label": null,
                     "logBase": 1,
                     "max": null,
                     "min": null,
                     "show": true
                  }
               ]
            },
            {
               "aliasColors": { },
               "bars": false,
               "dashLength": 10,
               "dashes": false,
               "datasource": "${DS_TEST-CLUSTER}",
               "description": "The history of CRR advancer service phase.",
               "fill": 1,
               "fillGradient": 0,
               "gridPos": {
                  "h": 7,
                  "w": 12,
                  "x": 12,
                  "y": 11
               },
               "id": 11,
               "legend": {
                  "alignAsTable": false,
                  "avg": false,
                  "current": false,
                  "max": false,
                  "min": false,
                  "rightSide": false,
                  "show": true,
                  "sideWidth": null,
                  "total": false,
                  "values": false
               },
               "lines": true,
               "linewidth": 1,
               "links": [ ],
               "nullPointMode": "null",
               "percentage": false,
               "pointradius": 5,
               "points": false,
               "renderer": "flot",
               "repeat": null,
               "seriesOverrides": [ ],
               "spaceLength": 10,
               "stack": false,
               "steppedLine": false,
               "targets": [
                  {
                     "expr": "tidb_br_crr_service_phase{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}",
                     "format": "time_series",
                     "intervalFactor": 2,
                     "legendFormat": "{{phase}}-{{task}}",
                     "refId": "A"
                  }
               ],
               "thresholds": [ ],
               "timeFrom": null,
               "timeShift": null,
               "title": "Advancer Service Phase",
               "tooltip": {
                  "shared": true,
                  "sort": 0,
                  "value_type": "individual"
               },
               "type": "graph",
               "xaxis": {
                  "buckets": null,
                  "mode": "time",
                  "name": null,
                  "show": true,
                  "values": [ ]
               },
               "yaxes": [
                  {
                     "format": "short",
                     "label": null,
                     "logBase": 1,
                     "max": null,
                     "min": null,
                     "show": true
                  },
                  {
                     "format": "short",
                     "label": null,
                     "logBase": 1,
                     "max": null,
                     "min": null,
                     "show": true
                  }
               ]
            },
            {
               "aliasColors": { },
               "bars": false,
               "dashLength": 10,
               "dashes": false,
               "datasource": "${DS_TEST-CLUSTER}",
               "description": "Loop iteration to wait downstream files synced in each phase.",
               "fill": 1,
               "fillGradient": 0,
               "gridPos": {
                  "h": 7,
                  "w": 12,
                  "x": 0,
                  "y": 11
               },
               "id": 12,
               "legend": {
                  "alignAsTable": false,
                  "avg": false,
                  "current": false,
                  "max": false,
                  "min": false,
                  "rightSide": true,
                  "show": true,
                  "sideWidth": null,
                  "total": false,
                  "values": false
               },
               "lines": true,
               "linewidth": 1,
               "links": [ ],
               "nullPointMode": "null",
               "percentage": false,
               "pointradius": 5,
               "points": false,
               "renderer": "flot",
               "repeat": null,
               "seriesOverrides": [ ],
               "spaceLength": 10,
               "stack": false,
               "steppedLine": false,
               "targets": [
                  {
                     "expr": "tidb_br_crr_last_loop_iteration{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}",
                     "format": "time_series",
                     "intervalFactor": 2,
                     "legendFormat": "{{task}}",
                     "refId": "A"
                  }
               ],
               "thresholds": [ ],
               "timeFrom": null,
               "timeShift": null,
               "title": "Loop iteration",
               "tooltip": {
                  "shared": true,
                  "sort": 0,
                  "value_type": "individual"
               },
               "type": "graph",
               "xaxis": {
                  "buckets": null,
                  "mode": "time",
                  "name": null,
                  "show": true,
                  "values": [ ]
               },
               "yaxes": [
                  {
                     "format": "short",
                     "label": null,
                     "logBase": 1,
                     "max": null,
                     "min": null,
                     "show": true
                  },
                  {
                     "format": "short",
                     "label": null,
                     "logBase": 1,
                     "max": null,
                     "min": null,
                     "show": true
                  }
               ]
            },
            {
               "aliasColors": { },
               "bars": false,
               "dashLength": 10,
               "dashes": false,
               "datasource": "${DS_TEST-CLUSTER}",
               "description": "Pending file count in each round.",
               "fill": 1,
               "fillGradient": 0,
               "gridPos": {
                  "h": 7,
                  "w": 12,
                  "x": 12,
                  "y": 11
               },
               "id": 13,
               "legend": {
                  "alignAsTable": false,
                  "avg": false,
                  "current": false,
                  "max": false,
                  "min": false,
                  "rightSide": true,
                  "show": true,
                  "sideWidth": null,
                  "total": false,
                  "values": false
               },
               "lines": true,
               "linewidth": 1,
               "links": [ ],
               "nullPointMode": "null",
               "percentage": false,
               "pointradius": 5,
               "points": false,
               "renderer": "flot",
               "repeat": null,
               "seriesOverrides": [ ],
               "spaceLength": 10,
               "stack": false,
               "steppedLine": false,
               "targets": [
                  {
                     "expr": "tidb_br_crr_pending_file_count{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}",
                     "format": "time_series",
                     "intervalFactor": 2,
                     "legendFormat": "{{task}}",
                     "refId": "A"
                  }
               ],
               "thresholds": [ ],
               "timeFrom": null,
               "timeShift": null,
               "title": "Pending File Count",
               "tooltip": {
                  "shared": true,
                  "sort": 0,
                  "value_type": "individual"
               },
               "type": "graph",
               "xaxis": {
                  "buckets": null,
                  "mode": "time",
                  "name": null,
                  "show": true,
                  "values": [ ]
               },
               "yaxes": [
                  {
                     "format": "short",
                     "label": null,
                     "logBase": 1,
                     "max": null,
                     "min": null,
                     "show": true
                  },
                  {
                     "format": "short",
                     "label": null,
                     "logBase": 1,
                     "max": null,
                     "min": null,
                     "show": true
                  }
               ]
            },
            {
               "aliasColors": { },
               "bars": false,
               "dashLength": 10,
               "dashes": false,
               "datasource": "${DS_TEST-CLUSTER}",
               "description": "Consecutive failure count since last success time",
               "fill": 1,
               "fillGradient": 0,
               "gridPos": {
                  "h": 7,
                  "w": 12,
                  "x": 0,
                  "y": 11
               },
               "id": 14,
               "legend": {
                  "alignAsTable": false,
                  "avg": false,
                  "current": false,
                  "max": false,
                  "min": false,
                  "rightSide": true,
                  "show": true,
                  "sideWidth": null,
                  "total": false,
                  "values": false
               },
               "lines": true,
               "linewidth": 1,
               "links": [ ],
               "nullPointMode": "null",
               "percentage": false,
               "pointradius": 5,
               "points": false,
               "renderer": "flot",
               "repeat": null,
               "seriesOverrides": [ ],
               "spaceLength": 10,
               "stack": false,
               "steppedLine": false,
               "targets": [
                  {
                     "expr": "tidb_br_crr_consecutive_failures{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}",
                     "format": "time_series",
                     "intervalFactor": 2,
                     "legendFormat": "{{task}}",
                     "refId": "A"
                  }
               ],
               "thresholds": [ ],
               "timeFrom": null,
               "timeShift": null,
               "title": "Consecutive Failures",
               "tooltip": {
                  "shared": true,
                  "sort": 0,
                  "value_type": "individual"
               },
               "type": "graph",
               "xaxis": {
                  "buckets": null,
                  "mode": "time",
                  "name": null,
                  "show": true,
                  "values": [ ]
               },
               "yaxes": [
                  {
                     "format": "short",
                     "label": null,
                     "logBase": 1,
                     "max": null,
                     "min": null,
                     "show": true
                  },
                  {
                     "format": "short",
                     "label": null,
                     "logBase": 1,
                     "max": null,
                     "min": null,
                     "show": true
                  }
               ]
            },
            {
               "aliasColors": { },
               "bars": false,
               "dashLength": 10,
               "dashes": false,
               "datasource": "${DS_TEST-CLUSTER}",
               "description": "Read upstream meta file count in each round",
               "fill": 1,
               "fillGradient": 0,
               "gridPos": {
                  "h": 7,
                  "w": 12,
                  "x": 12,
                  "y": 11
               },
               "id": 15,
               "legend": {
                  "alignAsTable": false,
                  "avg": false,
                  "current": false,
                  "max": false,
                  "min": false,
                  "rightSide": true,
                  "show": true,
                  "sideWidth": null,
                  "total": false,
                  "values": false
               },
               "lines": true,
               "linewidth": 1,
               "links": [ ],
               "nullPointMode": "null",
               "percentage": false,
               "pointradius": 5,
               "points": false,
               "renderer": "flot",
               "repeat": null,
               "seriesOverrides": [ ],
               "spaceLength": 10,
               "stack": false,
               "steppedLine": false,
               "targets": [
                  {
                     "expr": "tidb_br_crr_upstream_read_meta_file_count{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}",
                     "format": "time_series",
                     "intervalFactor": 2,
                     "legendFormat": "{{task}}",
                     "refId": "A"
                  }
               ],
               "thresholds": [ ],
               "timeFrom": null,
               "timeShift": null,
               "title": "Upstream Read Meta File Count",
               "tooltip": {
                  "shared": true,
                  "sort": 0,
                  "value_type": "individual"
               },
               "type": "graph",
               "xaxis": {
                  "buckets": null,
                  "mode": "time",
                  "name": null,
                  "show": true,
                  "values": [ ]
               },
               "yaxes": [
                  {
                     "format": "short",
                     "label": null,
                     "logBase": 1,
                     "max": null,
                     "min": null,
                     "show": true
                  },
                  {
                     "format": "short",
                     "label": null,
                     "logBase": 1,
                     "max": null,
                     "min": null,
                     "show": true
                  }
               ]
            },
            {
               "aliasColors": { },
               "bars": false,
               "dashLength": 10,
               "dashes": false,
               "datasource": "${DS_TEST-CLUSTER}",
               "description": "Estimated sync log file count in each round",
               "fill": 1,
               "fillGradient": 0,
               "gridPos": {
                  "h": 7,
                  "w": 12,
                  "x": 0,
                  "y": 11
               },
               "id": 16,
               "legend": {
                  "alignAsTable": false,
                  "avg": false,
                  "current": false,
                  "max": false,
                  "min": false,
                  "rightSide": true,
                  "show": true,
                  "sideWidth": null,
                  "total": false,
                  "values": false
               },
               "lines": true,
               "linewidth": 1,
               "links": [ ],
               "nullPointMode": "null",
               "percentage": false,
               "pointradius": 5,
               "points": false,
               "renderer": "flot",
               "repeat": null,
               "seriesOverrides": [ ],
               "spaceLength": 10,
               "stack": false,
               "steppedLine": false,
               "targets": [
                  {
                     "expr": "tidb_br_crr_estimated_sync_log_file_count{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}",
                     "format": "time_series",
                     "intervalFactor": 2,
                     "legendFormat": "{{task}}",
                     "refId": "A"
                  }
               ],
               "thresholds": [ ],
               "timeFrom": null,
               "timeShift": null,
               "title": "Estimated Sync Log File Count",
               "tooltip": {
                  "shared": true,
                  "sort": 0,
                  "value_type": "individual"
               },
               "type": "graph",
               "xaxis": {
                  "buckets": null,
                  "mode": "time",
                  "name": null,
                  "show": true,
                  "values": [ ]
               },
               "yaxes": [
                  {
                     "format": "short",
                     "label": null,
                     "logBase": 1,
                     "max": null,
                     "min": null,
                     "show": true
                  },
                  {
                     "format": "short",
                     "label": null,
                     "logBase": 1,
                     "max": null,
                     "min": null,
                     "show": true
                  }
               ]
            },
            {
               "aliasColors": { },
               "bars": false,
               "dashLength": 10,
               "dashes": false,
               "datasource": "${DS_TEST-CLUSTER}",
               "description": "Estimated sync log file count in each round",
               "fill": 1,
               "fillGradient": 0,
               "gridPos": {
                  "h": 7,
                  "w": 12,
                  "x": 12,
                  "y": 11
               },
               "id": 17,
               "legend": {
                  "alignAsTable": false,
                  "avg": false,
                  "current": false,
                  "max": false,
                  "min": false,
                  "rightSide": true,
                  "show": true,
                  "sideWidth": null,
                  "total": false,
                  "values": false
               },
               "lines": true,
               "linewidth": 1,
               "links": [ ],
               "nullPointMode": "null",
               "percentage": false,
               "pointradius": 5,
               "points": false,
               "renderer": "flot",
               "repeat": null,
               "seriesOverrides": [ ],
               "spaceLength": 10,
               "stack": false,
               "steppedLine": false,
               "targets": [
                  {
                     "expr": "tidb_br_crr_downstream_check_file_count{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}",
                     "format": "time_series",
                     "intervalFactor": 2,
                     "legendFormat": "{{task}}",
                     "refId": "A"
                  }
               ],
               "thresholds": [ ],
               "timeFrom": null,
               "timeShift": null,
               "title": "Estimated Sync Log File Count",
               "tooltip": {
                  "shared": true,
                  "sort": 0,
                  "value_type": "individual"
               },
               "type": "graph",
               "xaxis": {
                  "buckets": null,
                  "mode": "time",
                  "name": null,
                  "show": true,
                  "values": [ ]
               },
               "yaxes": [
                  {
                     "format": "short",
                     "label": null,
                     "logBase": 1,
                     "max": null,
                     "min": null,
                     "show": true
                  },
                  {
                     "format": "short",
                     "label": null,
                     "logBase": 1,
                     "max": null,
                     "min": null,
                     "show": true
                  }
               ]
            }
         ],
         "repeat": null,
         "repeatIteration": null,
         "repeatRowId": null,
         "showTitle": true,
         "title": "Advancer",
         "titleSize": "h6",
         "type": "row"
      }
   ],
   "refresh": "30s",
   "rows": [ ],
   "schemaVersion": 14,
   "style": "dark",
   "tags": [ ],
   "templating": {
      "list": [
         {
            "allValue": null,
            "current": { },
            "datasource": "${DS_TEST-CLUSTER}",
            "hide": 2,
            "includeAll": false,
            "label": "K8s-cluster",
            "multi": false,
            "name": "k8s_cluster",
            "options": [ ],
            "query": "label_values(pd_cluster_status, k8s_cluster)",
            "refresh": 2,
            "regex": "",
            "sort": 1,
            "tagValuesQuery": "",
            "tags": [ ],
            "tagsQuery": "",
            "type": "query",
            "useTags": false
         },
         {
            "allValue": null,
            "current": { },
            "datasource": "${DS_TEST-CLUSTER}",
            "hide": 2,
            "includeAll": false,
            "label": "tidb_cluster",
            "multi": false,
            "name": "tidb_cluster",
            "options": [ ],
            "query": "label_values(pd_cluster_status{k8s_cluster=\"$k8s_cluster\"}, tidb_cluster)",
            "refresh": 2,
            "regex": "",
            "sort": 1,
            "tagValuesQuery": "",
            "tags": [ ],
            "tagsQuery": "",
            "type": "query",
            "useTags": false
         },
         {
            "allValue": ".*",
            "current": { },
            "datasource": "${DS_TEST-CLUSTER}",
            "hide": 0,
            "includeAll": true,
            "label": "Instance",
            "multi": false,
            "name": "instance",
            "options": [ ],
            "query": "label_values(tidb_server_connections{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\"}, instance)",
            "refresh": 1,
            "regex": "",
            "sort": 1,
            "tagValuesQuery": "",
            "tags": [ ],
            "tagsQuery": "",
            "type": "query",
            "useTags": false
         }
      ]
   },
   "time": {
      "from": "now-1h",
      "to": "now"
   },
   "timepicker": {
      "refresh_intervals": [
         "5s",
         "10s",
         "30s",
         "1m",
         "5m",
         "15m",
         "30m",
         "1h",
         "2h",
         "1d"
      ],
      "time_options": [
         "5m",
         "15m",
         "1h",
         "6h",
         "12h",
         "24h",
         "2d",
         "7d",
         "30d"
      ]
   },
   "timezone": "browser",
   "title": "Test-Cluster-CRPiTR",
   "version": 0
}
