github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/deploy/polardbx/dashboards/polardbx-overview.json (about)

     1  {
     2    "annotations": {
     3      "list": [
     4        {
     5          "builtIn": 1,
     6          "datasource": {
     7            "type": "datasource",
     8            "uid": "grafana"
     9          },
    10          "enable": true,
    11          "hide": true,
    12          "iconColor": "rgba(0, 211, 255, 1)",
    13          "name": "Annotations & Alerts",
    14          "target": {
    15            "limit": 100,
    16            "matchAny": false,
    17            "tags": [],
    18            "type": "dashboard"
    19          },
    20          "type": "dashboard"
    21        }
    22      ]
    23    },
    24    "description": "",
    25    "editable": true,
    26    "fiscalYearStartMonth": 0,
    27    "graphTooltip": 0,
    28    "links": [],
    29    "liveNow": false,
    30    "panels": [
    31      {
    32        "collapsed": false,
    33        "datasource": {
    34          "type": "prometheus",
    35          "uid": "prometheus"
    36        },
    37        "gridPos": {
    38          "h": 1,
    39          "w": 24,
    40          "x": 0,
    41          "y": 0
    42        },
    43        "id": 2,
    44        "panels": [],
    45        "targets": [
    46          {
    47            "datasource": {
    48              "type": "prometheus",
    49              "uid": "prometheus"
    50            },
    51            "refId": "A"
    52          }
    53        ],
    54        "title": "Overview",
    55        "type": "row"
    56      },
    57      {
    58        "datasource": {
    59          "type": "prometheus",
    60          "uid": "${datasource}"
    61        },
    62        "fieldConfig": {
    63          "defaults": {
    64            "color": {
    65              "mode": "palette-classic"
    66            },
    67            "mappings": [],
    68            "thresholds": {
    69              "mode": "percentage",
    70              "steps": [
    71                {
    72                  "color": "green",
    73                  "value": null
    74                }
    75              ]
    76            },
    77            "unit": "none"
    78          },
    79          "overrides": []
    80        },
    81        "gridPos": {
    82          "h": 4,
    83          "w": 7,
    84          "x": 0,
    85          "y": 1
    86        },
    87        "id": 15,
    88        "options": {
    89          "colorMode": "value",
    90          "graphMode": "none",
    91          "justifyMode": "auto",
    92          "orientation": "auto",
    93          "reduceOptions": {
    94            "calcs": [
    95              "mean"
    96            ],
    97            "fields": "",
    98            "values": false
    99          },
   100          "text": {},
   101          "textMode": "auto"
   102        },
   103        "pluginVersion": "9.2.4",
   104        "targets": [
   105          {
   106            "datasource": {
   107              "uid": "${datasource}"
   108            },
   109            "editorMode": "code",
   110            "exemplar": true,
   111            "expr": "sum(irate(polardbx_stats_request_count_total{app_kubernetes_io_instance=\"$polardbx\", namespace=\"$namespace\"}[1m]))",
   112            "instant": true,
   113            "interval": "",
   114            "legendFormat": "Logical",
   115            "queryType": "randomWalk",
   116            "refId": "A"
   117          },
   118          {
   119            "datasource": {
   120              "uid": "${datasource}"
   121            },
   122            "editorMode": "code",
   123            "exemplar": true,
   124            "expr": "sum(irate(polardbx_stats_physical_request_count_total{app_kubernetes_io_instance=\"$polardbx\", namespace=\"$namespace\"}[1m]))",
   125            "hide": true,
   126            "instant": true,
   127            "interval": "",
   128            "legendFormat": "Physical",
   129            "refId": "B"
   130          }
   131        ],
   132        "title": "QPS (Logical)",
   133        "type": "stat"
   134      },
   135      {
   136        "datasource": {
   137          "type": "prometheus",
   138          "uid": "${datasource}"
   139        },
   140        "fieldConfig": {
   141          "defaults": {
   142            "color": {
   143              "mode": "palette-classic"
   144            },
   145            "mappings": [],
   146            "min": 0,
   147            "thresholds": {
   148              "mode": "absolute",
   149              "steps": [
   150                {
   151                  "color": "green",
   152                  "value": null
   153                }
   154              ]
   155            },
   156            "unit": "none"
   157          },
   158          "overrides": []
   159        },
   160        "gridPos": {
   161          "h": 4,
   162          "w": 7,
   163          "x": 7,
   164          "y": 1
   165        },
   166        "id": 10,
   167        "options": {
   168          "displayMode": "gradient",
   169          "minVizHeight": 10,
   170          "minVizWidth": 0,
   171          "orientation": "horizontal",
   172          "reduceOptions": {
   173            "calcs": [
   174              "mean"
   175            ],
   176            "fields": "",
   177            "values": false
   178          },
   179          "showUnfilled": true,
   180          "text": {}
   181        },
   182        "pluginVersion": "9.2.4",
   183        "targets": [
   184          {
   185            "datasource": {
   186              "uid": "${datasource}"
   187            },
   188            "editorMode": "code",
   189            "exemplar": true,
   190            "expr": "sum(irate(polardbx_stats_request_count_total{app_kubernetes_io_instance=\"$polardbx\", namespace=\"$namespace\"}[1m]))",
   191            "instant": true,
   192            "interval": "",
   193            "legendFormat": "QPS (Logical)",
   194            "queryType": "randomWalk",
   195            "refId": "A"
   196          },
   197          {
   198            "datasource": {
   199              "uid": "${datasource}"
   200            },
   201            "editorMode": "code",
   202            "exemplar": true,
   203            "expr": "sum(irate(polardbx_stats_physical_request_count_total{app_kubernetes_io_instance=\"$polardbx\", namespace=\"$namespace\"}[1m]))",
   204            "hide": false,
   205            "instant": true,
   206            "interval": "",
   207            "legendFormat": "QPS (Physical)",
   208            "refId": "B"
   209          }
   210        ],
   211        "title": "QPS",
   212        "type": "bargauge"
   213      },
   214      {
   215        "datasource": {
   216          "type": "prometheus",
   217          "uid": "${datasource}"
   218        },
   219        "fieldConfig": {
   220          "defaults": {
   221            "color": {
   222              "mode": "palette-classic"
   223            },
   224            "mappings": [],
   225            "thresholds": {
   226              "mode": "absolute",
   227              "steps": [
   228                {
   229                  "color": "green",
   230                  "value": null
   231                }
   232              ]
   233            }
   234          },
   235          "overrides": []
   236        },
   237        "gridPos": {
   238          "h": 4,
   239          "w": 5,
   240          "x": 14,
   241          "y": 1
   242        },
   243        "id": 40,
   244        "options": {
   245          "colorMode": "value",
   246          "graphMode": "none",
   247          "justifyMode": "auto",
   248          "orientation": "auto",
   249          "reduceOptions": {
   250            "calcs": [
   251              "lastNotNull"
   252            ],
   253            "fields": "",
   254            "values": false
   255          },
   256          "text": {},
   257          "textMode": "auto"
   258        },
   259        "pluginVersion": "9.2.4",
   260        "targets": [
   261          {
   262            "datasource": {
   263              "uid": "${datasource}"
   264            },
   265            "editorMode": "code",
   266            "exemplar": true,
   267            "expr": "sum(rate(polardbx_stats_best_effort_transaction_count_total{app_kubernetes_io_instance=\"$polardbx\", namespace=\"$namespace\"}[1m])) +\n\nsum(rate(polardbx_stats_xa_transaction_count_total{app_kubernetes_io_instance=\"$polardbx\", namespace=\"$namespace\"}[1m])) +\n\nsum(rate(polardbx_stats_tso_transaction_count_total{app_kubernetes_io_instance=\"$polardbx\", namespace=\"$namespace\"}[1m])) ",
   268            "instant": true,
   269            "interval": "",
   270            "intervalFactor": 1,
   271            "legendFormat": "Errors",
   272            "queryType": "randomWalk",
   273            "refId": "A"
   274          }
   275        ],
   276        "title": "TPS",
   277        "type": "stat"
   278      },
   279      {
   280        "datasource": {
   281          "type": "prometheus",
   282          "uid": "${datasource}"
   283        },
   284        "fieldConfig": {
   285          "defaults": {
   286            "color": {
   287              "mode": "palette-classic"
   288            },
   289            "mappings": [],
   290            "min": 0,
   291            "thresholds": {
   292              "mode": "absolute",
   293              "steps": [
   294                {
   295                  "color": "green",
   296                  "value": null
   297                },
   298                {
   299                  "color": "red",
   300                  "value": 80
   301                }
   302              ]
   303            }
   304          },
   305          "overrides": []
   306        },
   307        "gridPos": {
   308          "h": 4,
   309          "w": 5,
   310          "x": 19,
   311          "y": 1
   312        },
   313        "id": 14,
   314        "options": {
   315          "displayMode": "gradient",
   316          "minVizHeight": 10,
   317          "minVizWidth": 0,
   318          "orientation": "horizontal",
   319          "reduceOptions": {
   320            "calcs": [
   321              "lastNotNull"
   322            ],
   323            "fields": "",
   324            "values": false
   325          },
   326          "showUnfilled": true,
   327          "text": {}
   328        },
   329        "pluginVersion": "9.2.4",
   330        "targets": [
   331          {
   332            "datasource": {
   333              "uid": "${datasource}"
   334            },
   335            "editorMode": "code",
   336            "exemplar": true,
   337            "expr": "sum(polardbx_stats_active_connections{app_kubernetes_io_instance=\"$polardbx\", namespace=\"$namespace\"})",
   338            "instant": true,
   339            "interval": "",
   340            "legendFormat": "Connections",
   341            "queryType": "randomWalk",
   342            "refId": "A"
   343          },
   344          {
   345            "datasource": {
   346              "uid": "${datasource}"
   347            },
   348            "editorMode": "code",
   349            "exemplar": true,
   350            "expr": "sum(polardbx_stats_running_count{app_kubernetes_io_instance=\"$polardbx\", namespace=\"$namespace\"})",
   351            "hide": false,
   352            "instant": true,
   353            "interval": "",
   354            "legendFormat": "Threads (Running)",
   355            "refId": "B"
   356          }
   357        ],
   358        "title": "Connections/Threads",
   359        "type": "bargauge"
   360      },
   361      {
   362        "datasource": {
   363          "type": "prometheus",
   364          "uid": "${datasource}"
   365        },
   366        "fieldConfig": {
   367          "defaults": {
   368            "color": {
   369              "mode": "thresholds"
   370            },
   371            "mappings": [],
   372            "thresholds": {
   373              "mode": "absolute",
   374              "steps": [
   375                {
   376                  "color": "green",
   377                  "value": null
   378                },
   379                {
   380                  "color": "dark-yellow",
   381                  "value": 20
   382                },
   383                {
   384                  "color": "dark-orange",
   385                  "value": 50
   386                },
   387                {
   388                  "color": "dark-red",
   389                  "value": 100
   390                }
   391              ]
   392            },
   393            "unit": "ms"
   394          },
   395          "overrides": []
   396        },
   397        "gridPos": {
   398          "h": 4,
   399          "w": 7,
   400          "x": 0,
   401          "y": 5
   402        },
   403        "id": 16,
   404        "options": {
   405          "colorMode": "value",
   406          "graphMode": "none",
   407          "justifyMode": "auto",
   408          "orientation": "auto",
   409          "reduceOptions": {
   410            "calcs": [
   411              "mean"
   412            ],
   413            "fields": "",
   414            "values": false
   415          },
   416          "text": {},
   417          "textMode": "auto"
   418        },
   419        "pluginVersion": "9.2.4",
   420        "targets": [
   421          {
   422            "datasource": {
   423              "uid": "${datasource}"
   424            },
   425            "editorMode": "code",
   426            "exemplar": true,
   427            "expr": "sum(delta(polardbx_stats_request_time_cost_total{app_kubernetes_io_instance=\"$polardbx\", namespace=\"$namespace\"}[1m])) / (sum(delta (polardbx_stats_request_count_total{app_kubernetes_io_instance=\"$polardbx\", namespace=\"$namespace\"}[1m])) + 1) / 1000",
   428            "instant": true,
   429            "interval": "",
   430            "legendFormat": "Logical",
   431            "queryType": "randomWalk",
   432            "refId": "A"
   433          }
   434        ],
   435        "title": "Response Time (Logical)",
   436        "type": "stat"
   437      },
   438      {
   439        "datasource": {
   440          "type": "prometheus",
   441          "uid": "${datasource}"
   442        },
   443        "fieldConfig": {
   444          "defaults": {
   445            "color": {
   446              "mode": "thresholds"
   447            },
   448            "decimals": 2,
   449            "mappings": [],
   450            "min": 0,
   451            "thresholds": {
   452              "mode": "absolute",
   453              "steps": [
   454                {
   455                  "color": "green",
   456                  "value": null
   457                },
   458                {
   459                  "color": "light-yellow",
   460                  "value": 20
   461                },
   462                {
   463                  "color": "dark-orange",
   464                  "value": 50
   465                },
   466                {
   467                  "color": "red",
   468                  "value": 100
   469                }
   470              ]
   471            },
   472            "unit": "ms"
   473          },
   474          "overrides": []
   475        },
   476        "gridPos": {
   477          "h": 4,
   478          "w": 7,
   479          "x": 7,
   480          "y": 5
   481        },
   482        "id": 12,
   483        "options": {
   484          "displayMode": "gradient",
   485          "minVizHeight": 10,
   486          "minVizWidth": 0,
   487          "orientation": "horizontal",
   488          "reduceOptions": {
   489            "calcs": [
   490              "lastNotNull"
   491            ],
   492            "fields": "",
   493            "values": false
   494          },
   495          "showUnfilled": true,
   496          "text": {}
   497        },
   498        "pluginVersion": "9.2.4",
   499        "targets": [
   500          {
   501            "datasource": {
   502              "uid": "${datasource}"
   503            },
   504            "editorMode": "code",
   505            "exemplar": true,
   506            "expr": "sum(delta(polardbx_stats_request_time_cost_total{app_kubernetes_io_instance=\"$polardbx\", namespace=\"$namespace\"}[1m])) / (sum(delta (polardbx_stats_request_count_total{app_kubernetes_io_instance=\"$polardbx\", namespace=\"$namespace\"}[1m])) + 1) / 1000",
   507            "instant": true,
   508            "interval": "",
   509            "legendFormat": "RT (Logical)",
   510            "queryType": "randomWalk",
   511            "refId": "A"
   512          },
   513          {
   514            "datasource": {
   515              "uid": "${datasource}"
   516            },
   517            "editorMode": "code",
   518            "exemplar": true,
   519            "expr": "sum(delta(polardbx_stats_physical_request_time_cost_total{app_kubernetes_io_instance=\"$polardbx\", namespace=\"$namespace\"}[1m])) / (sum(delta (polardbx_stats_physical_request_count_total{app_kubernetes_io_instance=\"$polardbx\", namespace=\"$namespace\"}[1m])) + 1) / 1000",
   520            "hide": false,
   521            "instant": true,
   522            "interval": "",
   523            "legendFormat": "RT (Physical)",
   524            "refId": "B"
   525          }
   526        ],
   527        "title": "Response Time",
   528        "type": "bargauge"
   529      },
   530      {
   531        "datasource": {
   532          "type": "prometheus",
   533          "uid": "${datasource}"
   534        },
   535        "fieldConfig": {
   536          "defaults": {
   537            "color": {
   538              "mode": "thresholds"
   539            },
   540            "mappings": [],
   541            "thresholds": {
   542              "mode": "absolute",
   543              "steps": [
   544                {
   545                  "color": "green",
   546                  "value": null
   547                },
   548                {
   549                  "color": "#EAB839",
   550                  "value": 15
   551                },
   552                {
   553                  "color": "red",
   554                  "value": 30
   555                }
   556              ]
   557            },
   558            "unit": "none"
   559          },
   560          "overrides": []
   561        },
   562        "gridPos": {
   563          "h": 4,
   564          "w": 5,
   565          "x": 14,
   566          "y": 5
   567        },
   568        "id": 18,
   569        "options": {
   570          "colorMode": "value",
   571          "graphMode": "none",
   572          "justifyMode": "auto",
   573          "orientation": "auto",
   574          "reduceOptions": {
   575            "calcs": [
   576              "lastNotNull"
   577            ],
   578            "fields": "",
   579            "values": false
   580          },
   581          "text": {},
   582          "textMode": "auto"
   583        },
   584        "pluginVersion": "9.2.4",
   585        "targets": [
   586          {
   587            "datasource": {
   588              "uid": "${datasource}"
   589            },
   590            "editorMode": "code",
   591            "exemplar": true,
   592            "expr": "sum(rate(polardbx_stats_error_count_total{app_kubernetes_io_instance=\"$polardbx\", namespace=\"$namespace\"}[1m]))",
   593            "instant": true,
   594            "interval": "",
   595            "intervalFactor": 1,
   596            "legendFormat": "Errors",
   597            "queryType": "randomWalk",
   598            "refId": "A"
   599          }
   600        ],
   601        "title": "Errors",
   602        "type": "stat"
   603      },
   604      {
   605        "datasource": {
   606          "type": "prometheus",
   607          "uid": "${datasource}"
   608        },
   609        "fieldConfig": {
   610          "defaults": {
   611            "color": {
   612              "mode": "palette-classic"
   613            },
   614            "custom": {
   615              "align": "center",
   616              "displayMode": "auto",
   617              "filterable": false,
   618              "inspect": false
   619            },
   620            "mappings": [],
   621            "thresholds": {
   622              "mode": "absolute",
   623              "steps": [
   624                {
   625                  "color": "green",
   626                  "value": null
   627                }
   628              ]
   629            }
   630          },
   631          "overrides": [
   632            {
   633              "matcher": {
   634                "id": "byName",
   635                "options": "CPU %"
   636              },
   637              "properties": [
   638                {
   639                  "id": "unit",
   640                  "value": "percentunit"
   641                },
   642                {
   643                  "id": "custom.displayMode",
   644                  "value": "gradient-gauge"
   645                }
   646              ]
   647            },
   648            {
   649              "matcher": {
   650                "id": "byName",
   651                "options": "MEM %"
   652              },
   653              "properties": [
   654                {
   655                  "id": "unit",
   656                  "value": "percentunit"
   657                },
   658                {
   659                  "id": "custom.displayMode",
   660                  "value": "gradient-gauge"
   661                }
   662              ]
   663            },
   664            {
   665              "matcher": {
   666                "id": "byName",
   667                "options": "MEM"
   668              },
   669              "properties": [
   670                {
   671                  "id": "unit",
   672                  "value": "bytes"
   673                },
   674                {
   675                  "id": "custom.width",
   676                  "value": 162
   677                }
   678              ]
   679            },
   680            {
   681              "matcher": {
   682                "id": "byName",
   683                "options": "MEM (Limit)"
   684              },
   685              "properties": [
   686                {
   687                  "id": "unit",
   688                  "value": "bytes"
   689                }
   690              ]
   691            },
   692            {
   693              "matcher": {
   694                "id": "byName",
   695                "options": "Pod"
   696              },
   697              "properties": [
   698                {
   699                  "id": "custom.filterable",
   700                  "value": true
   701                },
   702                {
   703                  "id": "custom.width",
   704                  "value": 215
   705                }
   706              ]
   707            },
   708            {
   709              "matcher": {
   710                "id": "byName",
   711                "options": "Network (Recv)"
   712              },
   713              "properties": [
   714                {
   715                  "id": "unit",
   716                  "value": "bytes"
   717                },
   718                {
   719                  "id": "custom.displayMode",
   720                  "value": "auto"
   721                }
   722              ]
   723            },
   724            {
   725              "matcher": {
   726                "id": "byName",
   727                "options": "Network (Sent)"
   728              },
   729              "properties": [
   730                {
   731                  "id": "unit",
   732                  "value": "bytes"
   733                }
   734              ]
   735            },
   736            {
   737              "matcher": {
   738                "id": "byName",
   739                "options": "node"
   740              },
   741              "properties": [
   742                {
   743                  "id": "custom.width",
   744                  "value": 205
   745                }
   746              ]
   747            },
   748            {
   749              "matcher": {
   750                "id": "byName",
   751                "options": "Host"
   752              },
   753              "properties": [
   754                {
   755                  "id": "links",
   756                  "value": [
   757                    {
   758                      "targetBlank": true,
   759                      "title": "Node Dashboard",
   760                      "url": "./d/fa49a4706d07a042595b664c87fb33ea/nodes?orgId=1&var-datasource=$datasource&var-instance=${__value.text}"
   761                    }
   762                  ]
   763                },
   764                {
   765                  "id": "custom.width",
   766                  "value": 221
   767                }
   768              ]
   769            },
   770            {
   771              "matcher": {
   772                "id": "byName",
   773                "options": "Pod"
   774              },
   775              "properties": [
   776                {
   777                  "id": "links",
   778                  "value": [
   779                    {
   780                      "targetBlank": true,
   781                      "title": "Pod Dashboard",
   782                      "url": "./d/6581e46e4e5c7ba40a07646395ef7b23/k8s-resources-pod?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$namespace&var-pod=${__value.text}"
   783                    }
   784                  ]
   785                }
   786              ]
   787            },
   788            {
   789              "matcher": {
   790                "id": "byName",
   791                "options": "CPU"
   792              },
   793              "properties": [
   794                {
   795                  "id": "custom.width",
   796                  "value": 92
   797                }
   798              ]
   799            },
   800            {
   801              "matcher": {
   802                "id": "byName",
   803                "options": "CPU (Limit)"
   804              },
   805              "properties": [
   806                {
   807                  "id": "custom.width",
   808                  "value": 107
   809                }
   810              ]
   811            }
   812          ]
   813        },
   814        "gridPos": {
   815          "h": 10,
   816          "w": 24,
   817          "x": 0,
   818          "y": 9
   819        },
   820        "id": 96,
   821        "options": {
   822          "footer": {
   823            "fields": "",
   824            "reducer": [
   825              "sum"
   826            ],
   827            "show": false
   828          },
   829          "frameIndex": 0,
   830          "showHeader": true,
   831          "sortBy": [
   832            {
   833              "desc": false,
   834              "displayName": "CPU"
   835            }
   836          ]
   837        },
   838        "pluginVersion": "9.2.4",
   839        "targets": [
   840          {
   841            "datasource": {
   842              "uid": "${datasource}"
   843            },
   844            "editorMode": "code",
   845            "exemplar": true,
   846            "expr": "sum by (app_kubernetes_io_instance, pod, app_kubernetes_io_component, apps_kubeblocks_io_component_name) (mysql_up{app_kubernetes_io_instance=\"$polardbx\", namespace=\"$namespace\", app_kubernetes_io_component=\"gms\"})\nor\nsum by (app_kubernetes_io_instance, pod, app_kubernetes_io_component, apps_kubeblocks_io_component_name) (polardbx_up{app_kubernetes_io_instance=\"$polardbx\", namespace=\"$namespace\"})\nor \nsum by (app_kubernetes_io_instance, pod, app_kubernetes_io_component, apps_kubeblocks_io_component_name) (mysql_up{app_kubernetes_io_instance=\"$polardbx\", namespace=\"$namespace\", app_kubernetes_io_component=\"dn\"})\nor \nsum by (app_kubernetes_io_instance, pod, app_kubernetes_io_component, apps_kubeblocks_io_component_name) (polardbx_cdc_up{app_kubernetes_io_instance=\"$polardbx\", namespace=\"$namespace\"})\n",
   847            "format": "table",
   848            "hide": false,
   849            "instant": true,
   850            "interval": "",
   851            "legendFormat": "{{ pod }}",
   852            "queryType": "randomWalk",
   853            "refId": "A"
   854          }
   855        ],
   856        "title": "Topology",
   857        "transformations": [
   858          {
   859            "id": "seriesToColumns",
   860            "options": {
   861              "byField": "pod"
   862            }
   863          },
   864          {
   865            "id": "organize",
   866            "options": {
   867              "excludeByName": {
   868                "Time": true,
   869                "Time 1": true,
   870                "Time 2": true,
   871                "Time 3": true,
   872                "Time 4": true,
   873                "Time 5": true,
   874                "Time 6": true,
   875                "Time 7": true,
   876                "Time 8": true,
   877                "Time 9": true,
   878                "Value": true,
   879                "Value #A": true
   880              },
   881              "indexByName": {
   882                "Time": 2,
   883                "Value": 5,
   884                "app_kubernetes_io_component": 1,
   885                "app_kubernetes_io_instance": 0,
   886                "apps_kubeblocks_io_component_name": 3,
   887                "pod": 4
   888              },
   889              "renameByName": {
   890                "Value #B": "CPU",
   891                "Value #C": "CPU (Limit)",
   892                "Value #D": "CPU %",
   893                "Value #E": "MEM",
   894                "Value #F": "MEM (Limit)",
   895                "Value #G": "MEM %",
   896                "Value #H": "Network (Recv)",
   897                "Value #I": "Network (Sent)",
   898                "app_kubernetes_io_component": "role",
   899                "app_kubernetes_io_instance": "instance",
   900                "apps_kubeblocks_io_component_name": "component_name",
   901                "node": "Host",
   902                "pod": "pod"
   903              }
   904            }
   905          },
   906          {
   907            "id": "sortBy",
   908            "options": {
   909              "fields": {},
   910              "sort": [
   911                {
   912                  "field": "Pod"
   913                }
   914              ]
   915            }
   916          }
   917        ],
   918        "type": "table"
   919      },
   920      {
   921        "collapsed": false,
   922        "datasource": {
   923          "type": "prometheus",
   924          "uid": "prometheus"
   925        },
   926        "gridPos": {
   927          "h": 1,
   928          "w": 24,
   929          "x": 0,
   930          "y": 19
   931        },
   932        "id": 42,
   933        "panels": [],
   934        "targets": [
   935          {
   936            "datasource": {
   937              "type": "prometheus",
   938              "uid": "prometheus"
   939            },
   940            "refId": "A"
   941          }
   942        ],
   943        "title": "Global Meta Service",
   944        "type": "row"
   945      },
   946      {
   947        "datasource": {
   948          "type": "prometheus",
   949          "uid": "${datasource}"
   950        },
   951        "fieldConfig": {
   952          "defaults": {
   953            "color": {
   954              "mode": "palette-classic"
   955            },
   956            "custom": {
   957              "axisCenteredZero": false,
   958              "axisColorMode": "text",
   959              "axisLabel": "",
   960              "axisPlacement": "auto",
   961              "barAlignment": 0,
   962              "drawStyle": "line",
   963              "fillOpacity": 10,
   964              "gradientMode": "opacity",
   965              "hideFrom": {
   966                "graph": false,
   967                "legend": false,
   968                "tooltip": false,
   969                "viz": false
   970              },
   971              "lineInterpolation": "linear",
   972              "lineStyle": {
   973                "fill": "solid"
   974              },
   975              "lineWidth": 1,
   976              "pointSize": 5,
   977              "scaleDistribution": {
   978                "type": "linear"
   979              },
   980              "showPoints": "never",
   981              "spanNulls": true,
   982              "stacking": {
   983                "group": "A",
   984                "mode": "none"
   985              },
   986              "thresholdsStyle": {
   987                "mode": "off"
   988              }
   989            },
   990            "mappings": [],
   991            "thresholds": {
   992              "mode": "absolute",
   993              "steps": [
   994                {
   995                  "color": "green",
   996                  "value": null
   997                }
   998              ]
   999            },
  1000            "unit": "short"
  1001          },
  1002          "overrides": []
  1003        },
  1004        "gridPos": {
  1005          "h": 8,
  1006          "w": 6,
  1007          "x": 0,
  1008          "y": 20
  1009        },
  1010        "id": 86,
  1011        "options": {
  1012          "graph": {},
  1013          "legend": {
  1014            "calcs": [],
  1015            "displayMode": "list",
  1016            "placement": "bottom",
  1017            "showLegend": true
  1018          },
  1019          "tooltip": {
  1020            "mode": "single",
  1021            "sort": "none"
  1022          }
  1023        },
  1024        "pluginVersion": "7.5.3",
  1025        "targets": [
  1026          {
  1027            "datasource": {
  1028              "uid": "${datasource}"
  1029            },
  1030            "editorMode": "code",
  1031            "exemplar": true,
  1032            "expr": "sum(rate(mysql_global_status_queries{app_kubernetes_io_instance=\"$polardbx\", app_kubernetes_io_component=\"gms\", namespace=\"$namespace\"}[1m]))",
  1033            "interval": "",
  1034            "legendFormat": "qps (physical)",
  1035            "queryType": "randomWalk",
  1036            "range": true,
  1037            "refId": "A"
  1038          }
  1039        ],
  1040        "title": "QPS",
  1041        "type": "timeseries"
  1042      },
  1043      {
  1044        "datasource": {
  1045          "type": "prometheus",
  1046          "uid": "${datasource}"
  1047        },
  1048        "fieldConfig": {
  1049          "defaults": {
  1050            "color": {
  1051              "mode": "palette-classic"
  1052            },
  1053            "custom": {
  1054              "axisCenteredZero": false,
  1055              "axisColorMode": "text",
  1056              "axisLabel": "",
  1057              "axisPlacement": "auto",
  1058              "barAlignment": 0,
  1059              "drawStyle": "line",
  1060              "fillOpacity": 10,
  1061              "gradientMode": "opacity",
  1062              "hideFrom": {
  1063                "graph": false,
  1064                "legend": false,
  1065                "tooltip": false,
  1066                "viz": false
  1067              },
  1068              "lineInterpolation": "linear",
  1069              "lineStyle": {
  1070                "fill": "solid"
  1071              },
  1072              "lineWidth": 1,
  1073              "pointSize": 5,
  1074              "scaleDistribution": {
  1075                "type": "linear"
  1076              },
  1077              "showPoints": "never",
  1078              "spanNulls": true,
  1079              "stacking": {
  1080                "group": "A",
  1081                "mode": "none"
  1082              },
  1083              "thresholdsStyle": {
  1084                "mode": "off"
  1085              }
  1086            },
  1087            "mappings": [],
  1088            "thresholds": {
  1089              "mode": "absolute",
  1090              "steps": [
  1091                {
  1092                  "color": "green",
  1093                  "value": null
  1094                }
  1095              ]
  1096            },
  1097            "unit": "short"
  1098          },
  1099          "overrides": []
  1100        },
  1101        "gridPos": {
  1102          "h": 8,
  1103          "w": 6,
  1104          "x": 6,
  1105          "y": 20
  1106        },
  1107        "id": 87,
  1108        "options": {
  1109          "graph": {},
  1110          "legend": {
  1111            "calcs": [],
  1112            "displayMode": "list",
  1113            "placement": "bottom",
  1114            "showLegend": true
  1115          },
  1116          "tooltip": {
  1117            "mode": "multi",
  1118            "sort": "none"
  1119          }
  1120        },
  1121        "pluginVersion": "7.5.3",
  1122        "targets": [
  1123          {
  1124            "datasource": {
  1125              "uid": "${datasource}"
  1126            },
  1127            "editorMode": "code",
  1128            "exemplar": true,
  1129            "expr": "sum(mysql_global_status_threads_connected{app_kubernetes_io_instance=\"$polardbx\", app_kubernetes_io_component=\"gms\", namespace=\"$namespace\"})",
  1130            "interval": "",
  1131            "legendFormat": "connections",
  1132            "queryType": "randomWalk",
  1133            "range": true,
  1134            "refId": "A"
  1135          },
  1136          {
  1137            "datasource": {
  1138              "uid": "${datasource}"
  1139            },
  1140            "editorMode": "code",
  1141            "exemplar": true,
  1142            "expr": "sum(mysql_global_status_threads_running{app_kubernetes_io_instance=\"$polardbx\", app_kubernetes_io_component=\"gms\", namespace=\"$namespace\"})",
  1143            "hide": false,
  1144            "interval": "",
  1145            "legendFormat": "threads",
  1146            "range": true,
  1147            "refId": "B"
  1148          }
  1149        ],
  1150        "title": "Connections/Threads",
  1151        "type": "timeseries"
  1152      },
  1153      {
  1154        "datasource": {
  1155          "type": "prometheus",
  1156          "uid": "${datasource}"
  1157        },
  1158        "fieldConfig": {
  1159          "defaults": {
  1160            "color": {
  1161              "mode": "palette-classic"
  1162            },
  1163            "custom": {
  1164              "axisCenteredZero": false,
  1165              "axisColorMode": "text",
  1166              "axisLabel": "",
  1167              "axisPlacement": "auto",
  1168              "barAlignment": 0,
  1169              "drawStyle": "line",
  1170              "fillOpacity": 10,
  1171              "gradientMode": "opacity",
  1172              "hideFrom": {
  1173                "graph": false,
  1174                "legend": false,
  1175                "tooltip": false,
  1176                "viz": false
  1177              },
  1178              "lineInterpolation": "linear",
  1179              "lineStyle": {
  1180                "fill": "solid"
  1181              },
  1182              "lineWidth": 1,
  1183              "pointSize": 5,
  1184              "scaleDistribution": {
  1185                "type": "linear"
  1186              },
  1187              "showPoints": "never",
  1188              "spanNulls": true,
  1189              "stacking": {
  1190                "group": "A",
  1191                "mode": "none"
  1192              },
  1193              "thresholdsStyle": {
  1194                "mode": "off"
  1195              }
  1196            },
  1197            "mappings": [],
  1198            "thresholds": {
  1199              "mode": "absolute",
  1200              "steps": [
  1201                {
  1202                  "color": "green",
  1203                  "value": null
  1204                }
  1205              ]
  1206            },
  1207            "unit": "bytes"
  1208          },
  1209          "overrides": []
  1210        },
  1211        "gridPos": {
  1212          "h": 8,
  1213          "w": 6,
  1214          "x": 12,
  1215          "y": 20
  1216        },
  1217        "id": 88,
  1218        "options": {
  1219          "graph": {},
  1220          "legend": {
  1221            "calcs": [],
  1222            "displayMode": "list",
  1223            "placement": "bottom",
  1224            "showLegend": true
  1225          },
  1226          "tooltip": {
  1227            "mode": "single",
  1228            "sort": "none"
  1229          }
  1230        },
  1231        "pluginVersion": "7.5.3",
  1232        "targets": [
  1233          {
  1234            "datasource": {
  1235              "uid": "${datasource}"
  1236            },
  1237            "editorMode": "code",
  1238            "exemplar": true,
  1239            "expr": "sum(mysql_global_status_innodb_buffer_pool_bytes_data{app_kubernetes_io_instance=\"$polardbx\", app_kubernetes_io_component=\"gms\", namespace=\"$namespace\"})",
  1240            "interval": "",
  1241            "legendFormat": "buffer pool size",
  1242            "queryType": "randomWalk",
  1243            "range": true,
  1244            "refId": "A"
  1245          }
  1246        ],
  1247        "title": "Buffer Pool Size (Total)",
  1248        "type": "timeseries"
  1249      },
  1250      {
  1251        "datasource": {
  1252          "type": "prometheus",
  1253          "uid": "${datasource}"
  1254        },
  1255        "fieldConfig": {
  1256          "defaults": {
  1257            "color": {
  1258              "mode": "palette-classic"
  1259            },
  1260            "custom": {
  1261              "axisCenteredZero": false,
  1262              "axisColorMode": "text",
  1263              "axisLabel": "",
  1264              "axisPlacement": "auto",
  1265              "barAlignment": 0,
  1266              "drawStyle": "line",
  1267              "fillOpacity": 10,
  1268              "gradientMode": "opacity",
  1269              "hideFrom": {
  1270                "graph": false,
  1271                "legend": false,
  1272                "tooltip": false,
  1273                "viz": false
  1274              },
  1275              "lineInterpolation": "linear",
  1276              "lineStyle": {
  1277                "fill": "solid"
  1278              },
  1279              "lineWidth": 1,
  1280              "pointSize": 5,
  1281              "scaleDistribution": {
  1282                "type": "linear"
  1283              },
  1284              "showPoints": "never",
  1285              "spanNulls": true,
  1286              "stacking": {
  1287                "group": "A",
  1288                "mode": "none"
  1289              },
  1290              "thresholdsStyle": {
  1291                "mode": "off"
  1292              }
  1293            },
  1294            "mappings": [],
  1295            "thresholds": {
  1296              "mode": "absolute",
  1297              "steps": [
  1298                {
  1299                  "color": "green",
  1300                  "value": null
  1301                }
  1302              ]
  1303            },
  1304            "unit": "bytes"
  1305          },
  1306          "overrides": []
  1307        },
  1308        "gridPos": {
  1309          "h": 8,
  1310          "w": 6,
  1311          "x": 18,
  1312          "y": 20
  1313        },
  1314        "id": 89,
  1315        "options": {
  1316          "graph": {},
  1317          "legend": {
  1318            "calcs": [],
  1319            "displayMode": "list",
  1320            "placement": "bottom",
  1321            "showLegend": true
  1322          },
  1323          "tooltip": {
  1324            "mode": "multi",
  1325            "sort": "none"
  1326          }
  1327        },
  1328        "pluginVersion": "7.5.3",
  1329        "targets": [
  1330          {
  1331            "datasource": {
  1332              "uid": "${datasource}"
  1333            },
  1334            "editorMode": "code",
  1335            "exemplar": true,
  1336            "expr": "sum(mysql_global_status_innodb_buffer_pool_bytes_data{app_kubernetes_io_instance=\"$polardbx\", app_kubernetes_io_component=\"gms\", namespace=\"$namespace\"}) by (xstore_name)",
  1337            "interval": "",
  1338            "legendFormat": "{{ xstore_name }}",
  1339            "queryType": "randomWalk",
  1340            "range": true,
  1341            "refId": "A"
  1342          }
  1343        ],
  1344        "title": "Buffer Pool Size (GMS)",
  1345        "type": "timeseries"
  1346      },
  1347      {
  1348        "datasource": {
  1349          "type": "prometheus",
  1350          "uid": "${datasource}"
  1351        },
  1352        "fieldConfig": {
  1353          "defaults": {
  1354            "color": {
  1355              "mode": "palette-classic"
  1356            },
  1357            "custom": {
  1358              "axisCenteredZero": false,
  1359              "axisColorMode": "text",
  1360              "axisLabel": "",
  1361              "axisPlacement": "auto",
  1362              "barAlignment": 0,
  1363              "drawStyle": "line",
  1364              "fillOpacity": 10,
  1365              "gradientMode": "opacity",
  1366              "hideFrom": {
  1367                "graph": false,
  1368                "legend": false,
  1369                "tooltip": false,
  1370                "viz": false
  1371              },
  1372              "lineInterpolation": "linear",
  1373              "lineStyle": {
  1374                "fill": "solid"
  1375              },
  1376              "lineWidth": 1,
  1377              "pointSize": 5,
  1378              "scaleDistribution": {
  1379                "log": 10,
  1380                "type": "log"
  1381              },
  1382              "showPoints": "never",
  1383              "spanNulls": true,
  1384              "stacking": {
  1385                "group": "A",
  1386                "mode": "none"
  1387              },
  1388              "thresholdsStyle": {
  1389                "mode": "off"
  1390              }
  1391            },
  1392            "mappings": [],
  1393            "thresholds": {
  1394              "mode": "absolute",
  1395              "steps": [
  1396                {
  1397                  "color": "green",
  1398                  "value": null
  1399                }
  1400              ]
  1401            },
  1402            "unit": "short"
  1403          },
  1404          "overrides": []
  1405        },
  1406        "gridPos": {
  1407          "h": 8,
  1408          "w": 6,
  1409          "x": 0,
  1410          "y": 28
  1411        },
  1412        "id": 90,
  1413        "options": {
  1414          "graph": {},
  1415          "legend": {
  1416            "calcs": [],
  1417            "displayMode": "list",
  1418            "placement": "bottom",
  1419            "showLegend": true
  1420          },
  1421          "tooltip": {
  1422            "mode": "multi",
  1423            "sort": "none"
  1424          }
  1425        },
  1426        "pluginVersion": "7.5.3",
  1427        "targets": [
  1428          {
  1429            "datasource": {
  1430              "uid": "${datasource}"
  1431            },
  1432            "editorMode": "code",
  1433            "exemplar": true,
  1434            "expr": "sum(mysql_global_status_buffer_pool_dirty_pages{app_kubernetes_io_instance=\"$polardbx\", app_kubernetes_io_component=\"gms\", namespace=\"$namespace\"})",
  1435            "interval": "",
  1436            "legendFormat": "dirty",
  1437            "queryType": "randomWalk",
  1438            "range": true,
  1439            "refId": "A"
  1440          },
  1441          {
  1442            "datasource": {
  1443              "uid": "${datasource}"
  1444            },
  1445            "editorMode": "code",
  1446            "exemplar": true,
  1447            "expr": "sum(rate(mysql_global_status_buffer_pool_page_changes_total{app_kubernetes_io_instance=\"$polardbx\", app_kubernetes_io_component=\"gms\", namespace=\"$namespace\"}[10m]))",
  1448            "hide": false,
  1449            "interval": "",
  1450            "legendFormat": "flush",
  1451            "queryType": "randomWalk",
  1452            "range": true,
  1453            "refId": "B"
  1454          }
  1455        ],
  1456        "title": "Buffer Pool Dirty/Flush (Total)",
  1457        "type": "timeseries"
  1458      },
  1459      {
  1460        "datasource": {
  1461          "type": "prometheus",
  1462          "uid": "${datasource}"
  1463        },
  1464        "fieldConfig": {
  1465          "defaults": {
  1466            "color": {
  1467              "mode": "palette-classic"
  1468            },
  1469            "custom": {
  1470              "axisCenteredZero": false,
  1471              "axisColorMode": "text",
  1472              "axisLabel": "",
  1473              "axisPlacement": "auto",
  1474              "barAlignment": 0,
  1475              "drawStyle": "line",
  1476              "fillOpacity": 10,
  1477              "gradientMode": "opacity",
  1478              "hideFrom": {
  1479                "graph": false,
  1480                "legend": false,
  1481                "tooltip": false,
  1482                "viz": false
  1483              },
  1484              "lineInterpolation": "linear",
  1485              "lineStyle": {
  1486                "fill": "solid"
  1487              },
  1488              "lineWidth": 1,
  1489              "pointSize": 5,
  1490              "scaleDistribution": {
  1491                "type": "linear"
  1492              },
  1493              "showPoints": "never",
  1494              "spanNulls": true,
  1495              "stacking": {
  1496                "group": "A",
  1497                "mode": "none"
  1498              },
  1499              "thresholdsStyle": {
  1500                "mode": "off"
  1501              }
  1502            },
  1503            "mappings": [],
  1504            "thresholds": {
  1505              "mode": "absolute",
  1506              "steps": [
  1507                {
  1508                  "color": "green",
  1509                  "value": null
  1510                }
  1511              ]
  1512            },
  1513            "unit": "short"
  1514          },
  1515          "overrides": []
  1516        },
  1517        "gridPos": {
  1518          "h": 8,
  1519          "w": 6,
  1520          "x": 6,
  1521          "y": 28
  1522        },
  1523        "id": 91,
  1524        "options": {
  1525          "graph": {},
  1526          "legend": {
  1527            "calcs": [],
  1528            "displayMode": "list",
  1529            "placement": "bottom",
  1530            "showLegend": true
  1531          },
  1532          "tooltip": {
  1533            "mode": "single",
  1534            "sort": "none"
  1535          }
  1536        },
  1537        "pluginVersion": "7.5.3",
  1538        "targets": [
  1539          {
  1540            "datasource": {
  1541              "uid": "${datasource}"
  1542            },
  1543            "editorMode": "code",
  1544            "exemplar": true,
  1545            "expr": "sum(mysql_global_status_innodb_row_lock_current_waits{app_kubernetes_io_instance=\"$polardbx\", app_kubernetes_io_component=\"gms\", namespace=\"$namespace\"})",
  1546            "interval": "",
  1547            "legendFormat": "current wait",
  1548            "queryType": "randomWalk",
  1549            "range": true,
  1550            "refId": "A"
  1551          }
  1552        ],
  1553        "title": "Row Lock Current Wait (Total)",
  1554        "type": "timeseries"
  1555      },
  1556      {
  1557        "datasource": {
  1558          "type": "prometheus",
  1559          "uid": "${datasource}"
  1560        },
  1561        "fieldConfig": {
  1562          "defaults": {
  1563            "color": {
  1564              "mode": "palette-classic"
  1565            },
  1566            "custom": {
  1567              "axisCenteredZero": false,
  1568              "axisColorMode": "text",
  1569              "axisLabel": "",
  1570              "axisPlacement": "auto",
  1571              "barAlignment": 0,
  1572              "drawStyle": "line",
  1573              "fillOpacity": 10,
  1574              "gradientMode": "opacity",
  1575              "hideFrom": {
  1576                "graph": false,
  1577                "legend": false,
  1578                "tooltip": false,
  1579                "viz": false
  1580              },
  1581              "lineInterpolation": "linear",
  1582              "lineStyle": {
  1583                "fill": "solid"
  1584              },
  1585              "lineWidth": 1,
  1586              "pointSize": 5,
  1587              "scaleDistribution": {
  1588                "type": "linear"
  1589              },
  1590              "showPoints": "never",
  1591              "spanNulls": true,
  1592              "stacking": {
  1593                "group": "A",
  1594                "mode": "none"
  1595              },
  1596              "thresholdsStyle": {
  1597                "mode": "off"
  1598              }
  1599            },
  1600            "mappings": [],
  1601            "thresholds": {
  1602              "mode": "absolute",
  1603              "steps": [
  1604                {
  1605                  "color": "green",
  1606                  "value": null
  1607                }
  1608              ]
  1609            },
  1610            "unit": "short"
  1611          },
  1612          "overrides": []
  1613        },
  1614        "gridPos": {
  1615          "h": 8,
  1616          "w": 6,
  1617          "x": 12,
  1618          "y": 28
  1619        },
  1620        "id": 92,
  1621        "options": {
  1622          "graph": {},
  1623          "legend": {
  1624            "calcs": [],
  1625            "displayMode": "list",
  1626            "placement": "bottom",
  1627            "showLegend": true
  1628          },
  1629          "tooltip": {
  1630            "mode": "multi",
  1631            "sort": "none"
  1632          }
  1633        },
  1634        "pluginVersion": "7.5.3",
  1635        "targets": [
  1636          {
  1637            "datasource": {
  1638              "uid": "${datasource}"
  1639            },
  1640            "editorMode": "code",
  1641            "exemplar": true,
  1642            "expr": "sum(rate(mysql_global_status_innodb_buffer_pool_read_requests{app_kubernetes_io_instance=\"$polardbx\", app_kubernetes_io_component=\"gms\", namespace=\"$namespace\"}[1m]))",
  1643            "interval": "",
  1644            "legendFormat": "reads",
  1645            "queryType": "randomWalk",
  1646            "range": true,
  1647            "refId": "A"
  1648          },
  1649          {
  1650            "datasource": {
  1651              "uid": "${datasource}"
  1652            },
  1653            "editorMode": "code",
  1654            "exemplar": true,
  1655            "expr": "sum(rate(mysql_global_status_innodb_buffer_pool_write_requests{app_kubernetes_io_instance=\"$polardbx\", app_kubernetes_io_component=\"gms\", namespace=\"$namespace\"}[1m]))",
  1656            "hide": false,
  1657            "interval": "",
  1658            "legendFormat": "writes",
  1659            "queryType": "randomWalk",
  1660            "range": true,
  1661            "refId": "B"
  1662          }
  1663        ],
  1664        "title": "Logical Reads/Writes (Total)",
  1665        "type": "timeseries"
  1666      },
  1667      {
  1668        "datasource": {
  1669          "type": "prometheus",
  1670          "uid": "${datasource}"
  1671        },
  1672        "fieldConfig": {
  1673          "defaults": {
  1674            "color": {
  1675              "mode": "palette-classic"
  1676            },
  1677            "custom": {
  1678              "axisCenteredZero": false,
  1679              "axisColorMode": "text",
  1680              "axisLabel": "",
  1681              "axisPlacement": "auto",
  1682              "barAlignment": 0,
  1683              "drawStyle": "line",
  1684              "fillOpacity": 10,
  1685              "gradientMode": "opacity",
  1686              "hideFrom": {
  1687                "graph": false,
  1688                "legend": false,
  1689                "tooltip": false,
  1690                "viz": false
  1691              },
  1692              "lineInterpolation": "linear",
  1693              "lineStyle": {
  1694                "fill": "solid"
  1695              },
  1696              "lineWidth": 1,
  1697              "pointSize": 5,
  1698              "scaleDistribution": {
  1699                "type": "linear"
  1700              },
  1701              "showPoints": "never",
  1702              "spanNulls": true,
  1703              "stacking": {
  1704                "group": "A",
  1705                "mode": "none"
  1706              },
  1707              "thresholdsStyle": {
  1708                "mode": "off"
  1709              }
  1710            },
  1711            "mappings": [],
  1712            "thresholds": {
  1713              "mode": "absolute",
  1714              "steps": [
  1715                {
  1716                  "color": "green",
  1717                  "value": null
  1718                }
  1719              ]
  1720            },
  1721            "unit": "short"
  1722          },
  1723          "overrides": []
  1724        },
  1725        "gridPos": {
  1726          "h": 8,
  1727          "w": 6,
  1728          "x": 18,
  1729          "y": 28
  1730        },
  1731        "id": 93,
  1732        "options": {
  1733          "graph": {},
  1734          "legend": {
  1735            "calcs": [],
  1736            "displayMode": "list",
  1737            "placement": "bottom",
  1738            "showLegend": true
  1739          },
  1740          "tooltip": {
  1741            "mode": "multi",
  1742            "sort": "none"
  1743          }
  1744        },
  1745        "pluginVersion": "7.5.3",
  1746        "targets": [
  1747          {
  1748            "datasource": {
  1749              "uid": "${datasource}"
  1750            },
  1751            "editorMode": "code",
  1752            "exemplar": true,
  1753            "expr": "sum(rate(mysql_global_status_innodb_log_writes{app_kubernetes_io_instance=\"$polardbx\", app_kubernetes_io_component=\"gms\",  namespace=\"$namespace\"}[1m]))",
  1754            "interval": "",
  1755            "legendFormat": "log writes",
  1756            "queryType": "randomWalk",
  1757            "range": true,
  1758            "refId": "A"
  1759          },
  1760          {
  1761            "datasource": {
  1762              "uid": "${datasource}"
  1763            },
  1764            "editorMode": "code",
  1765            "exemplar": true,
  1766            "expr": "sum(rate(mysql_global_status_innodb_data_reads{app_kubernetes_io_instance=\"$polardbx\", app_kubernetes_io_component=\"gms\", namespace=\"$namespace\"}[1m]))",
  1767            "hide": false,
  1768            "interval": "",
  1769            "legendFormat": "data reads",
  1770            "queryType": "randomWalk",
  1771            "range": true,
  1772            "refId": "B"
  1773          },
  1774          {
  1775            "datasource": {
  1776              "uid": "${datasource}"
  1777            },
  1778            "exemplar": true,
  1779            "expr": "sum(rate(mysql_global_status_innodb_data_fsyncs{polardbx_name=\"$polardbx\", polardbx_role=\"dn\", xstore_role=\"leader\", namespace=\"$namespace\"}[1m]))",
  1780            "hide": false,
  1781            "interval": "",
  1782            "legendFormat": "data fsyncs",
  1783            "queryType": "randomWalk",
  1784            "refId": "C"
  1785          },
  1786          {
  1787            "datasource": {
  1788              "uid": "${datasource}"
  1789            },
  1790            "exemplar": true,
  1791            "expr": "sum(rate(mysql_global_status_innodb_os_log_fsyncs{polardbx_name=\"$polardbx\", polardbx_role=\"dn\", xstore_role=\"leader\", namespace=\"$namespace\"}[1m]))",
  1792            "hide": false,
  1793            "interval": "",
  1794            "legendFormat": "log fsyncs",
  1795            "queryType": "randomWalk",
  1796            "refId": "D"
  1797          }
  1798        ],
  1799        "title": "IOPS (Total)",
  1800        "type": "timeseries"
  1801      },
  1802      {
  1803        "datasource": {
  1804          "type": "prometheus",
  1805          "uid": "${datasource}"
  1806        },
  1807        "fieldConfig": {
  1808          "defaults": {
  1809            "color": {
  1810              "mode": "palette-classic"
  1811            },
  1812            "custom": {
  1813              "axisCenteredZero": false,
  1814              "axisColorMode": "text",
  1815              "axisLabel": "",
  1816              "axisPlacement": "auto",
  1817              "barAlignment": 0,
  1818              "drawStyle": "line",
  1819              "fillOpacity": 10,
  1820              "gradientMode": "opacity",
  1821              "hideFrom": {
  1822                "graph": false,
  1823                "legend": false,
  1824                "tooltip": false,
  1825                "viz": false
  1826              },
  1827              "lineInterpolation": "linear",
  1828              "lineStyle": {
  1829                "fill": "solid"
  1830              },
  1831              "lineWidth": 1,
  1832              "pointSize": 5,
  1833              "scaleDistribution": {
  1834                "type": "linear"
  1835              },
  1836              "showPoints": "never",
  1837              "spanNulls": true,
  1838              "stacking": {
  1839                "group": "A",
  1840                "mode": "none"
  1841              },
  1842              "thresholdsStyle": {
  1843                "mode": "off"
  1844              }
  1845            },
  1846            "mappings": [],
  1847            "thresholds": {
  1848              "mode": "absolute",
  1849              "steps": [
  1850                {
  1851                  "color": "green"
  1852                }
  1853              ]
  1854            },
  1855            "unit": "bytes"
  1856          },
  1857          "overrides": []
  1858        },
  1859        "gridPos": {
  1860          "h": 8,
  1861          "w": 6,
  1862          "x": 0,
  1863          "y": 36
  1864        },
  1865        "id": 94,
  1866        "options": {
  1867          "graph": {},
  1868          "legend": {
  1869            "calcs": [],
  1870            "displayMode": "list",
  1871            "placement": "bottom",
  1872            "showLegend": true
  1873          },
  1874          "tooltip": {
  1875            "mode": "multi",
  1876            "sort": "none"
  1877          }
  1878        },
  1879        "pluginVersion": "7.5.3",
  1880        "targets": [
  1881          {
  1882            "datasource": {
  1883              "uid": "${datasource}"
  1884            },
  1885            "editorMode": "code",
  1886            "exemplar": true,
  1887            "expr": "sum(rate(mysql_global_status_innodb_data_written{app_kubernetes_io_instance=\"$polardbx\", app_kubernetes_io_component=\"gms\", namespace=\"$namespace\"}[1m]))",
  1888            "interval": "",
  1889            "legendFormat": "data written/s",
  1890            "queryType": "randomWalk",
  1891            "range": true,
  1892            "refId": "A"
  1893          },
  1894          {
  1895            "datasource": {
  1896              "uid": "${datasource}"
  1897            },
  1898            "editorMode": "code",
  1899            "exemplar": true,
  1900            "expr": "sum(rate(mysql_global_status_innodb_data_read{app_kubernetes_io_instance=\"$polardbx\", app_kubernetes_io_component=\"gms\", namespace=\"$namespace\"}[1m]))",
  1901            "hide": false,
  1902            "interval": "",
  1903            "legendFormat": "data read/s",
  1904            "queryType": "randomWalk",
  1905            "range": true,
  1906            "refId": "B"
  1907          },
  1908          {
  1909            "datasource": {
  1910              "uid": "${datasource}"
  1911            },
  1912            "exemplar": true,
  1913            "expr": "sum(rate(mysql_global_status_innodb_os_log_written{polardbx_name=\"$polardbx\", polardbx_role=\"dn\", xstore_role=\"leader\", namespace=\"$namespace\"}[1m]))",
  1914            "hide": false,
  1915            "interval": "",
  1916            "legendFormat": "log writtern/s",
  1917            "queryType": "randomWalk",
  1918            "refId": "C"
  1919          }
  1920        ],
  1921        "title": "IO Throughput (Total)",
  1922        "type": "timeseries"
  1923      },
  1924      {
  1925        "datasource": {
  1926          "type": "prometheus",
  1927          "uid": "${datasource}"
  1928        },
  1929        "fieldConfig": {
  1930          "defaults": {
  1931            "color": {
  1932              "mode": "palette-classic"
  1933            },
  1934            "custom": {
  1935              "axisCenteredZero": false,
  1936              "axisColorMode": "text",
  1937              "axisLabel": "",
  1938              "axisPlacement": "auto",
  1939              "barAlignment": 0,
  1940              "drawStyle": "line",
  1941              "fillOpacity": 10,
  1942              "gradientMode": "opacity",
  1943              "hideFrom": {
  1944                "graph": false,
  1945                "legend": false,
  1946                "tooltip": false,
  1947                "viz": false
  1948              },
  1949              "lineInterpolation": "linear",
  1950              "lineStyle": {
  1951                "fill": "solid"
  1952              },
  1953              "lineWidth": 1,
  1954              "pointSize": 5,
  1955              "scaleDistribution": {
  1956                "type": "linear"
  1957              },
  1958              "showPoints": "never",
  1959              "spanNulls": true,
  1960              "stacking": {
  1961                "group": "A",
  1962                "mode": "none"
  1963              },
  1964              "thresholdsStyle": {
  1965                "mode": "off"
  1966              }
  1967            },
  1968            "mappings": [],
  1969            "thresholds": {
  1970              "mode": "absolute",
  1971              "steps": [
  1972                {
  1973                  "color": "green"
  1974                }
  1975              ]
  1976            },
  1977            "unit": "bytes"
  1978          },
  1979          "overrides": []
  1980        },
  1981        "gridPos": {
  1982          "h": 8,
  1983          "w": 6,
  1984          "x": 6,
  1985          "y": 36
  1986        },
  1987        "id": 95,
  1988        "options": {
  1989          "graph": {},
  1990          "legend": {
  1991            "calcs": [],
  1992            "displayMode": "list",
  1993            "placement": "bottom",
  1994            "showLegend": true
  1995          },
  1996          "tooltip": {
  1997            "mode": "multi",
  1998            "sort": "none"
  1999          }
  2000        },
  2001        "pluginVersion": "7.5.3",
  2002        "targets": [
  2003          {
  2004            "datasource": {
  2005              "uid": "${datasource}"
  2006            },
  2007            "editorMode": "code",
  2008            "exemplar": true,
  2009            "expr": "sum(rate(mysql_global_status_bytes_received{app_kubernetes_io_instance=\"$polardbx\", app_kubernetes_io_component=\"gms\", namespace=\"$namespace\"}[1m]))",
  2010            "interval": "",
  2011            "legendFormat": "received/s",
  2012            "queryType": "randomWalk",
  2013            "range": true,
  2014            "refId": "A"
  2015          },
  2016          {
  2017            "datasource": {
  2018              "uid": "${datasource}"
  2019            },
  2020            "editorMode": "code",
  2021            "exemplar": true,
  2022            "expr": "sum(rate(mysql_global_status_bytes_sent{app_kubernetes_io_instance=\"$polardbx\", app_kubernetes_io_component=\"gms\", namespace=\"$namespace\"}[1m]))",
  2023            "hide": false,
  2024            "interval": "",
  2025            "legendFormat": "sent/s",
  2026            "queryType": "randomWalk",
  2027            "range": true,
  2028            "refId": "B"
  2029          }
  2030        ],
  2031        "title": "Network (Total)",
  2032        "type": "timeseries"
  2033      },
  2034      {
  2035        "collapsed": false,
  2036        "datasource": {
  2037          "type": "prometheus",
  2038          "uid": "prometheus"
  2039        },
  2040        "gridPos": {
  2041          "h": 1,
  2042          "w": 24,
  2043          "x": 0,
  2044          "y": 44
  2045        },
  2046        "id": 4,
  2047        "panels": [],
  2048        "targets": [
  2049          {
  2050            "datasource": {
  2051              "type": "prometheus",
  2052              "uid": "prometheus"
  2053            },
  2054            "refId": "A"
  2055          }
  2056        ],
  2057        "title": "Compute Node",
  2058        "type": "row"
  2059      },
  2060      {
  2061        "datasource": {
  2062          "type": "prometheus",
  2063          "uid": "${datasource}"
  2064        },
  2065        "fieldConfig": {
  2066          "defaults": {
  2067            "color": {
  2068              "mode": "palette-classic"
  2069            },
  2070            "custom": {
  2071              "axisCenteredZero": false,
  2072              "axisColorMode": "text",
  2073              "axisLabel": "",
  2074              "axisPlacement": "auto",
  2075              "barAlignment": 0,
  2076              "drawStyle": "line",
  2077              "fillOpacity": 10,
  2078              "gradientMode": "opacity",
  2079              "hideFrom": {
  2080                "graph": false,
  2081                "legend": false,
  2082                "tooltip": false,
  2083                "viz": false
  2084              },
  2085              "lineInterpolation": "linear",
  2086              "lineStyle": {
  2087                "fill": "solid"
  2088              },
  2089              "lineWidth": 1,
  2090              "pointSize": 5,
  2091              "scaleDistribution": {
  2092                "type": "linear"
  2093              },
  2094              "showPoints": "never",
  2095              "spanNulls": true,
  2096              "stacking": {
  2097                "group": "A",
  2098                "mode": "none"
  2099              },
  2100              "thresholdsStyle": {
  2101                "mode": "off"
  2102              }
  2103            },
  2104            "mappings": [],
  2105            "thresholds": {
  2106              "mode": "absolute",
  2107              "steps": [
  2108                {
  2109                  "color": "green"
  2110                }
  2111              ]
  2112            },
  2113            "unit": "short"
  2114          },
  2115          "overrides": []
  2116        },
  2117        "gridPos": {
  2118          "h": 8,
  2119          "w": 6,
  2120          "x": 0,
  2121          "y": 45
  2122        },
  2123        "id": 28,
  2124        "options": {
  2125          "graph": {},
  2126          "legend": {
  2127            "calcs": [],
  2128            "displayMode": "list",
  2129            "placement": "bottom",
  2130            "showLegend": true
  2131          },
  2132          "tooltip": {
  2133            "mode": "multi",
  2134            "sort": "none"
  2135          }
  2136        },
  2137        "pluginVersion": "7.5.3",
  2138        "targets": [
  2139          {
  2140            "datasource": {
  2141              "uid": "${datasource}"
  2142            },
  2143            "editorMode": "code",
  2144            "exemplar": true,
  2145            "expr": "sum(rate(polardbx_stats_request_count_total{app_kubernetes_io_instance=\"$polardbx\", namespace=\"$namespace\"}[1m]))",
  2146            "interval": "",
  2147            "legendFormat": "qps (logical)",
  2148            "queryType": "randomWalk",
  2149            "range": true,
  2150            "refId": "A"
  2151          },
  2152          {
  2153            "datasource": {
  2154              "uid": "${datasource}"
  2155            },
  2156            "editorMode": "code",
  2157            "exemplar": true,
  2158            "expr": "sum(rate(polardbx_stats_physical_request_count_total{app_kubernetes_io_instance=\"$polardbx\", namespace=\"$namespace\"}[1m]))",
  2159            "hide": false,
  2160            "interval": "",
  2161            "legendFormat": "qps (physical)",
  2162            "range": true,
  2163            "refId": "B"
  2164          }
  2165        ],
  2166        "title": "QPS",
  2167        "type": "timeseries"
  2168      },
  2169      {
  2170        "datasource": {
  2171          "type": "prometheus",
  2172          "uid": "${datasource}"
  2173        },
  2174        "fieldConfig": {
  2175          "defaults": {
  2176            "color": {
  2177              "mode": "palette-classic"
  2178            },
  2179            "custom": {
  2180              "axisCenteredZero": false,
  2181              "axisColorMode": "text",
  2182              "axisLabel": "",
  2183              "axisPlacement": "auto",
  2184              "barAlignment": 0,
  2185              "drawStyle": "line",
  2186              "fillOpacity": 10,
  2187              "gradientMode": "opacity",
  2188              "hideFrom": {
  2189                "graph": false,
  2190                "legend": false,
  2191                "tooltip": false,
  2192                "viz": false
  2193              },
  2194              "lineInterpolation": "linear",
  2195              "lineStyle": {
  2196                "fill": "solid"
  2197              },
  2198              "lineWidth": 1,
  2199              "pointSize": 5,
  2200              "scaleDistribution": {
  2201                "type": "linear"
  2202              },
  2203              "showPoints": "never",
  2204              "spanNulls": true,
  2205              "stacking": {
  2206                "group": "A",
  2207                "mode": "none"
  2208              },
  2209              "thresholdsStyle": {
  2210                "mode": "off"
  2211              }
  2212            },
  2213            "decimals": 2,
  2214            "mappings": [],
  2215            "thresholds": {
  2216              "mode": "absolute",
  2217              "steps": [
  2218                {
  2219                  "color": "green"
  2220                }
  2221              ]
  2222            },
  2223            "unit": "ms"
  2224          },
  2225          "overrides": []
  2226        },
  2227        "gridPos": {
  2228          "h": 8,
  2229          "w": 6,
  2230          "x": 6,
  2231          "y": 45
  2232        },
  2233        "id": 29,
  2234        "options": {
  2235          "graph": {},
  2236          "legend": {
  2237            "calcs": [],
  2238            "displayMode": "list",
  2239            "placement": "bottom",
  2240            "showLegend": true
  2241          },
  2242          "tooltip": {
  2243            "mode": "multi",
  2244            "sort": "none"
  2245          }
  2246        },
  2247        "pluginVersion": "7.5.3",
  2248        "targets": [
  2249          {
  2250            "datasource": {
  2251              "uid": "${datasource}"
  2252            },
  2253            "editorMode": "code",
  2254            "exemplar": true,
  2255            "expr": "sum(delta(polardbx_stats_request_time_cost_total{app_kubernetes_io_instance=\"$polardbx\", namespace=\"$namespace\"}[1m])) / (sum(delta (polardbx_stats_request_count_total{app_kubernetes_io_instance=\"$polardbx\", namespace=\"$namespace\"}[1m])) + 1) / 1000",
  2256            "interval": "",
  2257            "legendFormat": "rt (logical)",
  2258            "queryType": "randomWalk",
  2259            "range": true,
  2260            "refId": "A"
  2261          },
  2262          {
  2263            "datasource": {
  2264              "uid": "${datasource}"
  2265            },
  2266            "editorMode": "code",
  2267            "exemplar": true,
  2268            "expr": "sum(delta(polardbx_stats_physical_request_time_cost_total{app_kubernetes_io_instance=\"$polardbx\", namespace=\"$namespace\"}[30s])) / (sum(delta (polardbx_stats_physical_request_count_total{app_kubernetes_io_instance=\"$polardbx\", namespace=\"$namespace\"}[30s])) + 1) / 1000",
  2269            "hide": false,
  2270            "interval": "",
  2271            "legendFormat": "rt (physical)",
  2272            "range": true,
  2273            "refId": "B"
  2274          }
  2275        ],
  2276        "title": "Response Time",
  2277        "type": "timeseries"
  2278      },
  2279      {
  2280        "datasource": {
  2281          "type": "prometheus",
  2282          "uid": "${datasource}"
  2283        },
  2284        "fieldConfig": {
  2285          "defaults": {
  2286            "color": {
  2287              "mode": "palette-classic"
  2288            },
  2289            "custom": {
  2290              "axisCenteredZero": false,
  2291              "axisColorMode": "text",
  2292              "axisLabel": "",
  2293              "axisPlacement": "auto",
  2294              "barAlignment": 0,
  2295              "drawStyle": "line",
  2296              "fillOpacity": 10,
  2297              "gradientMode": "opacity",
  2298              "hideFrom": {
  2299                "graph": false,
  2300                "legend": false,
  2301                "tooltip": false,
  2302                "viz": false
  2303              },
  2304              "lineInterpolation": "linear",
  2305              "lineStyle": {
  2306                "fill": "solid"
  2307              },
  2308              "lineWidth": 1,
  2309              "pointSize": 5,
  2310              "scaleDistribution": {
  2311                "type": "linear"
  2312              },
  2313              "showPoints": "never",
  2314              "spanNulls": true,
  2315              "stacking": {
  2316                "group": "A",
  2317                "mode": "none"
  2318              },
  2319              "thresholdsStyle": {
  2320                "mode": "off"
  2321              }
  2322            },
  2323            "mappings": [],
  2324            "thresholds": {
  2325              "mode": "absolute",
  2326              "steps": [
  2327                {
  2328                  "color": "green"
  2329                }
  2330              ]
  2331            },
  2332            "unit": "short"
  2333          },
  2334          "overrides": []
  2335        },
  2336        "gridPos": {
  2337          "h": 8,
  2338          "w": 6,
  2339          "x": 12,
  2340          "y": 45
  2341        },
  2342        "id": 30,
  2343        "options": {
  2344          "graph": {},
  2345          "legend": {
  2346            "calcs": [],
  2347            "displayMode": "list",
  2348            "placement": "bottom",
  2349            "showLegend": true
  2350          },
  2351          "tooltip": {
  2352            "mode": "multi",
  2353            "sort": "none"
  2354          }
  2355        },
  2356        "pluginVersion": "7.5.3",
  2357        "targets": [
  2358          {
  2359            "datasource": {
  2360              "uid": "${datasource}"
  2361            },
  2362            "editorMode": "code",
  2363            "exemplar": true,
  2364            "expr": "sum(polardbx_stats_active_connections{app_kubernetes_io_instance=\"$polardbx\", namespace=\"$namespace\"})",
  2365            "interval": "",
  2366            "legendFormat": "connections",
  2367            "queryType": "randomWalk",
  2368            "range": true,
  2369            "refId": "A"
  2370          },
  2371          {
  2372            "datasource": {
  2373              "uid": "${datasource}"
  2374            },
  2375            "editorMode": "code",
  2376            "exemplar": true,
  2377            "expr": "sum(polardbx_stats_running_count{app_kubernetes_io_instance=\"$polardbx\", namespace=\"$namespace\"})",
  2378            "hide": false,
  2379            "interval": "",
  2380            "legendFormat": "threads (running)",
  2381            "range": true,
  2382            "refId": "B"
  2383          }
  2384        ],
  2385        "title": "Connections / Threads",
  2386        "type": "timeseries"
  2387      },
  2388      {
  2389        "datasource": {
  2390          "type": "prometheus",
  2391          "uid": "${datasource}"
  2392        },
  2393        "fieldConfig": {
  2394          "defaults": {
  2395            "color": {
  2396              "mode": "palette-classic"
  2397            },
  2398            "custom": {
  2399              "axisCenteredZero": false,
  2400              "axisColorMode": "text",
  2401              "axisLabel": "",
  2402              "axisPlacement": "auto",
  2403              "barAlignment": 0,
  2404              "drawStyle": "line",
  2405              "fillOpacity": 10,
  2406              "gradientMode": "none",
  2407              "hideFrom": {
  2408                "graph": false,
  2409                "legend": false,
  2410                "tooltip": false,
  2411                "viz": false
  2412              },
  2413              "lineInterpolation": "linear",
  2414              "lineWidth": 1,
  2415              "pointSize": 5,
  2416              "scaleDistribution": {
  2417                "type": "linear"
  2418              },
  2419              "showPoints": "never",
  2420              "spanNulls": true,
  2421              "stacking": {
  2422                "group": "A",
  2423                "mode": "none"
  2424              },
  2425              "thresholdsStyle": {
  2426                "mode": "off"
  2427              }
  2428            },
  2429            "mappings": [],
  2430            "thresholds": {
  2431              "mode": "absolute",
  2432              "steps": [
  2433                {
  2434                  "color": "green"
  2435                },
  2436                {
  2437                  "color": "red",
  2438                  "value": 80
  2439                }
  2440              ]
  2441            },
  2442            "unit": "ns"
  2443          },
  2444          "overrides": [
  2445            {
  2446              "matcher": {
  2447                "id": "byFrameRefID",
  2448                "options": "A"
  2449              },
  2450              "properties": [
  2451                {
  2452                  "id": "custom.axisPlacement",
  2453                  "value": "right"
  2454                },
  2455                {
  2456                  "id": "custom.axisLabel",
  2457                  "value": "count"
  2458                },
  2459                {
  2460                  "id": "unit",
  2461                  "value": "short"
  2462                },
  2463                {
  2464                  "id": "custom.fillOpacity",
  2465                  "value": 0
  2466                },
  2467                {
  2468                  "id": "custom.gradientMode",
  2469                  "value": "none"
  2470                }
  2471              ]
  2472            },
  2473            {
  2474              "matcher": {
  2475                "id": "byFrameRefID",
  2476                "options": "B"
  2477              },
  2478              "properties": [
  2479                {
  2480                  "id": "custom.axisPlacement",
  2481                  "value": "left"
  2482                },
  2483                {
  2484                  "id": "unit",
  2485                  "value": "ns"
  2486                },
  2487                {
  2488                  "id": "custom.axisLabel",
  2489                  "value": "time"
  2490                },
  2491                {
  2492                  "id": "custom.fillOpacity",
  2493                  "value": 0
  2494                },
  2495                {
  2496                  "id": "custom.gradientMode",
  2497                  "value": "none"
  2498                }
  2499              ]
  2500            }
  2501          ]
  2502        },
  2503        "gridPos": {
  2504          "h": 8,
  2505          "w": 6,
  2506          "x": 18,
  2507          "y": 45
  2508        },
  2509        "id": 31,
  2510        "options": {
  2511          "graph": {},
  2512          "legend": {
  2513            "calcs": [],
  2514            "displayMode": "list",
  2515            "placement": "bottom",
  2516            "showLegend": true
  2517          },
  2518          "tooltip": {
  2519            "mode": "multi",
  2520            "sort": "none"
  2521          }
  2522        },
  2523        "pluginVersion": "7.5.3",
  2524        "targets": [
  2525          {
  2526            "datasource": {
  2527              "uid": "${datasource}"
  2528            },
  2529            "editorMode": "code",
  2530            "exemplar": true,
  2531            "expr": "sum(idelta(polardbx_jvmstats_gc_collector_invocation_count{app_kubernetes_io_instance=\"$polardbx\", namespace=\"$namespace\"}[1m])) by (type)",
  2532            "instant": false,
  2533            "interval": "",
  2534            "legendFormat": "count - {{ type }}",
  2535            "queryType": "randomWalk",
  2536            "refId": "A"
  2537          },
  2538          {
  2539            "datasource": {
  2540              "uid": "${datasource}"
  2541            },
  2542            "editorMode": "code",
  2543            "exemplar": true,
  2544            "expr": "sum(idelta(polardbx_jvmstats_gc_collector_time_total{app_kubernetes_io_instance=\"$polardbx\", namespace=\"$namespace\"}[1m]) / (idelta(polardbx_jvmstats_gc_collector_invocation_count{app_kubernetes_io_instance=\"$polardbx\", namespace=\"$namespace\"}[1m]) + 1)) by (type)",
  2545            "hide": false,
  2546            "interval": "",
  2547            "legendFormat": "time - {{ type }}",
  2548            "range": true,
  2549            "refId": "B"
  2550          }
  2551        ],
  2552        "title": "GC",
  2553        "type": "timeseries"
  2554      },
  2555      {
  2556        "datasource": {
  2557          "type": "prometheus",
  2558          "uid": "${datasource}"
  2559        },
  2560        "fieldConfig": {
  2561          "defaults": {
  2562            "color": {
  2563              "mode": "palette-classic"
  2564            },
  2565            "custom": {
  2566              "axisCenteredZero": false,
  2567              "axisColorMode": "text",
  2568              "axisLabel": "",
  2569              "axisPlacement": "auto",
  2570              "barAlignment": 0,
  2571              "drawStyle": "line",
  2572              "fillOpacity": 10,
  2573              "gradientMode": "hue",
  2574              "hideFrom": {
  2575                "graph": false,
  2576                "legend": false,
  2577                "tooltip": false,
  2578                "viz": false
  2579              },
  2580              "lineInterpolation": "linear",
  2581              "lineStyle": {
  2582                "fill": "solid"
  2583              },
  2584              "lineWidth": 1,
  2585              "pointSize": 5,
  2586              "scaleDistribution": {
  2587                "type": "linear"
  2588              },
  2589              "showPoints": "never",
  2590              "spanNulls": true,
  2591              "stacking": {
  2592                "group": "A",
  2593                "mode": "none"
  2594              },
  2595              "thresholdsStyle": {
  2596                "mode": "off"
  2597              }
  2598            },
  2599            "mappings": [],
  2600            "thresholds": {
  2601              "mode": "absolute",
  2602              "steps": [
  2603                {
  2604                  "color": "green"
  2605                }
  2606              ]
  2607            },
  2608            "unit": "short"
  2609          },
  2610          "overrides": []
  2611        },
  2612        "gridPos": {
  2613          "h": 8,
  2614          "w": 6,
  2615          "x": 0,
  2616          "y": 53
  2617        },
  2618        "id": 32,
  2619        "options": {
  2620          "graph": {},
  2621          "legend": {
  2622            "calcs": [],
  2623            "displayMode": "list",
  2624            "placement": "bottom",
  2625            "showLegend": true
  2626          },
  2627          "tooltip": {
  2628            "mode": "single",
  2629            "sort": "none"
  2630          }
  2631        },
  2632        "pluginVersion": "7.5.3",
  2633        "targets": [
  2634          {
  2635            "datasource": {
  2636              "uid": "${datasource}"
  2637            },
  2638            "editorMode": "code",
  2639            "exemplar": true,
  2640            "expr": "sum(rate(polardbx_stc_connection_error_count_total{app_kubernetes_io_instance=\"$polardbx\", namespace=\"$namespace\"}[1m]))",
  2641            "interval": "",
  2642            "legendFormat": "connection error",
  2643            "queryType": "randomWalk",
  2644            "range": true,
  2645            "refId": "A"
  2646          }
  2647        ],
  2648        "title": "Connection Error",
  2649        "type": "timeseries"
  2650      },
  2651      {
  2652        "datasource": {
  2653          "type": "prometheus",
  2654          "uid": "${datasource}"
  2655        },
  2656        "fieldConfig": {
  2657          "defaults": {
  2658            "color": {
  2659              "mode": "palette-classic"
  2660            },
  2661            "custom": {
  2662              "axisCenteredZero": false,
  2663              "axisColorMode": "text",
  2664              "axisLabel": "",
  2665              "axisPlacement": "auto",
  2666              "barAlignment": 0,
  2667              "drawStyle": "line",
  2668              "fillOpacity": 10,
  2669              "gradientMode": "hue",
  2670              "hideFrom": {
  2671                "graph": false,
  2672                "legend": false,
  2673                "tooltip": false,
  2674                "viz": false
  2675              },
  2676              "lineInterpolation": "linear",
  2677              "lineStyle": {
  2678                "fill": "solid"
  2679              },
  2680              "lineWidth": 1,
  2681              "pointSize": 5,
  2682              "scaleDistribution": {
  2683                "type": "linear"
  2684              },
  2685              "showPoints": "never",
  2686              "spanNulls": true,
  2687              "stacking": {
  2688                "group": "A",
  2689                "mode": "none"
  2690              },
  2691              "thresholdsStyle": {
  2692                "mode": "off"
  2693              }
  2694            },
  2695            "mappings": [],
  2696            "thresholds": {
  2697              "mode": "absolute",
  2698              "steps": [
  2699                {
  2700                  "color": "green"
  2701                }
  2702              ]
  2703            },
  2704            "unit": "short"
  2705          },
  2706          "overrides": []
  2707        },
  2708        "gridPos": {
  2709          "h": 8,
  2710          "w": 6,
  2711          "x": 6,
  2712          "y": 53
  2713        },
  2714        "id": 39,
  2715        "options": {
  2716          "graph": {},
  2717          "legend": {
  2718            "calcs": [],
  2719            "displayMode": "list",
  2720            "placement": "bottom",
  2721            "showLegend": true
  2722          },
  2723          "tooltip": {
  2724            "mode": "multi",
  2725            "sort": "none"
  2726          }
  2727        },
  2728        "pluginVersion": "7.5.3",
  2729        "targets": [
  2730          {
  2731            "datasource": {
  2732              "uid": "${datasource}"
  2733            },
  2734            "editorMode": "code",
  2735            "exemplar": true,
  2736            "expr": "sum(rate(polardbx_stats_best_effort_transaction_count_total{app_kubernetes_io_instance=\"$polardbx\", namespace=\"$namespace\"}[1m]))",
  2737            "interval": "",
  2738            "legendFormat": "best effort",
  2739            "queryType": "randomWalk",
  2740            "range": true,
  2741            "refId": "A"
  2742          },
  2743          {
  2744            "datasource": {
  2745              "uid": "${datasource}"
  2746            },
  2747            "editorMode": "code",
  2748            "exemplar": true,
  2749            "expr": "sum(rate(polardbx_stats_xa_transaction_count_total{app_kubernetes_io_instance=\"$polardbx\", namespace=\"$namespace\"}[1m]))",
  2750            "hide": false,
  2751            "interval": "",
  2752            "legendFormat": "xa",
  2753            "queryType": "randomWalk",
  2754            "range": true,
  2755            "refId": "B"
  2756          },
  2757          {
  2758            "datasource": {
  2759              "uid": "${datasource}"
  2760            },
  2761            "exemplar": true,
  2762            "expr": "sum(rate(polardbx_stats_tso_transaction_count_total{polardbx_name=\"$polardbx\", namespace=\"$namespace\"}[1m]))",
  2763            "hide": false,
  2764            "interval": "",
  2765            "legendFormat": "tso",
  2766            "queryType": "randomWalk",
  2767            "refId": "C"
  2768          }
  2769        ],
  2770        "title": "Transactions",
  2771        "type": "timeseries"
  2772      },
  2773      {
  2774        "datasource": {
  2775          "type": "prometheus",
  2776          "uid": "${datasource}"
  2777        },
  2778        "fieldConfig": {
  2779          "defaults": {
  2780            "color": {
  2781              "mode": "palette-classic"
  2782            },
  2783            "custom": {
  2784              "axisCenteredZero": false,
  2785              "axisColorMode": "text",
  2786              "axisLabel": "",
  2787              "axisPlacement": "auto",
  2788              "barAlignment": 0,
  2789              "drawStyle": "line",
  2790              "fillOpacity": 10,
  2791              "gradientMode": "opacity",
  2792              "hideFrom": {
  2793                "graph": false,
  2794                "legend": false,
  2795                "tooltip": false,
  2796                "viz": false
  2797              },
  2798              "lineInterpolation": "linear",
  2799              "lineStyle": {
  2800                "fill": "solid"
  2801              },
  2802              "lineWidth": 1,
  2803              "pointSize": 5,
  2804              "scaleDistribution": {
  2805                "type": "linear"
  2806              },
  2807              "showPoints": "never",
  2808              "spanNulls": true,
  2809              "stacking": {
  2810                "group": "A",
  2811                "mode": "none"
  2812              },
  2813              "thresholdsStyle": {
  2814                "mode": "off"
  2815              }
  2816            },
  2817            "mappings": [],
  2818            "thresholds": {
  2819              "mode": "absolute",
  2820              "steps": [
  2821                {
  2822                  "color": "green"
  2823                }
  2824              ]
  2825            },
  2826            "unit": "µs"
  2827          },
  2828          "overrides": []
  2829        },
  2830        "gridPos": {
  2831          "h": 8,
  2832          "w": 6,
  2833          "x": 12,
  2834          "y": 53
  2835        },
  2836        "id": 33,
  2837        "options": {
  2838          "graph": {},
  2839          "legend": {
  2840            "calcs": [],
  2841            "displayMode": "list",
  2842            "placement": "bottom",
  2843            "showLegend": true
  2844          },
  2845          "tooltip": {
  2846            "mode": "multi",
  2847            "sort": "none"
  2848          }
  2849        },
  2850        "pluginVersion": "7.5.3",
  2851        "targets": [
  2852          {
  2853            "datasource": {
  2854              "uid": "${datasource}"
  2855            },
  2856            "editorMode": "code",
  2857            "exemplar": true,
  2858            "expr": "topk(5, sum by (schema) (\n    label_replace(\n      rate(polardbx_stc_request_time_cost_total{app_kubernetes_io_instance=\"$polardbx\", namespace=\"$namespace\", appname!~\"__.*__@.*|information_schema@.*|polardbx@.*\"}[1m]),\n      \"schema\",\n      \"$1\",\n      \"appname\",\n      \"(.*)@.*\"\n    )\n  )\n) by (schema)",
  2859            "interval": "",
  2860            "legendFormat": "{{ schema }}",
  2861            "queryType": "randomWalk",
  2862            "range": true,
  2863            "refId": "A"
  2864          }
  2865        ],
  2866        "title": "Processing Time (Top 5)",
  2867        "type": "timeseries"
  2868      },
  2869      {
  2870        "datasource": {
  2871          "type": "prometheus",
  2872          "uid": "${datasource}"
  2873        },
  2874        "fieldConfig": {
  2875          "defaults": {
  2876            "color": {
  2877              "mode": "palette-classic"
  2878            },
  2879            "custom": {
  2880              "axisCenteredZero": false,
  2881              "axisColorMode": "text",
  2882              "axisLabel": "",
  2883              "axisPlacement": "auto",
  2884              "barAlignment": 0,
  2885              "drawStyle": "line",
  2886              "fillOpacity": 10,
  2887              "gradientMode": "opacity",
  2888              "hideFrom": {
  2889                "graph": false,
  2890                "legend": false,
  2891                "tooltip": false,
  2892                "viz": false
  2893              },
  2894              "lineInterpolation": "linear",
  2895              "lineStyle": {
  2896                "fill": "solid"
  2897              },
  2898              "lineWidth": 1,
  2899              "pointSize": 5,
  2900              "scaleDistribution": {
  2901                "type": "linear"
  2902              },
  2903              "showPoints": "never",
  2904              "spanNulls": true,
  2905              "stacking": {
  2906                "group": "A",
  2907                "mode": "none"
  2908              },
  2909              "thresholdsStyle": {
  2910                "mode": "off"
  2911              }
  2912            },
  2913            "mappings": [],
  2914            "thresholds": {
  2915              "mode": "absolute",
  2916              "steps": [
  2917                {
  2918                  "color": "green"
  2919                }
  2920              ]
  2921            },
  2922            "unit": "short"
  2923          },
  2924          "overrides": []
  2925        },
  2926        "gridPos": {
  2927          "h": 8,
  2928          "w": 6,
  2929          "x": 18,
  2930          "y": 53
  2931        },
  2932        "id": 34,
  2933        "options": {
  2934          "graph": {},
  2935          "legend": {
  2936            "calcs": [],
  2937            "displayMode": "list",
  2938            "placement": "bottom",
  2939            "showLegend": true
  2940          },
  2941          "tooltip": {
  2942            "mode": "multi",
  2943            "sort": "none"
  2944          }
  2945        },
  2946        "pluginVersion": "7.5.3",
  2947        "targets": [
  2948          {
  2949            "datasource": {
  2950              "uid": "${datasource}"
  2951            },
  2952            "editorMode": "code",
  2953            "exemplar": true,
  2954            "expr": "topk(5, sum by (schema) (\n    label_replace(\n      rate(polardbx_stc_active_physical_connection_count{app_kubernetes_io_instance=\"$polardbx\", namespace=\"$namespace\", appname!~\"__.*__@.*|information_schema@.*|polardbx@.*\"}[1m]),\n      \"schema\",\n      \"$1\",\n      \"appname\",\n      \"(.*)@.*\"\n    )\n  )\n) by (schema)",
  2955            "interval": "",
  2956            "legendFormat": "active - {{ schema }}",
  2957            "queryType": "randomWalk",
  2958            "range": true,
  2959            "refId": "A"
  2960          },
  2961          {
  2962            "datasource": {
  2963              "uid": "${datasource}"
  2964            },
  2965            "exemplar": true,
  2966            "expr": "topk(5, sum by (schema) (\n    label_replace(\n      rate(polardbx_stc_pooling_physical_connection_count{polardbx_name=\"$polardbx\", namespace=\"$namespace\", appname!~\"__.*__@.*|information_schema@.*|polardbx@.*\"}[1m]),\n      \"schema\",\n      \"$1\",\n      \"appname\",\n      \"(.*)@.*\"\n    )\n  )\n) by (schema)",
  2967            "hide": false,
  2968            "interval": "",
  2969            "legendFormat": "pooling - {{ schema }}",
  2970            "refId": "B"
  2971          }
  2972        ],
  2973        "title": "Physical Connection (Top 5)",
  2974        "type": "timeseries"
  2975      },
  2976      {
  2977        "collapsed": false,
  2978        "datasource": {
  2979          "type": "prometheus",
  2980          "uid": "prometheus"
  2981        },
  2982        "gridPos": {
  2983          "h": 1,
  2984          "w": 24,
  2985          "x": 0,
  2986          "y": 61
  2987        },
  2988        "id": 6,
  2989        "panels": [],
  2990        "targets": [
  2991          {
  2992            "datasource": {
  2993              "type": "prometheus",
  2994              "uid": "prometheus"
  2995            },
  2996            "refId": "A"
  2997          }
  2998        ],
  2999        "title": "Data Node",
  3000        "type": "row"
  3001      },
  3002      {
  3003        "datasource": {
  3004          "type": "prometheus",
  3005          "uid": "${datasource}"
  3006        },
  3007        "fieldConfig": {
  3008          "defaults": {
  3009            "color": {
  3010              "mode": "palette-classic"
  3011            },
  3012            "custom": {
  3013              "axisCenteredZero": false,
  3014              "axisColorMode": "text",
  3015              "axisLabel": "",
  3016              "axisPlacement": "auto",
  3017              "barAlignment": 0,
  3018              "drawStyle": "line",
  3019              "fillOpacity": 10,
  3020              "gradientMode": "opacity",
  3021              "hideFrom": {
  3022                "graph": false,
  3023                "legend": false,
  3024                "tooltip": false,
  3025                "viz": false
  3026              },
  3027              "lineInterpolation": "linear",
  3028              "lineStyle": {
  3029                "fill": "solid"
  3030              },
  3031              "lineWidth": 1,
  3032              "pointSize": 5,
  3033              "scaleDistribution": {
  3034                "type": "linear"
  3035              },
  3036              "showPoints": "never",
  3037              "spanNulls": true,
  3038              "stacking": {
  3039                "group": "A",
  3040                "mode": "none"
  3041              },
  3042              "thresholdsStyle": {
  3043                "mode": "off"
  3044              }
  3045            },
  3046            "mappings": [],
  3047            "thresholds": {
  3048              "mode": "absolute",
  3049              "steps": [
  3050                {
  3051                  "color": "green"
  3052                }
  3053              ]
  3054            },
  3055            "unit": "short"
  3056          },
  3057          "overrides": []
  3058        },
  3059        "gridPos": {
  3060          "h": 8,
  3061          "w": 6,
  3062          "x": 0,
  3063          "y": 62
  3064        },
  3065        "id": 55,
  3066        "options": {
  3067          "graph": {},
  3068          "legend": {
  3069            "calcs": [],
  3070            "displayMode": "list",
  3071            "placement": "bottom",
  3072            "showLegend": true
  3073          },
  3074          "tooltip": {
  3075            "mode": "single",
  3076            "sort": "none"
  3077          }
  3078        },
  3079        "pluginVersion": "7.5.3",
  3080        "targets": [
  3081          {
  3082            "datasource": {
  3083              "uid": "${datasource}"
  3084            },
  3085            "editorMode": "code",
  3086            "exemplar": true,
  3087            "expr": "sum(rate(mysql_global_status_queries{app_kubernetes_io_instance=\"$polardbx\", app_kubernetes_io_component=\"dn\", namespace=\"$namespace\"}[1m]))",
  3088            "interval": "",
  3089            "legendFormat": "qps (physical)",
  3090            "queryType": "randomWalk",
  3091            "range": true,
  3092            "refId": "A"
  3093          }
  3094        ],
  3095        "title": "QPS",
  3096        "type": "timeseries"
  3097      },
  3098      {
  3099        "datasource": {
  3100          "type": "prometheus",
  3101          "uid": "${datasource}"
  3102        },
  3103        "fieldConfig": {
  3104          "defaults": {
  3105            "color": {
  3106              "mode": "palette-classic"
  3107            },
  3108            "custom": {
  3109              "axisCenteredZero": false,
  3110              "axisColorMode": "text",
  3111              "axisLabel": "",
  3112              "axisPlacement": "auto",
  3113              "barAlignment": 0,
  3114              "drawStyle": "line",
  3115              "fillOpacity": 10,
  3116              "gradientMode": "opacity",
  3117              "hideFrom": {
  3118                "graph": false,
  3119                "legend": false,
  3120                "tooltip": false,
  3121                "viz": false
  3122              },
  3123              "lineInterpolation": "linear",
  3124              "lineStyle": {
  3125                "fill": "solid"
  3126              },
  3127              "lineWidth": 1,
  3128              "pointSize": 5,
  3129              "scaleDistribution": {
  3130                "type": "linear"
  3131              },
  3132              "showPoints": "never",
  3133              "spanNulls": true,
  3134              "stacking": {
  3135                "group": "A",
  3136                "mode": "none"
  3137              },
  3138              "thresholdsStyle": {
  3139                "mode": "off"
  3140              }
  3141            },
  3142            "mappings": [],
  3143            "thresholds": {
  3144              "mode": "absolute",
  3145              "steps": [
  3146                {
  3147                  "color": "green"
  3148                }
  3149              ]
  3150            },
  3151            "unit": "short"
  3152          },
  3153          "overrides": []
  3154        },
  3155        "gridPos": {
  3156          "h": 8,
  3157          "w": 6,
  3158          "x": 6,
  3159          "y": 62
  3160        },
  3161        "id": 56,
  3162        "options": {
  3163          "graph": {},
  3164          "legend": {
  3165            "calcs": [],
  3166            "displayMode": "list",
  3167            "placement": "bottom",
  3168            "showLegend": true
  3169          },
  3170          "tooltip": {
  3171            "mode": "multi",
  3172            "sort": "none"
  3173          }
  3174        },
  3175        "pluginVersion": "7.5.3",
  3176        "targets": [
  3177          {
  3178            "datasource": {
  3179              "uid": "${datasource}"
  3180            },
  3181            "editorMode": "code",
  3182            "exemplar": true,
  3183            "expr": "sum(mysql_global_status_threads_connected{app_kubernetes_io_instance=\"$polardbx\", app_kubernetes_io_component=\"dn\", namespace=\"$namespace\"})",
  3184            "interval": "",
  3185            "legendFormat": "connections",
  3186            "queryType": "randomWalk",
  3187            "range": true,
  3188            "refId": "A"
  3189          },
  3190          {
  3191            "datasource": {
  3192              "uid": "${datasource}"
  3193            },
  3194            "editorMode": "code",
  3195            "exemplar": true,
  3196            "expr": "sum(mysql_global_status_threads_running{app_kubernetes_io_instance=\"$polardbx\", app_kubernetes_io_component=\"dn\", namespace=\"$namespace\"})",
  3197            "hide": false,
  3198            "interval": "",
  3199            "legendFormat": "threads",
  3200            "range": true,
  3201            "refId": "B"
  3202          }
  3203        ],
  3204        "title": "Connections/Threads",
  3205        "type": "timeseries"
  3206      },
  3207      {
  3208        "datasource": {
  3209          "type": "prometheus",
  3210          "uid": "${datasource}"
  3211        },
  3212        "fieldConfig": {
  3213          "defaults": {
  3214            "color": {
  3215              "mode": "palette-classic"
  3216            },
  3217            "custom": {
  3218              "axisCenteredZero": false,
  3219              "axisColorMode": "text",
  3220              "axisLabel": "",
  3221              "axisPlacement": "auto",
  3222              "barAlignment": 0,
  3223              "drawStyle": "line",
  3224              "fillOpacity": 10,
  3225              "gradientMode": "opacity",
  3226              "hideFrom": {
  3227                "graph": false,
  3228                "legend": false,
  3229                "tooltip": false,
  3230                "viz": false
  3231              },
  3232              "lineInterpolation": "linear",
  3233              "lineStyle": {
  3234                "fill": "solid"
  3235              },
  3236              "lineWidth": 1,
  3237              "pointSize": 5,
  3238              "scaleDistribution": {
  3239                "type": "linear"
  3240              },
  3241              "showPoints": "never",
  3242              "spanNulls": true,
  3243              "stacking": {
  3244                "group": "A",
  3245                "mode": "none"
  3246              },
  3247              "thresholdsStyle": {
  3248                "mode": "off"
  3249              }
  3250            },
  3251            "mappings": [],
  3252            "thresholds": {
  3253              "mode": "absolute",
  3254              "steps": [
  3255                {
  3256                  "color": "green"
  3257                }
  3258              ]
  3259            },
  3260            "unit": "bytes"
  3261          },
  3262          "overrides": []
  3263        },
  3264        "gridPos": {
  3265          "h": 8,
  3266          "w": 6,
  3267          "x": 12,
  3268          "y": 62
  3269        },
  3270        "id": 57,
  3271        "options": {
  3272          "graph": {},
  3273          "legend": {
  3274            "calcs": [],
  3275            "displayMode": "list",
  3276            "placement": "bottom",
  3277            "showLegend": true
  3278          },
  3279          "tooltip": {
  3280            "mode": "single",
  3281            "sort": "none"
  3282          }
  3283        },
  3284        "pluginVersion": "7.5.3",
  3285        "targets": [
  3286          {
  3287            "datasource": {
  3288              "uid": "${datasource}"
  3289            },
  3290            "editorMode": "code",
  3291            "exemplar": true,
  3292            "expr": "sum(mysql_global_status_innodb_buffer_pool_bytes_data{app_kubernetes_io_instance=\"$polardbx\", app_kubernetes_io_component=\"dn\", namespace=\"$namespace\"})",
  3293            "interval": "",
  3294            "legendFormat": "buffer pool size",
  3295            "queryType": "randomWalk",
  3296            "range": true,
  3297            "refId": "A"
  3298          }
  3299        ],
  3300        "title": "Buffer Pool Size (Total)",
  3301        "type": "timeseries"
  3302      },
  3303      {
  3304        "datasource": {
  3305          "type": "prometheus",
  3306          "uid": "${datasource}"
  3307        },
  3308        "fieldConfig": {
  3309          "defaults": {
  3310            "color": {
  3311              "mode": "palette-classic"
  3312            },
  3313            "custom": {
  3314              "axisCenteredZero": false,
  3315              "axisColorMode": "text",
  3316              "axisLabel": "",
  3317              "axisPlacement": "auto",
  3318              "barAlignment": 0,
  3319              "drawStyle": "line",
  3320              "fillOpacity": 10,
  3321              "gradientMode": "opacity",
  3322              "hideFrom": {
  3323                "graph": false,
  3324                "legend": false,
  3325                "tooltip": false,
  3326                "viz": false
  3327              },
  3328              "lineInterpolation": "linear",
  3329              "lineStyle": {
  3330                "fill": "solid"
  3331              },
  3332              "lineWidth": 1,
  3333              "pointSize": 5,
  3334              "scaleDistribution": {
  3335                "type": "linear"
  3336              },
  3337              "showPoints": "never",
  3338              "spanNulls": true,
  3339              "stacking": {
  3340                "group": "A",
  3341                "mode": "none"
  3342              },
  3343              "thresholdsStyle": {
  3344                "mode": "off"
  3345              }
  3346            },
  3347            "mappings": [],
  3348            "thresholds": {
  3349              "mode": "absolute",
  3350              "steps": [
  3351                {
  3352                  "color": "green"
  3353                }
  3354              ]
  3355            },
  3356            "unit": "bytes"
  3357          },
  3358          "overrides": []
  3359        },
  3360        "gridPos": {
  3361          "h": 8,
  3362          "w": 6,
  3363          "x": 18,
  3364          "y": 62
  3365        },
  3366        "id": 58,
  3367        "options": {
  3368          "graph": {},
  3369          "legend": {
  3370            "calcs": [],
  3371            "displayMode": "list",
  3372            "placement": "bottom",
  3373            "showLegend": true
  3374          },
  3375          "tooltip": {
  3376            "mode": "multi",
  3377            "sort": "none"
  3378          }
  3379        },
  3380        "pluginVersion": "7.5.3",
  3381        "targets": [
  3382          {
  3383            "datasource": {
  3384              "uid": "${datasource}"
  3385            },
  3386            "editorMode": "code",
  3387            "exemplar": true,
  3388            "expr": "sum(mysql_global_status_innodb_buffer_pool_bytes_data{app_kubernetes_io_instance=\"$polardbx\", app_kubernetes_io_component=\"dn\", namespace=\"$namespace\"}) by (xstore_name)",
  3389            "interval": "",
  3390            "legendFormat": "{{ xstore_name }}",
  3391            "queryType": "randomWalk",
  3392            "range": true,
  3393            "refId": "A"
  3394          }
  3395        ],
  3396        "title": "Buffer Pool Size (DN)",
  3397        "type": "timeseries"
  3398      },
  3399      {
  3400        "datasource": {
  3401          "type": "prometheus",
  3402          "uid": "${datasource}"
  3403        },
  3404        "fieldConfig": {
  3405          "defaults": {
  3406            "color": {
  3407              "mode": "palette-classic"
  3408            },
  3409            "custom": {
  3410              "axisCenteredZero": false,
  3411              "axisColorMode": "text",
  3412              "axisLabel": "",
  3413              "axisPlacement": "auto",
  3414              "barAlignment": 0,
  3415              "drawStyle": "line",
  3416              "fillOpacity": 10,
  3417              "gradientMode": "opacity",
  3418              "hideFrom": {
  3419                "graph": false,
  3420                "legend": false,
  3421                "tooltip": false,
  3422                "viz": false
  3423              },
  3424              "lineInterpolation": "linear",
  3425              "lineStyle": {
  3426                "fill": "solid"
  3427              },
  3428              "lineWidth": 1,
  3429              "pointSize": 5,
  3430              "scaleDistribution": {
  3431                "log": 10,
  3432                "type": "log"
  3433              },
  3434              "showPoints": "never",
  3435              "spanNulls": true,
  3436              "stacking": {
  3437                "group": "A",
  3438                "mode": "none"
  3439              },
  3440              "thresholdsStyle": {
  3441                "mode": "off"
  3442              }
  3443            },
  3444            "mappings": [],
  3445            "thresholds": {
  3446              "mode": "absolute",
  3447              "steps": [
  3448                {
  3449                  "color": "green"
  3450                }
  3451              ]
  3452            },
  3453            "unit": "short"
  3454          },
  3455          "overrides": []
  3456        },
  3457        "gridPos": {
  3458          "h": 8,
  3459          "w": 6,
  3460          "x": 0,
  3461          "y": 70
  3462        },
  3463        "id": 59,
  3464        "options": {
  3465          "graph": {},
  3466          "legend": {
  3467            "calcs": [],
  3468            "displayMode": "list",
  3469            "placement": "bottom",
  3470            "showLegend": true
  3471          },
  3472          "tooltip": {
  3473            "mode": "multi",
  3474            "sort": "none"
  3475          }
  3476        },
  3477        "pluginVersion": "7.5.3",
  3478        "targets": [
  3479          {
  3480            "datasource": {
  3481              "uid": "${datasource}"
  3482            },
  3483            "editorMode": "code",
  3484            "exemplar": true,
  3485            "expr": "sum(mysql_global_status_buffer_pool_dirty_pages{app_kubernetes_io_instance=\"$polardbx\", app_kubernetes_io_component=\"dn\", namespace=\"$namespace\"})",
  3486            "interval": "",
  3487            "legendFormat": "dirty",
  3488            "queryType": "randomWalk",
  3489            "range": true,
  3490            "refId": "A"
  3491          },
  3492          {
  3493            "datasource": {
  3494              "uid": "${datasource}"
  3495            },
  3496            "editorMode": "code",
  3497            "exemplar": true,
  3498            "expr": "sum(rate(mysql_global_status_buffer_pool_page_changes_total{app_kubernetes_io_instance=\"$polardbx\", app_kubernetes_io_component=\"dn\", namespace=\"$namespace\"}[10m]))",
  3499            "hide": false,
  3500            "interval": "",
  3501            "legendFormat": "flush",
  3502            "queryType": "randomWalk",
  3503            "range": true,
  3504            "refId": "B"
  3505          }
  3506        ],
  3507        "title": "Buffer Pool Dirty/Flush (Total)",
  3508        "type": "timeseries"
  3509      },
  3510      {
  3511        "datasource": {
  3512          "type": "prometheus",
  3513          "uid": "${datasource}"
  3514        },
  3515        "fieldConfig": {
  3516          "defaults": {
  3517            "color": {
  3518              "mode": "palette-classic"
  3519            },
  3520            "custom": {
  3521              "axisCenteredZero": false,
  3522              "axisColorMode": "text",
  3523              "axisLabel": "",
  3524              "axisPlacement": "auto",
  3525              "barAlignment": 0,
  3526              "drawStyle": "line",
  3527              "fillOpacity": 10,
  3528              "gradientMode": "opacity",
  3529              "hideFrom": {
  3530                "graph": false,
  3531                "legend": false,
  3532                "tooltip": false,
  3533                "viz": false
  3534              },
  3535              "lineInterpolation": "linear",
  3536              "lineStyle": {
  3537                "fill": "solid"
  3538              },
  3539              "lineWidth": 1,
  3540              "pointSize": 5,
  3541              "scaleDistribution": {
  3542                "type": "linear"
  3543              },
  3544              "showPoints": "never",
  3545              "spanNulls": true,
  3546              "stacking": {
  3547                "group": "A",
  3548                "mode": "none"
  3549              },
  3550              "thresholdsStyle": {
  3551                "mode": "off"
  3552              }
  3553            },
  3554            "mappings": [],
  3555            "thresholds": {
  3556              "mode": "absolute",
  3557              "steps": [
  3558                {
  3559                  "color": "green"
  3560                }
  3561              ]
  3562            },
  3563            "unit": "short"
  3564          },
  3565          "overrides": []
  3566        },
  3567        "gridPos": {
  3568          "h": 8,
  3569          "w": 6,
  3570          "x": 6,
  3571          "y": 70
  3572        },
  3573        "id": 60,
  3574        "options": {
  3575          "graph": {},
  3576          "legend": {
  3577            "calcs": [],
  3578            "displayMode": "list",
  3579            "placement": "bottom",
  3580            "showLegend": true
  3581          },
  3582          "tooltip": {
  3583            "mode": "single",
  3584            "sort": "none"
  3585          }
  3586        },
  3587        "pluginVersion": "7.5.3",
  3588        "targets": [
  3589          {
  3590            "datasource": {
  3591              "uid": "${datasource}"
  3592            },
  3593            "editorMode": "code",
  3594            "exemplar": true,
  3595            "expr": "sum(mysql_global_status_innodb_row_lock_current_waits{app_kubernetes_io_instance=\"$polardbx\", app_kubernetes_io_component=\"dn\", namespace=\"$namespace\"})",
  3596            "interval": "",
  3597            "legendFormat": "current wait",
  3598            "queryType": "randomWalk",
  3599            "range": true,
  3600            "refId": "A"
  3601          }
  3602        ],
  3603        "title": "Row Lock Current Wait (Total)",
  3604        "type": "timeseries"
  3605      },
  3606      {
  3607        "datasource": {
  3608          "type": "prometheus",
  3609          "uid": "${datasource}"
  3610        },
  3611        "fieldConfig": {
  3612          "defaults": {
  3613            "color": {
  3614              "mode": "palette-classic"
  3615            },
  3616            "custom": {
  3617              "axisCenteredZero": false,
  3618              "axisColorMode": "text",
  3619              "axisLabel": "",
  3620              "axisPlacement": "auto",
  3621              "barAlignment": 0,
  3622              "drawStyle": "line",
  3623              "fillOpacity": 10,
  3624              "gradientMode": "opacity",
  3625              "hideFrom": {
  3626                "graph": false,
  3627                "legend": false,
  3628                "tooltip": false,
  3629                "viz": false
  3630              },
  3631              "lineInterpolation": "linear",
  3632              "lineStyle": {
  3633                "fill": "solid"
  3634              },
  3635              "lineWidth": 1,
  3636              "pointSize": 5,
  3637              "scaleDistribution": {
  3638                "type": "linear"
  3639              },
  3640              "showPoints": "never",
  3641              "spanNulls": true,
  3642              "stacking": {
  3643                "group": "A",
  3644                "mode": "none"
  3645              },
  3646              "thresholdsStyle": {
  3647                "mode": "off"
  3648              }
  3649            },
  3650            "mappings": [],
  3651            "thresholds": {
  3652              "mode": "absolute",
  3653              "steps": [
  3654                {
  3655                  "color": "green"
  3656                }
  3657              ]
  3658            },
  3659            "unit": "short"
  3660          },
  3661          "overrides": []
  3662        },
  3663        "gridPos": {
  3664          "h": 8,
  3665          "w": 6,
  3666          "x": 12,
  3667          "y": 70
  3668        },
  3669        "id": 61,
  3670        "options": {
  3671          "graph": {},
  3672          "legend": {
  3673            "calcs": [],
  3674            "displayMode": "list",
  3675            "placement": "bottom",
  3676            "showLegend": true
  3677          },
  3678          "tooltip": {
  3679            "mode": "multi",
  3680            "sort": "none"
  3681          }
  3682        },
  3683        "pluginVersion": "7.5.3",
  3684        "targets": [
  3685          {
  3686            "datasource": {
  3687              "uid": "${datasource}"
  3688            },
  3689            "editorMode": "code",
  3690            "exemplar": true,
  3691            "expr": "sum(rate(mysql_global_status_innodb_buffer_pool_read_requests{app_kubernetes_io_instance=\"$polardbx\", app_kubernetes_io_component=\"dn\", namespace=\"$namespace\"}[1m]))",
  3692            "interval": "",
  3693            "legendFormat": "reads",
  3694            "queryType": "randomWalk",
  3695            "range": true,
  3696            "refId": "A"
  3697          },
  3698          {
  3699            "datasource": {
  3700              "uid": "${datasource}"
  3701            },
  3702            "editorMode": "code",
  3703            "exemplar": true,
  3704            "expr": "sum(rate(mysql_global_status_innodb_buffer_pool_write_requests{app_kubernetes_io_instance=\"$polardbx\", app_kubernetes_io_component=\"dn\", namespace=\"$namespace\"}[1m]))",
  3705            "hide": false,
  3706            "interval": "",
  3707            "legendFormat": "writes",
  3708            "queryType": "randomWalk",
  3709            "range": true,
  3710            "refId": "B"
  3711          }
  3712        ],
  3713        "title": "Logical Reads/Writes (Total)",
  3714        "type": "timeseries"
  3715      },
  3716      {
  3717        "datasource": {
  3718          "type": "prometheus",
  3719          "uid": "${datasource}"
  3720        },
  3721        "fieldConfig": {
  3722          "defaults": {
  3723            "color": {
  3724              "mode": "palette-classic"
  3725            },
  3726            "custom": {
  3727              "axisCenteredZero": false,
  3728              "axisColorMode": "text",
  3729              "axisLabel": "",
  3730              "axisPlacement": "auto",
  3731              "barAlignment": 0,
  3732              "drawStyle": "line",
  3733              "fillOpacity": 10,
  3734              "gradientMode": "opacity",
  3735              "hideFrom": {
  3736                "graph": false,
  3737                "legend": false,
  3738                "tooltip": false,
  3739                "viz": false
  3740              },
  3741              "lineInterpolation": "linear",
  3742              "lineStyle": {
  3743                "fill": "solid"
  3744              },
  3745              "lineWidth": 1,
  3746              "pointSize": 5,
  3747              "scaleDistribution": {
  3748                "type": "linear"
  3749              },
  3750              "showPoints": "never",
  3751              "spanNulls": true,
  3752              "stacking": {
  3753                "group": "A",
  3754                "mode": "none"
  3755              },
  3756              "thresholdsStyle": {
  3757                "mode": "off"
  3758              }
  3759            },
  3760            "mappings": [],
  3761            "thresholds": {
  3762              "mode": "absolute",
  3763              "steps": [
  3764                {
  3765                  "color": "green"
  3766                }
  3767              ]
  3768            },
  3769            "unit": "short"
  3770          },
  3771          "overrides": []
  3772        },
  3773        "gridPos": {
  3774          "h": 8,
  3775          "w": 6,
  3776          "x": 18,
  3777          "y": 70
  3778        },
  3779        "id": 62,
  3780        "options": {
  3781          "graph": {},
  3782          "legend": {
  3783            "calcs": [],
  3784            "displayMode": "list",
  3785            "placement": "bottom",
  3786            "showLegend": true
  3787          },
  3788          "tooltip": {
  3789            "mode": "multi",
  3790            "sort": "none"
  3791          }
  3792        },
  3793        "pluginVersion": "7.5.3",
  3794        "targets": [
  3795          {
  3796            "datasource": {
  3797              "uid": "${datasource}"
  3798            },
  3799            "editorMode": "code",
  3800            "exemplar": true,
  3801            "expr": "sum(rate(mysql_global_status_innodb_log_writes{app_kubernetes_io_instance=\"$polardbx\", app_kubernetes_io_component=\"dn\",  namespace=\"$namespace\"}[1m]))",
  3802            "interval": "",
  3803            "legendFormat": "log writes",
  3804            "queryType": "randomWalk",
  3805            "range": true,
  3806            "refId": "A"
  3807          },
  3808          {
  3809            "datasource": {
  3810              "uid": "${datasource}"
  3811            },
  3812            "editorMode": "code",
  3813            "exemplar": true,
  3814            "expr": "sum(rate(mysql_global_status_innodb_data_reads{app_kubernetes_io_instance=\"$polardbx\", app_kubernetes_io_component=\"dn\", namespace=\"$namespace\"}[1m]))",
  3815            "hide": false,
  3816            "interval": "",
  3817            "legendFormat": "data reads",
  3818            "queryType": "randomWalk",
  3819            "range": true,
  3820            "refId": "B"
  3821          },
  3822          {
  3823            "datasource": {
  3824              "uid": "${datasource}"
  3825            },
  3826            "exemplar": true,
  3827            "expr": "sum(rate(mysql_global_status_innodb_data_fsyncs{polardbx_name=\"$polardbx\", polardbx_role=\"dn\", xstore_role=\"leader\", namespace=\"$namespace\"}[1m]))",
  3828            "hide": false,
  3829            "interval": "",
  3830            "legendFormat": "data fsyncs",
  3831            "queryType": "randomWalk",
  3832            "refId": "C"
  3833          },
  3834          {
  3835            "datasource": {
  3836              "uid": "${datasource}"
  3837            },
  3838            "exemplar": true,
  3839            "expr": "sum(rate(mysql_global_status_innodb_os_log_fsyncs{polardbx_name=\"$polardbx\", polardbx_role=\"dn\", xstore_role=\"leader\", namespace=\"$namespace\"}[1m]))",
  3840            "hide": false,
  3841            "interval": "",
  3842            "legendFormat": "log fsyncs",
  3843            "queryType": "randomWalk",
  3844            "refId": "D"
  3845          }
  3846        ],
  3847        "title": "IOPS (Total)",
  3848        "type": "timeseries"
  3849      },
  3850      {
  3851        "datasource": {
  3852          "type": "prometheus",
  3853          "uid": "${datasource}"
  3854        },
  3855        "fieldConfig": {
  3856          "defaults": {
  3857            "color": {
  3858              "mode": "palette-classic"
  3859            },
  3860            "custom": {
  3861              "axisCenteredZero": false,
  3862              "axisColorMode": "text",
  3863              "axisLabel": "",
  3864              "axisPlacement": "auto",
  3865              "barAlignment": 0,
  3866              "drawStyle": "line",
  3867              "fillOpacity": 10,
  3868              "gradientMode": "opacity",
  3869              "hideFrom": {
  3870                "graph": false,
  3871                "legend": false,
  3872                "tooltip": false,
  3873                "viz": false
  3874              },
  3875              "lineInterpolation": "linear",
  3876              "lineStyle": {
  3877                "fill": "solid"
  3878              },
  3879              "lineWidth": 1,
  3880              "pointSize": 5,
  3881              "scaleDistribution": {
  3882                "type": "linear"
  3883              },
  3884              "showPoints": "never",
  3885              "spanNulls": true,
  3886              "stacking": {
  3887                "group": "A",
  3888                "mode": "none"
  3889              },
  3890              "thresholdsStyle": {
  3891                "mode": "off"
  3892              }
  3893            },
  3894            "mappings": [],
  3895            "thresholds": {
  3896              "mode": "absolute",
  3897              "steps": [
  3898                {
  3899                  "color": "green"
  3900                }
  3901              ]
  3902            },
  3903            "unit": "bytes"
  3904          },
  3905          "overrides": []
  3906        },
  3907        "gridPos": {
  3908          "h": 8,
  3909          "w": 6,
  3910          "x": 0,
  3911          "y": 78
  3912        },
  3913        "id": 63,
  3914        "options": {
  3915          "graph": {},
  3916          "legend": {
  3917            "calcs": [],
  3918            "displayMode": "list",
  3919            "placement": "bottom",
  3920            "showLegend": true
  3921          },
  3922          "tooltip": {
  3923            "mode": "multi",
  3924            "sort": "none"
  3925          }
  3926        },
  3927        "pluginVersion": "7.5.3",
  3928        "targets": [
  3929          {
  3930            "datasource": {
  3931              "uid": "${datasource}"
  3932            },
  3933            "editorMode": "code",
  3934            "exemplar": true,
  3935            "expr": "sum(rate(mysql_global_status_innodb_data_written{app_kubernetes_io_instance=\"$polardbx\", app_kubernetes_io_component=\"dn\", namespace=\"$namespace\"}[1m]))",
  3936            "interval": "",
  3937            "legendFormat": "data written/s",
  3938            "queryType": "randomWalk",
  3939            "range": true,
  3940            "refId": "A"
  3941          },
  3942          {
  3943            "datasource": {
  3944              "uid": "${datasource}"
  3945            },
  3946            "editorMode": "code",
  3947            "exemplar": true,
  3948            "expr": "sum(rate(mysql_global_status_innodb_data_read{app_kubernetes_io_instance=\"$polardbx\", app_kubernetes_io_component=\"dn\", namespace=\"$namespace\"}[1m]))",
  3949            "hide": false,
  3950            "interval": "",
  3951            "legendFormat": "data read/s",
  3952            "queryType": "randomWalk",
  3953            "range": true,
  3954            "refId": "B"
  3955          },
  3956          {
  3957            "datasource": {
  3958              "uid": "${datasource}"
  3959            },
  3960            "exemplar": true,
  3961            "expr": "sum(rate(mysql_global_status_innodb_os_log_written{polardbx_name=\"$polardbx\", polardbx_role=\"dn\", xstore_role=\"leader\", namespace=\"$namespace\"}[1m]))",
  3962            "hide": false,
  3963            "interval": "",
  3964            "legendFormat": "log writtern/s",
  3965            "queryType": "randomWalk",
  3966            "refId": "C"
  3967          }
  3968        ],
  3969        "title": "IO Throughput (Total)",
  3970        "type": "timeseries"
  3971      },
  3972      {
  3973        "datasource": {
  3974          "type": "prometheus",
  3975          "uid": "${datasource}"
  3976        },
  3977        "fieldConfig": {
  3978          "defaults": {
  3979            "color": {
  3980              "mode": "palette-classic"
  3981            },
  3982            "custom": {
  3983              "axisCenteredZero": false,
  3984              "axisColorMode": "text",
  3985              "axisLabel": "",
  3986              "axisPlacement": "auto",
  3987              "barAlignment": 0,
  3988              "drawStyle": "line",
  3989              "fillOpacity": 10,
  3990              "gradientMode": "opacity",
  3991              "hideFrom": {
  3992                "graph": false,
  3993                "legend": false,
  3994                "tooltip": false,
  3995                "viz": false
  3996              },
  3997              "lineInterpolation": "linear",
  3998              "lineStyle": {
  3999                "fill": "solid"
  4000              },
  4001              "lineWidth": 1,
  4002              "pointSize": 5,
  4003              "scaleDistribution": {
  4004                "type": "linear"
  4005              },
  4006              "showPoints": "never",
  4007              "spanNulls": true,
  4008              "stacking": {
  4009                "group": "A",
  4010                "mode": "none"
  4011              },
  4012              "thresholdsStyle": {
  4013                "mode": "off"
  4014              }
  4015            },
  4016            "mappings": [],
  4017            "thresholds": {
  4018              "mode": "absolute",
  4019              "steps": [
  4020                {
  4021                  "color": "green"
  4022                }
  4023              ]
  4024            },
  4025            "unit": "bytes"
  4026          },
  4027          "overrides": []
  4028        },
  4029        "gridPos": {
  4030          "h": 8,
  4031          "w": 6,
  4032          "x": 6,
  4033          "y": 78
  4034        },
  4035        "id": 64,
  4036        "options": {
  4037          "graph": {},
  4038          "legend": {
  4039            "calcs": [],
  4040            "displayMode": "list",
  4041            "placement": "bottom",
  4042            "showLegend": true
  4043          },
  4044          "tooltip": {
  4045            "mode": "multi",
  4046            "sort": "none"
  4047          }
  4048        },
  4049        "pluginVersion": "7.5.3",
  4050        "targets": [
  4051          {
  4052            "datasource": {
  4053              "uid": "${datasource}"
  4054            },
  4055            "editorMode": "code",
  4056            "exemplar": true,
  4057            "expr": "sum(rate(mysql_global_status_bytes_received{app_kubernetes_io_instance=\"$polardbx\", app_kubernetes_io_component=\"dn\", namespace=\"$namespace\"}[1m]))",
  4058            "interval": "",
  4059            "legendFormat": "received/s",
  4060            "queryType": "randomWalk",
  4061            "range": true,
  4062            "refId": "A"
  4063          },
  4064          {
  4065            "datasource": {
  4066              "uid": "${datasource}"
  4067            },
  4068            "editorMode": "code",
  4069            "exemplar": true,
  4070            "expr": "sum(rate(mysql_global_status_bytes_sent{app_kubernetes_io_instance=\"$polardbx\", app_kubernetes_io_component=\"dn\", namespace=\"$namespace\"}[1m]))",
  4071            "hide": false,
  4072            "interval": "",
  4073            "legendFormat": "sent/s",
  4074            "queryType": "randomWalk",
  4075            "range": true,
  4076            "refId": "B"
  4077          }
  4078        ],
  4079        "title": "Network (Total)",
  4080        "type": "timeseries"
  4081      },
  4082      {
  4083        "datasource": {
  4084          "type": "prometheus",
  4085          "uid": "${datasource}"
  4086        },
  4087        "fieldConfig": {
  4088          "defaults": {
  4089            "color": {
  4090              "mode": "palette-classic"
  4091            },
  4092            "custom": {
  4093              "axisCenteredZero": false,
  4094              "axisColorMode": "text",
  4095              "axisLabel": "",
  4096              "axisPlacement": "auto",
  4097              "barAlignment": 0,
  4098              "drawStyle": "line",
  4099              "fillOpacity": 10,
  4100              "gradientMode": "opacity",
  4101              "hideFrom": {
  4102                "graph": false,
  4103                "legend": false,
  4104                "tooltip": false,
  4105                "viz": false
  4106              },
  4107              "lineInterpolation": "linear",
  4108              "lineStyle": {
  4109                "fill": "solid"
  4110              },
  4111              "lineWidth": 1,
  4112              "pointSize": 5,
  4113              "scaleDistribution": {
  4114                "type": "linear"
  4115              },
  4116              "showPoints": "never",
  4117              "spanNulls": true,
  4118              "stacking": {
  4119                "group": "A",
  4120                "mode": "none"
  4121              },
  4122              "thresholdsStyle": {
  4123                "mode": "off"
  4124              }
  4125            },
  4126            "mappings": [],
  4127            "thresholds": {
  4128              "mode": "absolute",
  4129              "steps": [
  4130                {
  4131                  "color": "green"
  4132                }
  4133              ]
  4134            },
  4135            "unit": "short"
  4136          },
  4137          "overrides": []
  4138        },
  4139        "gridPos": {
  4140          "h": 8,
  4141          "w": 6,
  4142          "x": 12,
  4143          "y": 78
  4144        },
  4145        "id": 65,
  4146        "options": {
  4147          "graph": {},
  4148          "legend": {
  4149            "calcs": [],
  4150            "displayMode": "list",
  4151            "placement": "bottom",
  4152            "showLegend": true
  4153          },
  4154          "tooltip": {
  4155            "mode": "multi",
  4156            "sort": "none"
  4157          }
  4158        },
  4159        "pluginVersion": "7.5.3",
  4160        "targets": [
  4161          {
  4162            "datasource": {
  4163              "uid": "${datasource}"
  4164            },
  4165            "editorMode": "code",
  4166            "exemplar": true,
  4167            "expr": "sum(rate(mysql_global_status_commands_total{polapp_kubernetes_io_instanceardbx_name=\"$polardbx\", app_kubernetes_io_component=\"dn\", namespace=\"$namespace\", command=~\"xa_.*\"}[1m])) by (command)",
  4168            "interval": "",
  4169            "legendFormat": "{{ command }}",
  4170            "queryType": "randomWalk",
  4171            "range": true,
  4172            "refId": "A"
  4173          }
  4174        ],
  4175        "title": "XA Transactions (Total)",
  4176        "type": "timeseries"
  4177      },
  4178      {
  4179        "datasource": {
  4180          "type": "prometheus",
  4181          "uid": "${datasource}"
  4182        },
  4183        "fieldConfig": {
  4184          "defaults": {
  4185            "color": {
  4186              "mode": "palette-classic"
  4187            },
  4188            "custom": {
  4189              "axisCenteredZero": false,
  4190              "axisColorMode": "text",
  4191              "axisLabel": "",
  4192              "axisPlacement": "auto",
  4193              "barAlignment": 0,
  4194              "drawStyle": "line",
  4195              "fillOpacity": 10,
  4196              "gradientMode": "none",
  4197              "hideFrom": {
  4198                "graph": false,
  4199                "legend": false,
  4200                "tooltip": false,
  4201                "viz": false
  4202              },
  4203              "lineInterpolation": "linear",
  4204              "lineWidth": 1,
  4205              "pointSize": 5,
  4206              "scaleDistribution": {
  4207                "type": "linear"
  4208              },
  4209              "showPoints": "never",
  4210              "spanNulls": true,
  4211              "stacking": {
  4212                "group": "A",
  4213                "mode": "none"
  4214              },
  4215              "thresholdsStyle": {
  4216                "mode": "off"
  4217              }
  4218            },
  4219            "mappings": [],
  4220            "thresholds": {
  4221              "mode": "absolute",
  4222              "steps": [
  4223                {
  4224                  "color": "green"
  4225                },
  4226                {
  4227                  "color": "red",
  4228                  "value": 80
  4229                }
  4230              ]
  4231            },
  4232            "unit": "short"
  4233          },
  4234          "overrides": []
  4235        },
  4236        "gridPos": {
  4237          "h": 8,
  4238          "w": 6,
  4239          "x": 18,
  4240          "y": 78
  4241        },
  4242        "id": 66,
  4243        "options": {
  4244          "graph": {},
  4245          "legend": {
  4246            "calcs": [],
  4247            "displayMode": "list",
  4248            "placement": "bottom",
  4249            "showLegend": true
  4250          },
  4251          "tooltip": {
  4252            "mode": "multi",
  4253            "sort": "none"
  4254          }
  4255        },
  4256        "pluginVersion": "7.5.3",
  4257        "targets": [
  4258          {
  4259            "datasource": {
  4260              "uid": "${datasource}"
  4261            },
  4262            "editorMode": "code",
  4263            "exemplar": true,
  4264            "expr": "sum(rate(mysql_global_status_commands_total{app_kubernetes_io_instance=\"$polardbx\", app_kubernetes_io_component=\"dn\", namespace=\"$namespace\", command=~\"begin|commit|rollback\"}[1m])) by (command)",
  4265            "interval": "",
  4266            "legendFormat": "{{ command }}",
  4267            "queryType": "randomWalk",
  4268            "range": true,
  4269            "refId": "A"
  4270          }
  4271        ],
  4272        "title": "Transactions (Total)",
  4273        "type": "timeseries"
  4274      },
  4275      {
  4276        "collapsed": false,
  4277        "datasource": {
  4278          "type": "prometheus",
  4279          "uid": "prometheus"
  4280        },
  4281        "gridPos": {
  4282          "h": 1,
  4283          "w": 24,
  4284          "x": 0,
  4285          "y": 86
  4286        },
  4287        "id": 68,
  4288        "panels": [],
  4289        "targets": [
  4290          {
  4291            "datasource": {
  4292              "type": "prometheus",
  4293              "uid": "prometheus"
  4294            },
  4295            "refId": "A"
  4296          }
  4297        ],
  4298        "title": "CDC Node",
  4299        "type": "row"
  4300      },
  4301      {
  4302        "datasource": {
  4303          "type": "prometheus",
  4304          "uid": "${datasource}"
  4305        },
  4306        "fieldConfig": {
  4307          "defaults": {
  4308            "color": {
  4309              "mode": "palette-classic"
  4310            },
  4311            "custom": {
  4312              "axisCenteredZero": false,
  4313              "axisColorMode": "text",
  4314              "axisLabel": "",
  4315              "axisPlacement": "auto",
  4316              "barAlignment": 0,
  4317              "drawStyle": "line",
  4318              "fillOpacity": 10,
  4319              "gradientMode": "opacity",
  4320              "hideFrom": {
  4321                "graph": false,
  4322                "legend": false,
  4323                "tooltip": false,
  4324                "viz": false
  4325              },
  4326              "lineInterpolation": "linear",
  4327              "lineStyle": {
  4328                "fill": "solid"
  4329              },
  4330              "lineWidth": 1,
  4331              "pointSize": 5,
  4332              "scaleDistribution": {
  4333                "type": "linear"
  4334              },
  4335              "showPoints": "never",
  4336              "spanNulls": true,
  4337              "stacking": {
  4338                "group": "A",
  4339                "mode": "none"
  4340              },
  4341              "thresholdsStyle": {
  4342                "mode": "off"
  4343              }
  4344            },
  4345            "mappings": [],
  4346            "thresholds": {
  4347              "mode": "absolute",
  4348              "steps": [
  4349                {
  4350                  "color": "green"
  4351                },
  4352                {
  4353                  "color": "red",
  4354                  "value": 80
  4355                }
  4356              ]
  4357            },
  4358            "unit": "ms"
  4359          },
  4360          "overrides": []
  4361        },
  4362        "gridPos": {
  4363          "h": 8,
  4364          "w": 6,
  4365          "x": 0,
  4366          "y": 87
  4367        },
  4368        "id": 76,
  4369        "options": {
  4370          "graph": {},
  4371          "legend": {
  4372            "calcs": [],
  4373            "displayMode": "list",
  4374            "placement": "bottom",
  4375            "showLegend": true
  4376          },
  4377          "tooltip": {
  4378            "mode": "single",
  4379            "sort": "none"
  4380          }
  4381        },
  4382        "pluginVersion": "7.5.3",
  4383        "targets": [
  4384          {
  4385            "datasource": {
  4386              "uid": "${datasource}"
  4387            },
  4388            "editorMode": "code",
  4389            "exemplar": true,
  4390            "expr": "polardbx_cdc_dumper_delay_in_millisecond{namespace=\"$namespace\"}\n* on(namespace,pod)\ngroup_left() polardbx_cdc_up{app_kubernetes_io_instance=\"$polardbx\", namespace=\"$namespace\", app_kubernetes_io_component=\"cdc\"}",
  4391            "interval": "",
  4392            "legendFormat": "{{ pod }}",
  4393            "queryType": "randomWalk",
  4394            "range": true,
  4395            "refId": "A"
  4396          }
  4397        ],
  4398        "title": "Delay(ms)",
  4399        "type": "timeseries"
  4400      },
  4401      {
  4402        "datasource": {
  4403          "type": "prometheus",
  4404          "uid": "${datasource}"
  4405        },
  4406        "fieldConfig": {
  4407          "defaults": {
  4408            "color": {
  4409              "mode": "palette-classic"
  4410            },
  4411            "custom": {
  4412              "axisCenteredZero": false,
  4413              "axisColorMode": "text",
  4414              "axisLabel": "",
  4415              "axisPlacement": "auto",
  4416              "barAlignment": 0,
  4417              "drawStyle": "line",
  4418              "fillOpacity": 10,
  4419              "gradientMode": "opacity",
  4420              "hideFrom": {
  4421                "graph": false,
  4422                "legend": false,
  4423                "tooltip": false,
  4424                "viz": false
  4425              },
  4426              "lineInterpolation": "linear",
  4427              "lineStyle": {
  4428                "fill": "solid"
  4429              },
  4430              "lineWidth": 1,
  4431              "pointSize": 5,
  4432              "scaleDistribution": {
  4433                "type": "linear"
  4434              },
  4435              "showPoints": "never",
  4436              "spanNulls": true,
  4437              "stacking": {
  4438                "group": "A",
  4439                "mode": "none"
  4440              },
  4441              "thresholdsStyle": {
  4442                "mode": "off"
  4443              }
  4444            },
  4445            "mappings": [],
  4446            "thresholds": {
  4447              "mode": "absolute",
  4448              "steps": [
  4449                {
  4450                  "color": "green"
  4451                },
  4452                {
  4453                  "color": "red",
  4454                  "value": 80
  4455                }
  4456              ]
  4457            },
  4458            "unit": "percent"
  4459          },
  4460          "overrides": []
  4461        },
  4462        "gridPos": {
  4463          "h": 8,
  4464          "w": 6,
  4465          "x": 6,
  4466          "y": 87
  4467        },
  4468        "id": 77,
  4469        "options": {
  4470          "graph": {},
  4471          "legend": {
  4472            "calcs": [],
  4473            "displayMode": "list",
  4474            "placement": "bottom",
  4475            "showLegend": true
  4476          },
  4477          "tooltip": {
  4478            "mode": "single",
  4479            "sort": "none"
  4480          }
  4481        },
  4482        "pluginVersion": "7.5.3",
  4483        "targets": [
  4484          {
  4485            "datasource": {
  4486              "uid": "${datasource}"
  4487            },
  4488            "editorMode": "code",
  4489            "exemplar": true,
  4490            "expr": "polardbx_cdc_dumper_jvm_heap_usage{namespace=\"$namespace\"}\n* on(namespace,pod)\ngroup_left() polardbx_cdc_up{app_kubernetes_io_instance=\"$polardbx\", namespace=\"$namespace\", app_kubernetes_io_component=\"cdc\"}",
  4491            "interval": "",
  4492            "legendFormat": "{{ pod }}",
  4493            "queryType": "randomWalk",
  4494            "range": true,
  4495            "refId": "A"
  4496          }
  4497        ],
  4498        "title": "Dumper Heap Usage",
  4499        "type": "timeseries"
  4500      }
  4501    ],
  4502    "refresh": "10s",
  4503    "schemaVersion": 37,
  4504    "style": "dark",
  4505    "tags": [],
  4506    "templating": {
  4507      "list": [
  4508        {
  4509          "current": {
  4510            "isNone": true,
  4511            "selected": false,
  4512            "text": "None",
  4513            "value": ""
  4514          },
  4515          "datasource": {
  4516            "type": "prometheus",
  4517            "uid": "${datasource}"
  4518          },
  4519          "definition": "label_values(kube_pod_info, cluster)",
  4520          "hide": 2,
  4521          "includeAll": false,
  4522          "multi": false,
  4523          "name": "cluster",
  4524          "options": [],
  4525          "query": {
  4526            "query": "label_values(kube_pod_info, cluster)",
  4527            "refId": "StandardVariableQuery"
  4528          },
  4529          "refresh": 1,
  4530          "regex": "",
  4531          "skipUrlSync": false,
  4532          "sort": 0,
  4533          "tagValuesQuery": "",
  4534          "tagsQuery": "",
  4535          "type": "query",
  4536          "useTags": false
  4537        },
  4538        {
  4539          "current": {
  4540            "selected": false,
  4541            "text": "default",
  4542            "value": "default"
  4543          },
  4544          "hide": 0,
  4545          "includeAll": false,
  4546          "multi": false,
  4547          "name": "datasource",
  4548          "options": [],
  4549          "query": "prometheus",
  4550          "queryValue": "",
  4551          "refresh": 1,
  4552          "regex": "",
  4553          "skipUrlSync": false,
  4554          "type": "datasource"
  4555        },
  4556        {
  4557          "current": {
  4558            "selected": false,
  4559            "text": "default",
  4560            "value": "default"
  4561          },
  4562          "datasource": {
  4563            "type": "prometheus",
  4564            "uid": "${datasource}"
  4565          },
  4566          "definition": "label_values(polardbx_up, namespace)",
  4567          "hide": 0,
  4568          "includeAll": false,
  4569          "multi": false,
  4570          "name": "namespace",
  4571          "options": [],
  4572          "query": {
  4573            "query": "label_values(polardbx_up, namespace)",
  4574            "refId": "StandardVariableQuery"
  4575          },
  4576          "refresh": 1,
  4577          "regex": "/^(?!kube\\-system|.*\\-operator\\-system|monitoring|loki)/",
  4578          "skipUrlSync": false,
  4579          "sort": 0,
  4580          "tagValuesQuery": "",
  4581          "tagsQuery": "",
  4582          "type": "query",
  4583          "useTags": false
  4584        },
  4585        {
  4586          "current": {
  4587            "selected": false,
  4588            "text": "pxc-v4",
  4589            "value": "pxc-v4"
  4590          },
  4591          "datasource": {
  4592            "type": "prometheus",
  4593            "uid": "${datasource}"
  4594          },
  4595          "definition": "label_values(polardbx_up{namespace=\"$namespace\"}, app_kubernetes_io_instance)",
  4596          "hide": 0,
  4597          "includeAll": false,
  4598          "multi": false,
  4599          "name": "polardbx",
  4600          "options": [],
  4601          "query": {
  4602            "query": "label_values(polardbx_up{namespace=\"$namespace\"}, app_kubernetes_io_instance)",
  4603            "refId": "StandardVariableQuery"
  4604          },
  4605          "refresh": 1,
  4606          "regex": "",
  4607          "skipUrlSync": false,
  4608          "sort": 1,
  4609          "tagValuesQuery": "",
  4610          "tagsQuery": "",
  4611          "type": "query",
  4612          "useTags": false
  4613        }
  4614      ]
  4615    },
  4616    "time": {
  4617      "from": "now-5m",
  4618      "to": "now"
  4619    },
  4620    "timepicker": {},
  4621    "timezone": "",
  4622    "title": "PolarDB-X Overview",
  4623    "uid": "EByXvnuGk",
  4624    "version": 2,
  4625    "weekStart": ""
  4626  }