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

     1  {
     2    "annotations": {
     3      "list": [
     4        {
     5          "builtIn": 1,
     6          "datasource": {
     7            "type": "grafana",
     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    "editable": true,
    25    "fiscalYearStartMonth": 0,
    26    "graphTooltip": 0,
    27    "id": 21,
    28    "links": [
    29      {
    30        "asDropdown": false,
    31        "icon": "cloud",
    32        "includeVars": false,
    33        "keepTime": false,
    34        "tags": [],
    35        "targetBlank": true,
    36        "title": "ApeCloud",
    37        "tooltip": "Improved productivity, cost-efficiency and business continuity.",
    38        "type": "link",
    39        "url": "https://kubeblocks.io/"
    40      },
    41      {
    42        "asDropdown": false,
    43        "icon": "external link",
    44        "includeVars": false,
    45        "keepTime": false,
    46        "tags": [],
    47        "targetBlank": true,
    48        "title": "KubeBlocks",
    49        "tooltip": "An open-source and cloud-neutral DBaaS with Kubernetes.",
    50        "type": "link",
    51        "url": "https://github.com/apecloud/kubeblocks"
    52      },
    53      {
    54        "asDropdown": true,
    55        "icon": "external link",
    56        "includeVars": false,
    57        "keepTime": true,
    58        "tags": [
    59          "db",
    60          "overview",
    61          "kubeblocks"
    62        ],
    63        "targetBlank": true,
    64        "title": "State Services",
    65        "tooltip": "",
    66        "type": "dashboards",
    67        "url": ""
    68      }
    69    ],
    70    "liveNow": false,
    71    "panels": [
    72      {
    73        "collapsed": false,
    74        "gridPos": {
    75          "h": 1,
    76          "w": 24,
    77          "x": 0,
    78          "y": 0
    79        },
    80        "id": 2,
    81        "panels": [],
    82        "title": "Overview",
    83        "type": "row"
    84      },
    85      {
    86        "datasource": {
    87          "type": "prometheus",
    88          "uid": "prometheus"
    89        },
    90        "fieldConfig": {
    91          "defaults": {
    92            "color": {
    93              "mode": "thresholds"
    94            },
    95            "mappings": [],
    96            "thresholds": {
    97              "mode": "absolute",
    98              "steps": [
    99                {
   100                  "color": "semi-dark-blue",
   101                  "value": null
   102                }
   103              ]
   104            }
   105          },
   106          "overrides": []
   107        },
   108        "gridPos": {
   109          "h": 5,
   110          "w": 6,
   111          "x": 0,
   112          "y": 1
   113        },
   114        "id": 8,
   115        "options": {
   116          "colorMode": "value",
   117          "graphMode": "area",
   118          "justifyMode": "auto",
   119          "orientation": "auto",
   120          "reduceOptions": {
   121            "calcs": [
   122              "lastNotNull"
   123            ],
   124            "fields": "",
   125            "values": false
   126          },
   127          "textMode": "auto"
   128        },
   129        "pluginVersion": "9.2.4",
   130        "targets": [
   131          {
   132            "datasource": {
   133              "type": "prometheus",
   134              "uid": "prometheus"
   135            },
   136            "editorMode": "code",
   137            "expr": "count(sum by (app_kubernetes_io_instance) (k8s_pod_memory_usage_bytes{app_kubernetes_io_managed_by=\"kubeblocks\",app_kubernetes_io_name!~\"agamotto|prometheus\"}))",
   138            "legendFormat": "__auto",
   139            "range": true,
   140            "refId": "A"
   141          }
   142        ],
   143        "title": "Clusters",
   144        "type": "stat"
   145      },
   146      {
   147        "datasource": {
   148          "type": "prometheus",
   149          "uid": "prometheus"
   150        },
   151        "fieldConfig": {
   152          "defaults": {
   153            "color": {
   154              "mode": "thresholds"
   155            },
   156            "mappings": [],
   157            "thresholds": {
   158              "mode": "absolute",
   159              "steps": [
   160                {
   161                  "color": "semi-dark-blue",
   162                  "value": null
   163                }
   164              ]
   165            }
   166          },
   167          "overrides": []
   168        },
   169        "gridPos": {
   170          "h": 5,
   171          "w": 6,
   172          "x": 6,
   173          "y": 1
   174        },
   175        "id": 10,
   176        "options": {
   177          "colorMode": "value",
   178          "graphMode": "area",
   179          "justifyMode": "auto",
   180          "orientation": "auto",
   181          "reduceOptions": {
   182            "calcs": [
   183              "lastNotNull"
   184            ],
   185            "fields": "",
   186            "values": false
   187          },
   188          "textMode": "auto"
   189        },
   190        "pluginVersion": "9.2.4",
   191        "targets": [
   192          {
   193            "datasource": {
   194              "type": "prometheus",
   195              "uid": "prometheus"
   196            },
   197            "editorMode": "code",
   198            "expr": "count(sum by (node) (k8s_pod_memory_usage_bytes{app_kubernetes_io_managed_by=\"kubeblocks\",app_kubernetes_io_name!~\"agamotto|prometheus\"}))",
   199            "legendFormat": "__auto",
   200            "range": true,
   201            "refId": "A"
   202          }
   203        ],
   204        "title": "Nodes",
   205        "type": "stat"
   206      },
   207      {
   208        "datasource": {
   209          "type": "prometheus",
   210          "uid": "prometheus"
   211        },
   212        "fieldConfig": {
   213          "defaults": {
   214            "color": {
   215              "mode": "thresholds"
   216            },
   217            "mappings": [],
   218            "thresholds": {
   219              "mode": "absolute",
   220              "steps": [
   221                {
   222                  "color": "semi-dark-blue",
   223                  "value": null
   224                }
   225              ]
   226            }
   227          },
   228          "overrides": []
   229        },
   230        "gridPos": {
   231          "h": 5,
   232          "w": 6,
   233          "x": 12,
   234          "y": 1
   235        },
   236        "id": 9,
   237        "options": {
   238          "colorMode": "value",
   239          "graphMode": "area",
   240          "justifyMode": "auto",
   241          "orientation": "auto",
   242          "reduceOptions": {
   243            "calcs": [
   244              "lastNotNull"
   245            ],
   246            "fields": "",
   247            "values": false
   248          },
   249          "textMode": "auto"
   250        },
   251        "pluginVersion": "9.2.4",
   252        "targets": [
   253          {
   254            "datasource": {
   255              "type": "prometheus",
   256              "uid": "prometheus"
   257            },
   258            "editorMode": "code",
   259            "expr": "count(k8s_pod_memory_usage_bytes{app_kubernetes_io_managed_by=\"kubeblocks\",app_kubernetes_io_name!~\"agamotto|prometheus\"})",
   260            "legendFormat": "__auto",
   261            "range": true,
   262            "refId": "A"
   263          }
   264        ],
   265        "title": "Instances",
   266        "type": "stat"
   267      },
   268      {
   269        "datasource": {
   270          "type": "prometheus",
   271          "uid": "prometheus"
   272        },
   273        "fieldConfig": {
   274          "defaults": {
   275            "color": {
   276              "mode": "thresholds"
   277            },
   278            "custom": {
   279              "align": "center",
   280              "displayMode": "auto",
   281              "inspect": false
   282            },
   283            "mappings": [],
   284            "thresholds": {
   285              "mode": "absolute",
   286              "steps": [
   287                {
   288                  "color": "semi-dark-blue",
   289                  "value": null
   290                }
   291              ]
   292            }
   293          },
   294          "overrides": []
   295        },
   296        "gridPos": {
   297          "h": 5,
   298          "w": 6,
   299          "x": 18,
   300          "y": 1
   301        },
   302        "id": 11,
   303        "options": {
   304          "footer": {
   305            "fields": "",
   306            "reducer": [
   307              "sum"
   308            ],
   309            "show": false
   310          },
   311          "showHeader": true
   312        },
   313        "pluginVersion": "9.2.4",
   314        "targets": [
   315          {
   316            "datasource": {
   317              "type": "prometheus",
   318              "uid": "prometheus"
   319            },
   320            "editorMode": "code",
   321            "exemplar": false,
   322            "expr": "count by (app_kubernetes_io_name) (k8s_pod_memory_usage_bytes{app_kubernetes_io_managed_by=\"kubeblocks\",app_kubernetes_io_name!~\"agamotto|prometheus\"})",
   323            "format": "table",
   324            "instant": true,
   325            "legendFormat": "__auto",
   326            "range": false,
   327            "refId": "A"
   328          }
   329        ],
   330        "title": "DB Kinds",
   331        "transformations": [
   332          {
   333            "id": "organize",
   334            "options": {
   335              "excludeByName": {
   336                "Time": true
   337              },
   338              "indexByName": {},
   339              "renameByName": {
   340                "Value": "Instances",
   341                "app_kubernetes_io_name": "Kind"
   342              }
   343            }
   344          }
   345        ],
   346        "type": "table"
   347      },
   348      {
   349        "datasource": {
   350          "type": "prometheus",
   351          "uid": "prometheus"
   352        },
   353        "fieldConfig": {
   354          "defaults": {
   355            "color": {
   356              "mode": "thresholds"
   357            },
   358            "mappings": [],
   359            "thresholds": {
   360              "mode": "absolute",
   361              "steps": [
   362                {
   363                  "color": "semi-dark-blue",
   364                  "value": null
   365                }
   366              ]
   367            },
   368            "unit": "percentunit"
   369          },
   370          "overrides": []
   371        },
   372        "gridPos": {
   373          "h": 5,
   374          "w": 6,
   375          "x": 0,
   376          "y": 6
   377        },
   378        "id": 12,
   379        "options": {
   380          "colorMode": "value",
   381          "graphMode": "area",
   382          "justifyMode": "auto",
   383          "orientation": "auto",
   384          "reduceOptions": {
   385            "calcs": [
   386              "lastNotNull"
   387            ],
   388            "fields": "",
   389            "values": false
   390          },
   391          "textMode": "auto"
   392        },
   393        "pluginVersion": "9.2.4",
   394        "targets": [
   395          {
   396            "datasource": {
   397              "type": "prometheus",
   398              "uid": "prometheus"
   399            },
   400            "editorMode": "code",
   401            "expr": "sum(rate(k8s_pod_cpu_time_seconds_total{app_kubernetes_io_managed_by=\"kubeblocks\",app_kubernetes_io_name!~\"agamotto|prometheus\"}[$__rate_interval]))",
   402            "legendFormat": "__auto",
   403            "range": true,
   404            "refId": "A"
   405          }
   406        ],
   407        "title": "CPU Usage (Cores)",
   408        "type": "stat"
   409      },
   410      {
   411        "datasource": {
   412          "type": "prometheus",
   413          "uid": "prometheus"
   414        },
   415        "fieldConfig": {
   416          "defaults": {
   417            "color": {
   418              "mode": "thresholds"
   419            },
   420            "mappings": [],
   421            "thresholds": {
   422              "mode": "absolute",
   423              "steps": [
   424                {
   425                  "color": "semi-dark-blue",
   426                  "value": null
   427                }
   428              ]
   429            }
   430          },
   431          "overrides": []
   432        },
   433        "gridPos": {
   434          "h": 5,
   435          "w": 6,
   436          "x": 6,
   437          "y": 6
   438        },
   439        "id": 13,
   440        "options": {
   441          "colorMode": "value",
   442          "graphMode": "area",
   443          "justifyMode": "auto",
   444          "orientation": "auto",
   445          "reduceOptions": {
   446            "calcs": [
   447              "lastNotNull"
   448            ],
   449            "fields": "",
   450            "values": false
   451          },
   452          "textMode": "auto"
   453        },
   454        "pluginVersion": "9.2.4",
   455        "targets": [
   456          {
   457            "datasource": {
   458              "type": "prometheus",
   459              "uid": "prometheus"
   460            },
   461            "editorMode": "code",
   462            "expr": "sum(k8s_pod_cpu_limit{app_kubernetes_io_managed_by=\"kubeblocks\",app_kubernetes_io_name!~\"agamotto|prometheus\"})",
   463            "legendFormat": "__auto",
   464            "range": true,
   465            "refId": "A"
   466          }
   467        ],
   468        "title": "CPU Limit (Cores)",
   469        "type": "stat"
   470      },
   471      {
   472        "datasource": {
   473          "type": "prometheus",
   474          "uid": "prometheus"
   475        },
   476        "fieldConfig": {
   477          "defaults": {
   478            "color": {
   479              "mode": "thresholds"
   480            },
   481            "mappings": [],
   482            "thresholds": {
   483              "mode": "absolute",
   484              "steps": [
   485                {
   486                  "color": "semi-dark-blue",
   487                  "value": null
   488                }
   489              ]
   490            },
   491            "unit": "bytes"
   492          },
   493          "overrides": []
   494        },
   495        "gridPos": {
   496          "h": 5,
   497          "w": 6,
   498          "x": 12,
   499          "y": 6
   500        },
   501        "id": 14,
   502        "options": {
   503          "colorMode": "value",
   504          "graphMode": "area",
   505          "justifyMode": "auto",
   506          "orientation": "auto",
   507          "reduceOptions": {
   508            "calcs": [
   509              "lastNotNull"
   510            ],
   511            "fields": "",
   512            "values": false
   513          },
   514          "textMode": "auto"
   515        },
   516        "pluginVersion": "9.2.4",
   517        "targets": [
   518          {
   519            "datasource": {
   520              "type": "prometheus",
   521              "uid": "prometheus"
   522            },
   523            "editorMode": "code",
   524            "expr": "sum(k8s_pod_memory_working_set_bytes{app_kubernetes_io_managed_by=\"kubeblocks\",app_kubernetes_io_name!~\"agamotto|prometheus\"})",
   525            "legendFormat": "__auto",
   526            "range": true,
   527            "refId": "A"
   528          }
   529        ],
   530        "title": "Memory Usage",
   531        "type": "stat"
   532      },
   533      {
   534        "datasource": {
   535          "type": "prometheus",
   536          "uid": "prometheus"
   537        },
   538        "fieldConfig": {
   539          "defaults": {
   540            "color": {
   541              "mode": "thresholds"
   542            },
   543            "mappings": [],
   544            "thresholds": {
   545              "mode": "absolute",
   546              "steps": [
   547                {
   548                  "color": "semi-dark-blue",
   549                  "value": null
   550                }
   551              ]
   552            },
   553            "unit": "bytes"
   554          },
   555          "overrides": []
   556        },
   557        "gridPos": {
   558          "h": 5,
   559          "w": 6,
   560          "x": 18,
   561          "y": 6
   562        },
   563        "id": 15,
   564        "options": {
   565          "colorMode": "value",
   566          "graphMode": "area",
   567          "justifyMode": "auto",
   568          "orientation": "auto",
   569          "reduceOptions": {
   570            "calcs": [
   571              "lastNotNull"
   572            ],
   573            "fields": "",
   574            "values": false
   575          },
   576          "textMode": "auto"
   577        },
   578        "pluginVersion": "9.2.4",
   579        "targets": [
   580          {
   581            "datasource": {
   582              "type": "prometheus",
   583              "uid": "prometheus"
   584            },
   585            "editorMode": "code",
   586            "expr": "sum(k8s_pod_memory_limit_bytes{app_kubernetes_io_managed_by=\"kubeblocks\",app_kubernetes_io_name!~\"agamotto|prometheus\"})",
   587            "legendFormat": "__auto",
   588            "range": true,
   589            "refId": "A"
   590          }
   591        ],
   592        "title": "Memory Limit",
   593        "type": "stat"
   594      },
   595      {
   596        "collapsed": true,
   597        "gridPos": {
   598          "h": 1,
   599          "w": 24,
   600          "x": 0,
   601          "y": 11
   602        },
   603        "id": 4,
   604        "panels": [
   605          {
   606            "datasource": {
   607              "type": "prometheus",
   608              "uid": "prometheus"
   609            },
   610            "fieldConfig": {
   611              "defaults": {
   612                "color": {
   613                  "mode": "thresholds"
   614                },
   615                "mappings": [],
   616                "thresholds": {
   617                  "mode": "absolute",
   618                  "steps": [
   619                    {
   620                      "color": "semi-dark-blue",
   621                      "value": null
   622                    }
   623                  ]
   624                }
   625              },
   626              "overrides": []
   627            },
   628            "gridPos": {
   629              "h": 4,
   630              "w": 3,
   631              "x": 0,
   632              "y": 12
   633            },
   634            "id": 16,
   635            "options": {
   636              "colorMode": "value",
   637              "graphMode": "area",
   638              "justifyMode": "auto",
   639              "orientation": "auto",
   640              "reduceOptions": {
   641                "calcs": [
   642                  "lastNotNull"
   643                ],
   644                "fields": "",
   645                "values": false
   646              },
   647              "textMode": "auto"
   648            },
   649            "pluginVersion": "9.2.4",
   650            "targets": [
   651              {
   652                "datasource": {
   653                  "type": "prometheus",
   654                  "uid": "prometheus"
   655                },
   656                "editorMode": "code",
   657                "expr": "count(sum by (app_kubernetes_io_instance) (k8s_pod_memory_usage_bytes{app_kubernetes_io_managed_by=\"kubeblocks\",app_kubernetes_io_name=\"apecloud-mysql\"}))",
   658                "legendFormat": "__auto",
   659                "range": true,
   660                "refId": "A"
   661              }
   662            ],
   663            "title": "Clusters",
   664            "type": "stat"
   665          },
   666          {
   667            "datasource": {
   668              "type": "prometheus",
   669              "uid": "prometheus"
   670            },
   671            "fieldConfig": {
   672              "defaults": {
   673                "color": {
   674                  "mode": "thresholds"
   675                },
   676                "mappings": [],
   677                "thresholds": {
   678                  "mode": "absolute",
   679                  "steps": [
   680                    {
   681                      "color": "semi-dark-blue",
   682                      "value": null
   683                    }
   684                  ]
   685                }
   686              },
   687              "overrides": []
   688            },
   689            "gridPos": {
   690              "h": 4,
   691              "w": 3,
   692              "x": 3,
   693              "y": 12
   694            },
   695            "id": 19,
   696            "options": {
   697              "colorMode": "value",
   698              "graphMode": "area",
   699              "justifyMode": "auto",
   700              "orientation": "auto",
   701              "reduceOptions": {
   702                "calcs": [
   703                  "lastNotNull"
   704                ],
   705                "fields": "",
   706                "values": false
   707              },
   708              "textMode": "auto"
   709            },
   710            "pluginVersion": "9.2.4",
   711            "targets": [
   712              {
   713                "datasource": {
   714                  "type": "prometheus",
   715                  "uid": "prometheus"
   716                },
   717                "editorMode": "code",
   718                "expr": "count(sum by (node) (k8s_pod_memory_usage_bytes{app_kubernetes_io_managed_by=\"kubeblocks\",app_kubernetes_io_name=\"apecloud-mysql\"}))",
   719                "legendFormat": "__auto",
   720                "range": true,
   721                "refId": "A"
   722              }
   723            ],
   724            "title": "Nodes",
   725            "type": "stat"
   726          },
   727          {
   728            "datasource": {
   729              "type": "prometheus",
   730              "uid": "prometheus"
   731            },
   732            "fieldConfig": {
   733              "defaults": {
   734                "color": {
   735                  "mode": "thresholds"
   736                },
   737                "mappings": [],
   738                "thresholds": {
   739                  "mode": "absolute",
   740                  "steps": [
   741                    {
   742                      "color": "semi-dark-blue",
   743                      "value": null
   744                    }
   745                  ]
   746                }
   747              },
   748              "overrides": []
   749            },
   750            "gridPos": {
   751              "h": 4,
   752              "w": 3,
   753              "x": 6,
   754              "y": 12
   755            },
   756            "id": 17,
   757            "options": {
   758              "colorMode": "value",
   759              "graphMode": "area",
   760              "justifyMode": "auto",
   761              "orientation": "auto",
   762              "reduceOptions": {
   763                "calcs": [
   764                  "lastNotNull"
   765                ],
   766                "fields": "",
   767                "values": false
   768              },
   769              "textMode": "auto"
   770            },
   771            "pluginVersion": "9.2.4",
   772            "targets": [
   773              {
   774                "datasource": {
   775                  "type": "prometheus",
   776                  "uid": "prometheus"
   777                },
   778                "editorMode": "code",
   779                "expr": "count(k8s_pod_memory_usage_bytes{app_kubernetes_io_managed_by=\"kubeblocks\",app_kubernetes_io_name=\"apecloud-mysql\"})",
   780                "legendFormat": "__auto",
   781                "range": true,
   782                "refId": "A"
   783              }
   784            ],
   785            "title": "Total Instances",
   786            "type": "stat"
   787          },
   788          {
   789            "datasource": {
   790              "type": "prometheus",
   791              "uid": "prometheus"
   792            },
   793            "fieldConfig": {
   794              "defaults": {
   795                "color": {
   796                  "mode": "thresholds"
   797                },
   798                "mappings": [],
   799                "thresholds": {
   800                  "mode": "absolute",
   801                  "steps": [
   802                    {
   803                      "color": "semi-dark-blue",
   804                      "value": null
   805                    }
   806                  ]
   807                }
   808              },
   809              "overrides": []
   810            },
   811            "gridPos": {
   812              "h": 4,
   813              "w": 3,
   814              "x": 9,
   815              "y": 12
   816            },
   817            "id": 18,
   818            "options": {
   819              "colorMode": "value",
   820              "graphMode": "area",
   821              "justifyMode": "auto",
   822              "orientation": "auto",
   823              "reduceOptions": {
   824                "calcs": [
   825                  "lastNotNull"
   826                ],
   827                "fields": "",
   828                "values": false
   829              },
   830              "textMode": "auto"
   831            },
   832            "pluginVersion": "9.2.4",
   833            "targets": [
   834              {
   835                "datasource": {
   836                  "type": "prometheus",
   837                  "uid": "prometheus"
   838                },
   839                "editorMode": "code",
   840                "expr": "sum(mysql_up{app_kubernetes_io_managed_by=\"kubeblocks\",app_kubernetes_io_name=\"apecloud-mysql\"} <= 0 or vector(0))",
   841                "legendFormat": "__auto",
   842                "range": true,
   843                "refId": "A"
   844              }
   845            ],
   846            "title": "Downs Instances",
   847            "type": "stat"
   848          },
   849          {
   850            "datasource": {
   851              "type": "prometheus",
   852              "uid": "prometheus"
   853            },
   854            "fieldConfig": {
   855              "defaults": {
   856                "color": {
   857                  "mode": "palette-classic"
   858                },
   859                "custom": {
   860                  "align": "center",
   861                  "displayMode": "color-text",
   862                  "inspect": false
   863                },
   864                "mappings": [],
   865                "thresholds": {
   866                  "mode": "absolute",
   867                  "steps": [
   868                    {
   869                      "color": "green",
   870                      "value": null
   871                    }
   872                  ]
   873                }
   874              },
   875              "overrides": [
   876                {
   877                  "matcher": {
   878                    "id": "byName",
   879                    "options": "cluster"
   880                  },
   881                  "properties": [
   882                    {
   883                      "id": "links",
   884                      "value": [
   885                        {
   886                          "targetBlank": true,
   887                          "title": "MySQL Cluster: ${__data.fields.namespace} | ${__data.fields.cluster}",
   888                          "url": "/d/mysql/mysql?orgId=1&var-datasource=default&var-namespace=${__data.fields.namespace}&var-cluster=${__data.fields.cluster}&var-instance=All\n"
   889                        }
   890                      ]
   891                    },
   892                    {
   893                      "id": "custom.displayMode",
   894                      "value": "color-text"
   895                    }
   896                  ]
   897                }
   898              ]
   899            },
   900            "gridPos": {
   901              "h": 8,
   902              "w": 12,
   903              "x": 12,
   904              "y": 12
   905            },
   906            "id": 33,
   907            "options": {
   908              "footer": {
   909                "enablePagination": false,
   910                "fields": "",
   911                "reducer": [
   912                  "sum"
   913                ],
   914                "show": false
   915              },
   916              "showHeader": true
   917            },
   918            "pluginVersion": "9.2.4",
   919            "targets": [
   920              {
   921                "datasource": {
   922                  "type": "prometheus",
   923                  "uid": "prometheus"
   924                },
   925                "editorMode": "code",
   926                "exemplar": false,
   927                "expr": "count by (namespace, app_kubernetes_io_instance) (mysql_up{app_kubernetes_io_managed_by=\"kubeblocks\",app_kubernetes_io_name=\"apecloud-mysql\"})",
   928                "format": "table",
   929                "instant": true,
   930                "legendFormat": "__auto",
   931                "range": false,
   932                "refId": "A"
   933              },
   934              {
   935                "datasource": {
   936                  "type": "prometheus",
   937                  "uid": "prometheus"
   938                },
   939                "editorMode": "code",
   940                "exemplar": false,
   941                "expr": "count by (namespace, app_kubernetes_io_instance) (mysql_up{app_kubernetes_io_managed_by=\"kubeblocks\",app_kubernetes_io_name=\"apecloud-mysql\"} > 0)",
   942                "format": "table",
   943                "hide": false,
   944                "instant": true,
   945                "legendFormat": "__auto",
   946                "range": false,
   947                "refId": "B"
   948              },
   949              {
   950                "datasource": {
   951                  "type": "prometheus",
   952                  "uid": "prometheus"
   953                },
   954                "editorMode": "code",
   955                "exemplar": false,
   956                "expr": "count by (app_kubernetes_io_instance) (count by (app_kubernetes_io_instance,node) (mysql_up{app_kubernetes_io_managed_by=\"kubeblocks\",app_kubernetes_io_name=\"apecloud-mysql\"}))",
   957                "format": "table",
   958                "hide": false,
   959                "instant": true,
   960                "legendFormat": "__auto",
   961                "range": false,
   962                "refId": "C"
   963              }
   964            ],
   965            "title": "Cluster List",
   966            "transformations": [
   967              {
   968                "id": "joinByField",
   969                "options": {
   970                  "byField": "app_kubernetes_io_instance",
   971                  "mode": "outer"
   972                }
   973              },
   974              {
   975                "id": "organize",
   976                "options": {
   977                  "excludeByName": {
   978                    "Time 1": true,
   979                    "Time 2": true,
   980                    "Time 3": true,
   981                    "apps_kubeblocks_io_component_name": true,
   982                    "namespace 2": true,
   983                    "node": true,
   984                    "pod": true,
   985                    "pod 1": true,
   986                    "pod 2": true
   987                  },
   988                  "indexByName": {
   989                    "Time 1": 2,
   990                    "Time 2": 4,
   991                    "Time 3": 6,
   992                    "Value #A": 3,
   993                    "Value #B": 5,
   994                    "Value #C": 8,
   995                    "app_kubernetes_io_instance": 1,
   996                    "namespace 1": 0,
   997                    "namespace 2": 10,
   998                    "node": 7,
   999                    "pod 1": 9,
  1000                    "pod 2": 11
  1001                  },
  1002                  "renameByName": {
  1003                    "Value #A": "total instances",
  1004                    "Value #B": "running instances",
  1005                    "Value #C": "nodes",
  1006                    "app_kubernetes_io_instance": "cluster",
  1007                    "namespace 1": "namespace",
  1008                    "pod": ""
  1009                  }
  1010                }
  1011              }
  1012            ],
  1013            "type": "table"
  1014          },
  1015          {
  1016            "datasource": {
  1017              "type": "prometheus",
  1018              "uid": "prometheus"
  1019            },
  1020            "fieldConfig": {
  1021              "defaults": {
  1022                "color": {
  1023                  "mode": "thresholds"
  1024                },
  1025                "mappings": [],
  1026                "thresholds": {
  1027                  "mode": "absolute",
  1028                  "steps": [
  1029                    {
  1030                      "color": "semi-dark-blue",
  1031                      "value": null
  1032                    }
  1033                  ]
  1034                },
  1035                "unit": "percentunit"
  1036              },
  1037              "overrides": []
  1038            },
  1039            "gridPos": {
  1040              "h": 4,
  1041              "w": 3,
  1042              "x": 0,
  1043              "y": 16
  1044            },
  1045            "id": 20,
  1046            "options": {
  1047              "colorMode": "value",
  1048              "graphMode": "area",
  1049              "justifyMode": "auto",
  1050              "orientation": "auto",
  1051              "reduceOptions": {
  1052                "calcs": [
  1053                  "lastNotNull"
  1054                ],
  1055                "fields": "",
  1056                "values": false
  1057              },
  1058              "textMode": "auto"
  1059            },
  1060            "pluginVersion": "9.2.4",
  1061            "targets": [
  1062              {
  1063                "datasource": {
  1064                  "type": "prometheus",
  1065                  "uid": "prometheus"
  1066                },
  1067                "editorMode": "code",
  1068                "expr": "sum(rate(k8s_pod_cpu_time_seconds_total{app_kubernetes_io_managed_by=\"kubeblocks\",app_kubernetes_io_name=\"apecloud-mysql\"}[$__rate_interval]))",
  1069                "legendFormat": "__auto",
  1070                "range": true,
  1071                "refId": "A"
  1072              }
  1073            ],
  1074            "title": "CPU Usage (Cores)",
  1075            "type": "stat"
  1076          },
  1077          {
  1078            "datasource": {
  1079              "type": "prometheus",
  1080              "uid": "prometheus"
  1081            },
  1082            "fieldConfig": {
  1083              "defaults": {
  1084                "color": {
  1085                  "mode": "thresholds"
  1086                },
  1087                "mappings": [],
  1088                "thresholds": {
  1089                  "mode": "absolute",
  1090                  "steps": [
  1091                    {
  1092                      "color": "semi-dark-blue",
  1093                      "value": null
  1094                    }
  1095                  ]
  1096                }
  1097              },
  1098              "overrides": []
  1099            },
  1100            "gridPos": {
  1101              "h": 4,
  1102              "w": 3,
  1103              "x": 3,
  1104              "y": 16
  1105            },
  1106            "id": 21,
  1107            "options": {
  1108              "colorMode": "value",
  1109              "graphMode": "area",
  1110              "justifyMode": "auto",
  1111              "orientation": "auto",
  1112              "reduceOptions": {
  1113                "calcs": [
  1114                  "lastNotNull"
  1115                ],
  1116                "fields": "",
  1117                "values": false
  1118              },
  1119              "textMode": "auto"
  1120            },
  1121            "pluginVersion": "9.2.4",
  1122            "targets": [
  1123              {
  1124                "datasource": {
  1125                  "type": "prometheus",
  1126                  "uid": "prometheus"
  1127                },
  1128                "editorMode": "code",
  1129                "expr": "sum(k8s_pod_cpu_limit{app_kubernetes_io_managed_by=\"kubeblocks\",app_kubernetes_io_name=\"apecloud-mysql\"})",
  1130                "legendFormat": "__auto",
  1131                "range": true,
  1132                "refId": "A"
  1133              }
  1134            ],
  1135            "title": "CPU Limit (Cores)",
  1136            "type": "stat"
  1137          },
  1138          {
  1139            "datasource": {
  1140              "type": "prometheus",
  1141              "uid": "prometheus"
  1142            },
  1143            "fieldConfig": {
  1144              "defaults": {
  1145                "color": {
  1146                  "mode": "thresholds"
  1147                },
  1148                "mappings": [],
  1149                "thresholds": {
  1150                  "mode": "absolute",
  1151                  "steps": [
  1152                    {
  1153                      "color": "semi-dark-blue",
  1154                      "value": null
  1155                    }
  1156                  ]
  1157                },
  1158                "unit": "bytes"
  1159              },
  1160              "overrides": []
  1161            },
  1162            "gridPos": {
  1163              "h": 4,
  1164              "w": 3,
  1165              "x": 6,
  1166              "y": 16
  1167            },
  1168            "id": 22,
  1169            "options": {
  1170              "colorMode": "value",
  1171              "graphMode": "area",
  1172              "justifyMode": "auto",
  1173              "orientation": "auto",
  1174              "reduceOptions": {
  1175                "calcs": [
  1176                  "lastNotNull"
  1177                ],
  1178                "fields": "",
  1179                "values": false
  1180              },
  1181              "textMode": "auto"
  1182            },
  1183            "pluginVersion": "9.2.4",
  1184            "targets": [
  1185              {
  1186                "datasource": {
  1187                  "type": "prometheus",
  1188                  "uid": "prometheus"
  1189                },
  1190                "editorMode": "code",
  1191                "expr": "sum(k8s_pod_memory_working_set_bytes{app_kubernetes_io_managed_by=\"kubeblocks\",app_kubernetes_io_name=\"apecloud-mysql\"})",
  1192                "legendFormat": "__auto",
  1193                "range": true,
  1194                "refId": "A"
  1195              }
  1196            ],
  1197            "title": "Memory Usage",
  1198            "type": "stat"
  1199          },
  1200          {
  1201            "datasource": {
  1202              "type": "prometheus",
  1203              "uid": "prometheus"
  1204            },
  1205            "fieldConfig": {
  1206              "defaults": {
  1207                "color": {
  1208                  "mode": "thresholds"
  1209                },
  1210                "mappings": [],
  1211                "thresholds": {
  1212                  "mode": "absolute",
  1213                  "steps": [
  1214                    {
  1215                      "color": "semi-dark-blue",
  1216                      "value": null
  1217                    }
  1218                  ]
  1219                },
  1220                "unit": "bytes"
  1221              },
  1222              "overrides": []
  1223            },
  1224            "gridPos": {
  1225              "h": 4,
  1226              "w": 3,
  1227              "x": 9,
  1228              "y": 16
  1229            },
  1230            "id": 23,
  1231            "options": {
  1232              "colorMode": "value",
  1233              "graphMode": "area",
  1234              "justifyMode": "auto",
  1235              "orientation": "auto",
  1236              "reduceOptions": {
  1237                "calcs": [
  1238                  "lastNotNull"
  1239                ],
  1240                "fields": "",
  1241                "values": false
  1242              },
  1243              "textMode": "auto"
  1244            },
  1245            "pluginVersion": "9.2.4",
  1246            "targets": [
  1247              {
  1248                "datasource": {
  1249                  "type": "prometheus",
  1250                  "uid": "prometheus"
  1251                },
  1252                "editorMode": "code",
  1253                "expr": "sum(k8s_pod_memory_limit_bytes{app_kubernetes_io_managed_by=\"kubeblocks\",app_kubernetes_io_name=\"apecloud-mysql\"})",
  1254                "legendFormat": "__auto",
  1255                "range": true,
  1256                "refId": "A"
  1257              }
  1258            ],
  1259            "title": "Memory Limit",
  1260            "type": "stat"
  1261          }
  1262        ],
  1263        "title": "MySQL",
  1264        "type": "row"
  1265      },
  1266      {
  1267        "collapsed": true,
  1268        "gridPos": {
  1269          "h": 1,
  1270          "w": 24,
  1271          "x": 0,
  1272          "y": 12
  1273        },
  1274        "id": 6,
  1275        "panels": [
  1276          {
  1277            "datasource": {
  1278              "type": "prometheus",
  1279              "uid": "prometheus"
  1280            },
  1281            "fieldConfig": {
  1282              "defaults": {
  1283                "color": {
  1284                  "mode": "thresholds"
  1285                },
  1286                "mappings": [],
  1287                "thresholds": {
  1288                  "mode": "absolute",
  1289                  "steps": [
  1290                    {
  1291                      "color": "semi-dark-blue",
  1292                      "value": null
  1293                    }
  1294                  ]
  1295                }
  1296              },
  1297              "overrides": []
  1298            },
  1299            "gridPos": {
  1300              "h": 4,
  1301              "w": 3,
  1302              "x": 0,
  1303              "y": 21
  1304            },
  1305            "id": 24,
  1306            "options": {
  1307              "colorMode": "value",
  1308              "graphMode": "area",
  1309              "justifyMode": "auto",
  1310              "orientation": "auto",
  1311              "reduceOptions": {
  1312                "calcs": [
  1313                  "lastNotNull"
  1314                ],
  1315                "fields": "",
  1316                "values": false
  1317              },
  1318              "textMode": "auto"
  1319            },
  1320            "pluginVersion": "9.2.4",
  1321            "targets": [
  1322              {
  1323                "datasource": {
  1324                  "type": "prometheus",
  1325                  "uid": "prometheus"
  1326                },
  1327                "editorMode": "code",
  1328                "expr": "count(sum by (app_kubernetes_io_instance) (k8s_pod_memory_usage_bytes{app_kubernetes_io_managed_by=\"kubeblocks\",app_kubernetes_io_name=\"postgresql\"}))",
  1329                "legendFormat": "__auto",
  1330                "range": true,
  1331                "refId": "A"
  1332              }
  1333            ],
  1334            "title": "Clusters",
  1335            "type": "stat"
  1336          },
  1337          {
  1338            "datasource": {
  1339              "type": "prometheus",
  1340              "uid": "prometheus"
  1341            },
  1342            "fieldConfig": {
  1343              "defaults": {
  1344                "color": {
  1345                  "mode": "thresholds"
  1346                },
  1347                "mappings": [],
  1348                "thresholds": {
  1349                  "mode": "absolute",
  1350                  "steps": [
  1351                    {
  1352                      "color": "semi-dark-blue",
  1353                      "value": null
  1354                    }
  1355                  ]
  1356                }
  1357              },
  1358              "overrides": []
  1359            },
  1360            "gridPos": {
  1361              "h": 4,
  1362              "w": 3,
  1363              "x": 3,
  1364              "y": 21
  1365            },
  1366            "id": 27,
  1367            "options": {
  1368              "colorMode": "value",
  1369              "graphMode": "area",
  1370              "justifyMode": "auto",
  1371              "orientation": "auto",
  1372              "reduceOptions": {
  1373                "calcs": [
  1374                  "lastNotNull"
  1375                ],
  1376                "fields": "",
  1377                "values": false
  1378              },
  1379              "textMode": "auto"
  1380            },
  1381            "pluginVersion": "9.2.4",
  1382            "targets": [
  1383              {
  1384                "datasource": {
  1385                  "type": "prometheus",
  1386                  "uid": "prometheus"
  1387                },
  1388                "editorMode": "code",
  1389                "expr": "count(sum by (node) (k8s_pod_memory_usage_bytes{app_kubernetes_io_managed_by=\"kubeblocks\",app_kubernetes_io_name=\"postgresql\"}))",
  1390                "legendFormat": "__auto",
  1391                "range": true,
  1392                "refId": "A"
  1393              }
  1394            ],
  1395            "title": "Nodes",
  1396            "type": "stat"
  1397          },
  1398          {
  1399            "datasource": {
  1400              "type": "prometheus",
  1401              "uid": "prometheus"
  1402            },
  1403            "fieldConfig": {
  1404              "defaults": {
  1405                "color": {
  1406                  "mode": "thresholds"
  1407                },
  1408                "mappings": [],
  1409                "thresholds": {
  1410                  "mode": "absolute",
  1411                  "steps": [
  1412                    {
  1413                      "color": "semi-dark-blue",
  1414                      "value": null
  1415                    }
  1416                  ]
  1417                }
  1418              },
  1419              "overrides": []
  1420            },
  1421            "gridPos": {
  1422              "h": 4,
  1423              "w": 3,
  1424              "x": 6,
  1425              "y": 21
  1426            },
  1427            "id": 25,
  1428            "options": {
  1429              "colorMode": "value",
  1430              "graphMode": "area",
  1431              "justifyMode": "auto",
  1432              "orientation": "auto",
  1433              "reduceOptions": {
  1434                "calcs": [
  1435                  "lastNotNull"
  1436                ],
  1437                "fields": "",
  1438                "values": false
  1439              },
  1440              "textMode": "auto"
  1441            },
  1442            "pluginVersion": "9.2.4",
  1443            "targets": [
  1444              {
  1445                "datasource": {
  1446                  "type": "prometheus",
  1447                  "uid": "prometheus"
  1448                },
  1449                "editorMode": "code",
  1450                "expr": "count(k8s_pod_memory_usage_bytes{app_kubernetes_io_managed_by=\"kubeblocks\",app_kubernetes_io_name=\"postgresql\"})",
  1451                "legendFormat": "__auto",
  1452                "range": true,
  1453                "refId": "A"
  1454              }
  1455            ],
  1456            "title": "Total Instances",
  1457            "type": "stat"
  1458          },
  1459          {
  1460            "datasource": {
  1461              "type": "prometheus",
  1462              "uid": "prometheus"
  1463            },
  1464            "fieldConfig": {
  1465              "defaults": {
  1466                "color": {
  1467                  "mode": "thresholds"
  1468                },
  1469                "mappings": [],
  1470                "thresholds": {
  1471                  "mode": "absolute",
  1472                  "steps": [
  1473                    {
  1474                      "color": "semi-dark-blue",
  1475                      "value": null
  1476                    }
  1477                  ]
  1478                }
  1479              },
  1480              "overrides": []
  1481            },
  1482            "gridPos": {
  1483              "h": 4,
  1484              "w": 3,
  1485              "x": 9,
  1486              "y": 21
  1487            },
  1488            "id": 26,
  1489            "options": {
  1490              "colorMode": "value",
  1491              "graphMode": "area",
  1492              "justifyMode": "auto",
  1493              "orientation": "auto",
  1494              "reduceOptions": {
  1495                "calcs": [
  1496                  "lastNotNull"
  1497                ],
  1498                "fields": "",
  1499                "values": false
  1500              },
  1501              "textMode": "auto"
  1502            },
  1503            "pluginVersion": "9.2.4",
  1504            "targets": [
  1505              {
  1506                "datasource": {
  1507                  "type": "prometheus",
  1508                  "uid": "prometheus"
  1509                },
  1510                "editorMode": "code",
  1511                "expr": "sum(pg_up{app_kubernetes_io_managed_by=\"kubeblocks\",app_kubernetes_io_name=\"postgresql\"} <= 0 or vector(0))",
  1512                "legendFormat": "__auto",
  1513                "range": true,
  1514                "refId": "A"
  1515              }
  1516            ],
  1517            "title": "Downs Instances",
  1518            "type": "stat"
  1519          },
  1520          {
  1521            "datasource": {
  1522              "type": "prometheus",
  1523              "uid": "prometheus"
  1524            },
  1525            "fieldConfig": {
  1526              "defaults": {
  1527                "color": {
  1528                  "mode": "palette-classic"
  1529                },
  1530                "custom": {
  1531                  "align": "center",
  1532                  "displayMode": "color-text",
  1533                  "inspect": false
  1534                },
  1535                "mappings": [],
  1536                "thresholds": {
  1537                  "mode": "absolute",
  1538                  "steps": [
  1539                    {
  1540                      "color": "semi-dark-blue",
  1541                      "value": null
  1542                    }
  1543                  ]
  1544                }
  1545              },
  1546              "overrides": [
  1547                {
  1548                  "matcher": {
  1549                    "id": "byName",
  1550                    "options": "cluster"
  1551                  },
  1552                  "properties": [
  1553                    {
  1554                      "id": "links",
  1555                      "value": [
  1556                        {
  1557                          "targetBlank": true,
  1558                          "title": "PostgreSQL Cluster: ${__data.fields.namespace} | ${__data.fields.cluster}",
  1559                          "url": "/d/kubeblocks-postgresql-detail/kubeblocks-postgresql-detail?orgId=1&var-datasource=default&var-namespace=${__data.fields.namespace}&var-cluster=${__data.fields.cluster}&var-instance=All&var-database=All"
  1560                        }
  1561                      ]
  1562                    }
  1563                  ]
  1564                }
  1565              ]
  1566            },
  1567            "gridPos": {
  1568              "h": 8,
  1569              "w": 12,
  1570              "x": 12,
  1571              "y": 21
  1572            },
  1573            "id": 34,
  1574            "options": {
  1575              "footer": {
  1576                "enablePagination": false,
  1577                "fields": "",
  1578                "reducer": [
  1579                  "sum"
  1580                ],
  1581                "show": false
  1582              },
  1583              "showHeader": true
  1584            },
  1585            "pluginVersion": "9.2.4",
  1586            "targets": [
  1587              {
  1588                "datasource": {
  1589                  "type": "prometheus",
  1590                  "uid": "prometheus"
  1591                },
  1592                "editorMode": "code",
  1593                "exemplar": false,
  1594                "expr": "count by (namespace, app_kubernetes_io_instance) (pg_up{app_kubernetes_io_managed_by=\"kubeblocks\",app_kubernetes_io_name=\"postgresql\"})",
  1595                "format": "table",
  1596                "instant": true,
  1597                "legendFormat": "__auto",
  1598                "range": false,
  1599                "refId": "A"
  1600              },
  1601              {
  1602                "datasource": {
  1603                  "type": "prometheus",
  1604                  "uid": "prometheus"
  1605                },
  1606                "editorMode": "code",
  1607                "exemplar": false,
  1608                "expr": "count by (namespace, app_kubernetes_io_instance) (pg_up{app_kubernetes_io_managed_by=\"kubeblocks\",app_kubernetes_io_name=\"postgresql\"} > 0)",
  1609                "format": "table",
  1610                "hide": false,
  1611                "instant": true,
  1612                "legendFormat": "__auto",
  1613                "range": false,
  1614                "refId": "B"
  1615              },
  1616              {
  1617                "datasource": {
  1618                  "type": "prometheus",
  1619                  "uid": "prometheus"
  1620                },
  1621                "editorMode": "code",
  1622                "exemplar": false,
  1623                "expr": "count by (app_kubernetes_io_instance) (count by (app_kubernetes_io_instance,node) (pg_up{app_kubernetes_io_managed_by=\"kubeblocks\",app_kubernetes_io_name=\"postgresql\"}))",
  1624                "format": "table",
  1625                "hide": false,
  1626                "instant": true,
  1627                "legendFormat": "__auto",
  1628                "range": false,
  1629                "refId": "C"
  1630              }
  1631            ],
  1632            "title": "Cluster List",
  1633            "transformations": [
  1634              {
  1635                "id": "joinByField",
  1636                "options": {
  1637                  "byField": "app_kubernetes_io_instance",
  1638                  "mode": "outer"
  1639                }
  1640              },
  1641              {
  1642                "id": "organize",
  1643                "options": {
  1644                  "excludeByName": {
  1645                    "Time 1": true,
  1646                    "Time 2": true,
  1647                    "Time 3": true,
  1648                    "apps_kubeblocks_io_component_name": true,
  1649                    "namespace 2": true,
  1650                    "node": true,
  1651                    "pod": true
  1652                  },
  1653                  "indexByName": {
  1654                    "Time 1": 2,
  1655                    "Time 2": 4,
  1656                    "Time 3": 6,
  1657                    "Value #A": 3,
  1658                    "Value #B": 5,
  1659                    "Value #C": 8,
  1660                    "app_kubernetes_io_instance": 1,
  1661                    "namespace 1": 0,
  1662                    "namespace 2": 9,
  1663                    "node": 7
  1664                  },
  1665                  "renameByName": {
  1666                    "Value #A": "total instances",
  1667                    "Value #B": "running instances",
  1668                    "Value #C": "nodes",
  1669                    "app_kubernetes_io_instance": "cluster",
  1670                    "namespace 1": "namespace",
  1671                    "pod": ""
  1672                  }
  1673                }
  1674              }
  1675            ],
  1676            "type": "table"
  1677          },
  1678          {
  1679            "datasource": {
  1680              "type": "prometheus",
  1681              "uid": "prometheus"
  1682            },
  1683            "fieldConfig": {
  1684              "defaults": {
  1685                "color": {
  1686                  "mode": "thresholds"
  1687                },
  1688                "mappings": [],
  1689                "thresholds": {
  1690                  "mode": "absolute",
  1691                  "steps": [
  1692                    {
  1693                      "color": "semi-dark-blue",
  1694                      "value": null
  1695                    }
  1696                  ]
  1697                },
  1698                "unit": "percentunit"
  1699              },
  1700              "overrides": []
  1701            },
  1702            "gridPos": {
  1703              "h": 4,
  1704              "w": 3,
  1705              "x": 0,
  1706              "y": 25
  1707            },
  1708            "id": 28,
  1709            "options": {
  1710              "colorMode": "value",
  1711              "graphMode": "area",
  1712              "justifyMode": "auto",
  1713              "orientation": "auto",
  1714              "reduceOptions": {
  1715                "calcs": [
  1716                  "lastNotNull"
  1717                ],
  1718                "fields": "",
  1719                "values": false
  1720              },
  1721              "textMode": "auto"
  1722            },
  1723            "pluginVersion": "9.2.4",
  1724            "targets": [
  1725              {
  1726                "datasource": {
  1727                  "type": "prometheus",
  1728                  "uid": "prometheus"
  1729                },
  1730                "editorMode": "code",
  1731                "expr": "sum(rate(k8s_pod_cpu_time_seconds_total{app_kubernetes_io_managed_by=\"kubeblocks\",app_kubernetes_io_name=\"postgresql\"}[$__rate_interval]))",
  1732                "legendFormat": "__auto",
  1733                "range": true,
  1734                "refId": "A"
  1735              }
  1736            ],
  1737            "title": "CPU Usage (Cores)",
  1738            "type": "stat"
  1739          },
  1740          {
  1741            "datasource": {
  1742              "type": "prometheus",
  1743              "uid": "prometheus"
  1744            },
  1745            "fieldConfig": {
  1746              "defaults": {
  1747                "color": {
  1748                  "mode": "thresholds"
  1749                },
  1750                "mappings": [],
  1751                "thresholds": {
  1752                  "mode": "absolute",
  1753                  "steps": [
  1754                    {
  1755                      "color": "semi-dark-blue",
  1756                      "value": null
  1757                    }
  1758                  ]
  1759                }
  1760              },
  1761              "overrides": []
  1762            },
  1763            "gridPos": {
  1764              "h": 4,
  1765              "w": 3,
  1766              "x": 3,
  1767              "y": 25
  1768            },
  1769            "id": 29,
  1770            "options": {
  1771              "colorMode": "value",
  1772              "graphMode": "area",
  1773              "justifyMode": "auto",
  1774              "orientation": "auto",
  1775              "reduceOptions": {
  1776                "calcs": [
  1777                  "lastNotNull"
  1778                ],
  1779                "fields": "",
  1780                "values": false
  1781              },
  1782              "textMode": "auto"
  1783            },
  1784            "pluginVersion": "9.2.4",
  1785            "targets": [
  1786              {
  1787                "datasource": {
  1788                  "type": "prometheus",
  1789                  "uid": "prometheus"
  1790                },
  1791                "editorMode": "code",
  1792                "expr": "sum(k8s_pod_cpu_limit{app_kubernetes_io_managed_by=\"kubeblocks\",app_kubernetes_io_name=\"postgresql\"})",
  1793                "legendFormat": "__auto",
  1794                "range": true,
  1795                "refId": "A"
  1796              }
  1797            ],
  1798            "title": "CPU Limit (Cores)",
  1799            "type": "stat"
  1800          },
  1801          {
  1802            "datasource": {
  1803              "type": "prometheus",
  1804              "uid": "prometheus"
  1805            },
  1806            "fieldConfig": {
  1807              "defaults": {
  1808                "color": {
  1809                  "mode": "thresholds"
  1810                },
  1811                "mappings": [],
  1812                "thresholds": {
  1813                  "mode": "absolute",
  1814                  "steps": [
  1815                    {
  1816                      "color": "semi-dark-blue",
  1817                      "value": null
  1818                    }
  1819                  ]
  1820                },
  1821                "unit": "bytes"
  1822              },
  1823              "overrides": []
  1824            },
  1825            "gridPos": {
  1826              "h": 4,
  1827              "w": 3,
  1828              "x": 6,
  1829              "y": 25
  1830            },
  1831            "id": 30,
  1832            "options": {
  1833              "colorMode": "value",
  1834              "graphMode": "area",
  1835              "justifyMode": "auto",
  1836              "orientation": "auto",
  1837              "reduceOptions": {
  1838                "calcs": [
  1839                  "lastNotNull"
  1840                ],
  1841                "fields": "",
  1842                "values": false
  1843              },
  1844              "textMode": "auto"
  1845            },
  1846            "pluginVersion": "9.2.4",
  1847            "targets": [
  1848              {
  1849                "datasource": {
  1850                  "type": "prometheus",
  1851                  "uid": "prometheus"
  1852                },
  1853                "editorMode": "code",
  1854                "expr": "sum(k8s_pod_memory_working_set_bytes{app_kubernetes_io_managed_by=\"kubeblocks\",app_kubernetes_io_name=\"postgresql\"})",
  1855                "legendFormat": "__auto",
  1856                "range": true,
  1857                "refId": "A"
  1858              }
  1859            ],
  1860            "title": "Memory Usage",
  1861            "type": "stat"
  1862          },
  1863          {
  1864            "datasource": {
  1865              "type": "prometheus",
  1866              "uid": "prometheus"
  1867            },
  1868            "fieldConfig": {
  1869              "defaults": {
  1870                "color": {
  1871                  "mode": "thresholds"
  1872                },
  1873                "mappings": [],
  1874                "thresholds": {
  1875                  "mode": "absolute",
  1876                  "steps": [
  1877                    {
  1878                      "color": "semi-dark-blue",
  1879                      "value": null
  1880                    }
  1881                  ]
  1882                },
  1883                "unit": "bytes"
  1884              },
  1885              "overrides": []
  1886            },
  1887            "gridPos": {
  1888              "h": 4,
  1889              "w": 3,
  1890              "x": 9,
  1891              "y": 25
  1892            },
  1893            "id": 31,
  1894            "options": {
  1895              "colorMode": "value",
  1896              "graphMode": "area",
  1897              "justifyMode": "auto",
  1898              "orientation": "auto",
  1899              "reduceOptions": {
  1900                "calcs": [
  1901                  "lastNotNull"
  1902                ],
  1903                "fields": "",
  1904                "values": false
  1905              },
  1906              "textMode": "auto"
  1907            },
  1908            "pluginVersion": "9.2.4",
  1909            "targets": [
  1910              {
  1911                "datasource": {
  1912                  "type": "prometheus",
  1913                  "uid": "prometheus"
  1914                },
  1915                "editorMode": "code",
  1916                "expr": "sum(k8s_pod_memory_limit_bytes{app_kubernetes_io_managed_by=\"kubeblocks\",app_kubernetes_io_name=\"postgresql\"})",
  1917                "legendFormat": "__auto",
  1918                "range": true,
  1919                "refId": "A"
  1920              }
  1921            ],
  1922            "title": "Memory Limit",
  1923            "type": "stat"
  1924          }
  1925        ],
  1926        "title": "PostgreSQL",
  1927        "type": "row"
  1928      }
  1929    ],
  1930    "schemaVersion": 37,
  1931    "style": "dark",
  1932    "tags": [
  1933      "kubeblocks",
  1934      "overview"
  1935    ],
  1936    "templating": {
  1937      "list": [
  1938        {
  1939          "current": {
  1940            "selected": false,
  1941            "text": "default",
  1942            "value": "default"
  1943          },
  1944          "hide": 0,
  1945          "includeAll": false,
  1946          "label": "data source",
  1947          "multi": false,
  1948          "name": "datasource",
  1949          "options": [],
  1950          "query": "prometheus",
  1951          "queryValue": "",
  1952          "refresh": 1,
  1953          "regex": "",
  1954          "skipUrlSync": false,
  1955          "type": "datasource"
  1956        }
  1957      ]
  1958    },
  1959    "time": {
  1960      "from": "now-30m",
  1961      "to": "now"
  1962    },
  1963    "timepicker": {},
  1964    "timezone": "",
  1965    "title": "Kubeblocks / Home",
  1966    "uid": "kubeblocks_home",
  1967    "version": 1,
  1968    "weekStart": ""
  1969  }