{
  "metrics": [
    {
      "id": "tidb_cpu_rate",
      "group": "tidb_cpu_rate",
      "ref": {
        "type": "metric",
        "metric_group_id": "tidb_cpu_rate"
      },
      "metric_group_id": "tidb_cpu_rate",
      "name": "tidb_cpu_rate",
      "promql": "sum by (pod, instance) (rate(process_cpu_seconds_total{component=\"tidb\"}[1m]))",
      "unit": "cores",
      "summary": {
        "point_count": 60,
        "min": 6.771333333229025,
        "max": 11.122666666656732,
        "avg": 8.89297222222098,
        "series_count": 10
      },
      "series_summaries": [
        {
          "labels": {
            "instance": "db-2027220408993841152-tidb-2j6dju",
            "pod": "db-2027220408993841152-tidb-2j6dju"
          },
          "point_count": 6,
          "min": 7.3980000000447035,
          "max": 8.369666666661699,
          "avg": 7.966333333340784
        },
        {
          "labels": {
            "instance": "db-2027220408993841152-tidb-4pf3vl",
            "pod": "db-2027220408993841152-tidb-4pf3vl"
          },
          "point_count": 6,
          "min": 7.972666666656733,
          "max": 9.318166666726272,
          "avg": 8.774000000001656
        },
        {
          "labels": {
            "instance": "db-2027220408993841152-tidb-79yuza",
            "pod": "db-2027220408993841152-tidb-79yuza"
          },
          "point_count": 6,
          "min": 9.745166666681568,
          "max": 10.44249999995033,
          "avg": 10.021388888897167
        },
        {
          "labels": {
            "instance": "db-2027220408993841152-tidb-7gleep",
            "pod": "db-2027220408993841152-tidb-7gleep"
          },
          "point_count": 6,
          "min": 7.973999999960264,
          "max": 9.053333333258827,
          "avg": 8.719138888869848
        },
        {
          "labels": {
            "instance": "db-2027220408993841152-tidb-7qc8pe",
            "pod": "db-2027220408993841152-tidb-7qc8pe"
          },
          "point_count": 6,
          "min": 6.771333333229025,
          "max": 8.640666666626931,
          "avg": 7.464944444451895
        },
        {
          "labels": {
            "instance": "db-2027220408993841152-tidb-7sixuh",
            "pod": "db-2027220408993841152-tidb-7sixuh"
          },
          "point_count": 6,
          "min": 7.906833333273728,
          "max": 10.76116666669647,
          "avg": 9.44808333331926
        },
        {
          "labels": {
            "instance": "db-2027220408993841152-tidb-glddbi",
            "pod": "db-2027220408993841152-tidb-glddbi"
          },
          "point_count": 6,
          "min": 8.679833333318433,
          "max": 11.122666666656732,
          "avg": 9.567305555546449
        },
        {
          "labels": {
            "instance": "db-2027220408993841152-tidb-jvlne6",
            "pod": "db-2027220408993841152-tidb-jvlne6"
          },
          "point_count": 6,
          "min": 9.587333333368102,
          "max": 10.511666666716337,
          "avg": 10.150888888889716
        },
        {
          "labels": {
            "instance": "db-2027220408993841152-tidb-krx4fy",
            "pod": "db-2027220408993841152-tidb-krx4fy"
          },
          "point_count": 6,
          "min": 7.7738333333283665,
          "max": 9.755499999970198,
          "avg": 8.669805555563007
        },
        {
          "labels": {
            "instance": "db-2027220408993841152-tidb-p1s0s2",
            "pod": "db-2027220408993841152-tidb-p1s0s2"
          },
          "point_count": 6,
          "min": 7.711999999980132,
          "max": 8.822000000004968,
          "avg": 8.147833333330022
        }
      ],
      "time_window": {
        "start": 1784602800,
        "end": 1784603100,
        "step": "60"
      },
      "chart_data_ref": {
        "kind": "promql_range",
        "cluster_id": "10748116073341772391",
        "promql": "sum by (pod, instance) (rate(process_cpu_seconds_total{component=\"tidb\"}[1m]))",
        "start": 1784602800,
        "end": 1784603100,
        "step": "60"
      },
      "chart_data": {
        "name": "tidb_cpu_rate",
        "promql": "sum by (pod, instance) (rate(process_cpu_seconds_total{component=\"tidb\"}[1m]))",
        "result_type": "matrix",
        "series": [
          {
            "metric": {
              "instance": "db-2027220408993841152-tidb-2j6dju",
              "pod": "db-2027220408993841152-tidb-2j6dju"
            },
            "values": [
              [
                1784602800,
                "8.369666666661699"
              ],
              [
                1784602860,
                "8.16683333342274"
              ],
              [
                1784602920,
                "7.651833333323399"
              ],
              [
                1784602980,
                "8.009166666616997"
              ],
              [
                1784603040,
                "7.3980000000447035"
              ],
              [
                1784603100,
                "8.202499999975165"
              ]
            ]
          },
          {
            "metric": {
              "instance": "db-2027220408993841152-tidb-4pf3vl",
              "pod": "db-2027220408993841152-tidb-4pf3vl"
            },
            "values": [
              [
                1784602800,
                "9.142333333318431"
              ],
              [
                1784602860,
                "7.972666666656733"
              ],
              [
                1784602920,
                "8.4768333333234"
              ],
              [
                1784602980,
                "8.863166666651766"
              ],
              [
                1784603040,
                "8.870833333333334"
              ],
              [
                1784603100,
                "9.318166666726272"
              ]
            ]
          },
          {
            "metric": {
              "instance": "db-2027220408993841152-tidb-79yuza",
              "pod": "db-2027220408993841152-tidb-79yuza"
            },
            "values": [
              [
                1784602800,
                "9.914000000059605"
              ],
              [
                1784602860,
                "9.8821666666617"
              ],
              [
                1784602920,
                "10.44249999995033"
              ],
              [
                1784602980,
                "10.099166666716338"
              ],
              [
                1784603040,
                "10.045333333313465"
              ],
              [
                1784603100,
                "9.745166666681568"
              ]
            ]
          },
          {
            "metric": {
              "instance": "db-2027220408993841152-tidb-7gleep",
              "pod": "db-2027220408993841152-tidb-7gleep"
            },
            "values": [
              [
                1784602800,
                "8.834166666616996"
              ],
              [
                1784602860,
                "7.973999999960264"
              ],
              [
                1784602920,
                "8.493833333378037"
              ],
              [
                1784602980,
                "8.91566666662693"
              ],
              [
                1784603040,
                "9.043833333378037"
              ],
              [
                1784603100,
                "9.053333333258827"
              ]
            ]
          },
          {
            "metric": {
              "instance": "db-2027220408993841152-tidb-7qc8pe",
              "pod": "db-2027220408993841152-tidb-7qc8pe"
            },
            "values": [
              [
                1784602800,
                "8.640666666626931"
              ],
              [
                1784602860,
                "7.732833333437641"
              ],
              [
                1784602920,
                "7.353500000014901"
              ],
              [
                1784602980,
                "6.771333333229025"
              ],
              [
                1784603040,
                "6.913000000019868"
              ],
              [
                1784603100,
                "7.3783333333830035"
              ]
            ]
          },
          {
            "metric": {
              "instance": "db-2027220408993841152-tidb-7sixuh",
              "pod": "db-2027220408993841152-tidb-7sixuh"
            },
            "values": [
              [
                1784602800,
                "8.05849999996523"
              ],
              [
                1784602860,
                "7.906833333273728"
              ],
              [
                1784602920,
                "8.991666666666667"
              ],
              [
                1784602980,
                "10.223833333328367"
              ],
              [
                1784603040,
                "10.76116666669647"
              ],
              [
                1784603100,
                "10.7464999999851"
              ]
            ]
          },
          {
            "metric": {
              "instance": "db-2027220408993841152-tidb-glddbi",
              "pod": "db-2027220408993841152-tidb-glddbi"
            },
            "values": [
              [
                1784602800,
                "11.122666666656732"
              ],
              [
                1784602860,
                "10.032833333313466"
              ],
              [
                1784602920,
                "9.643166666602095"
              ],
              [
                1784602980,
                "8.679833333318433"
              ],
              [
                1784603040,
                "8.885166666656733"
              ],
              [
                1784603100,
                "9.040166666731238"
              ]
            ]
          },
          {
            "metric": {
              "instance": "db-2027220408993841152-tidb-jvlne6",
              "pod": "db-2027220408993841152-tidb-jvlne6"
            },
            "values": [
              [
                1784602800,
                "10.24599999996523"
              ],
              [
                1784602860,
                "10.511666666716337"
              ],
              [
                1784602920,
                "10.178999999910593"
              ],
              [
                1784602980,
                "10.413666666671634"
              ],
              [
                1784603040,
                "9.967666666706403"
              ],
              [
                1784603100,
                "9.587333333368102"
              ]
            ]
          },
          {
            "metric": {
              "instance": "db-2027220408993841152-tidb-krx4fy",
              "pod": "db-2027220408993841152-tidb-krx4fy"
            },
            "values": [
              [
                1784602800,
                "8.985500000044704"
              ],
              [
                1784602860,
                "9.755499999970198"
              ],
              [
                1784602920,
                "9.407999999945362"
              ],
              [
                1784602980,
                "8.288166666775941"
              ],
              [
                1784603040,
                "7.807833333313465"
              ],
              [
                1784603100,
                "7.7738333333283665"
              ]
            ]
          },
          {
            "metric": {
              "instance": "db-2027220408993841152-tidb-p1s0s2",
              "pod": "db-2027220408993841152-tidb-p1s0s2"
            },
            "values": [
              [
                1784602800,
                "8.016333333278697"
              ],
              [
                1784602860,
                "7.711999999980132"
              ],
              [
                1784602920,
                "7.781833333397905"
              ],
              [
                1784602980,
                "8.383666666597128"
              ],
              [
                1784603040,
                "8.822000000004968"
              ],
              [
                1784603100,
                "8.171166666721303"
              ]
            ]
          }
        ]
      }
    },
    {
      "id": "tidb_cpu_quota",
      "group": "tidb_cpu_quota",
      "ref": {
        "type": "metric",
        "metric_group_id": "tidb_cpu_quota"
      },
      "metric_group_id": "tidb_cpu_quota",
      "name": "tidb_cpu_quota",
      "promql": "max by (pod, instance) (tidb_server_maxprocs)",
      "unit": "cores",
      "summary": {
        "point_count": 60,
        "min": 31.0,
        "max": 31.0,
        "avg": 31.0,
        "series_count": 10
      },
      "series_summaries": [
        {
          "labels": {
            "instance": "db-2027220408993841152-tidb-2j6dju",
            "pod": "db-2027220408993841152-tidb-2j6dju"
          },
          "point_count": 6,
          "min": 31.0,
          "max": 31.0,
          "avg": 31.0
        },
        {
          "labels": {
            "instance": "db-2027220408993841152-tidb-4pf3vl",
            "pod": "db-2027220408993841152-tidb-4pf3vl"
          },
          "point_count": 6,
          "min": 31.0,
          "max": 31.0,
          "avg": 31.0
        },
        {
          "labels": {
            "instance": "db-2027220408993841152-tidb-79yuza",
            "pod": "db-2027220408993841152-tidb-79yuza"
          },
          "point_count": 6,
          "min": 31.0,
          "max": 31.0,
          "avg": 31.0
        },
        {
          "labels": {
            "instance": "db-2027220408993841152-tidb-7gleep",
            "pod": "db-2027220408993841152-tidb-7gleep"
          },
          "point_count": 6,
          "min": 31.0,
          "max": 31.0,
          "avg": 31.0
        },
        {
          "labels": {
            "instance": "db-2027220408993841152-tidb-7qc8pe",
            "pod": "db-2027220408993841152-tidb-7qc8pe"
          },
          "point_count": 6,
          "min": 31.0,
          "max": 31.0,
          "avg": 31.0
        },
        {
          "labels": {
            "instance": "db-2027220408993841152-tidb-7sixuh",
            "pod": "db-2027220408993841152-tidb-7sixuh"
          },
          "point_count": 6,
          "min": 31.0,
          "max": 31.0,
          "avg": 31.0
        },
        {
          "labels": {
            "instance": "db-2027220408993841152-tidb-glddbi",
            "pod": "db-2027220408993841152-tidb-glddbi"
          },
          "point_count": 6,
          "min": 31.0,
          "max": 31.0,
          "avg": 31.0
        },
        {
          "labels": {
            "instance": "db-2027220408993841152-tidb-jvlne6",
            "pod": "db-2027220408993841152-tidb-jvlne6"
          },
          "point_count": 6,
          "min": 31.0,
          "max": 31.0,
          "avg": 31.0
        },
        {
          "labels": {
            "instance": "db-2027220408993841152-tidb-krx4fy",
            "pod": "db-2027220408993841152-tidb-krx4fy"
          },
          "point_count": 6,
          "min": 31.0,
          "max": 31.0,
          "avg": 31.0
        },
        {
          "labels": {
            "instance": "db-2027220408993841152-tidb-p1s0s2",
            "pod": "db-2027220408993841152-tidb-p1s0s2"
          },
          "point_count": 6,
          "min": 31.0,
          "max": 31.0,
          "avg": 31.0
        }
      ],
      "time_window": {
        "start": 1784602800,
        "end": 1784603100,
        "step": "60"
      },
      "chart_data_ref": {
        "kind": "promql_range",
        "cluster_id": "10748116073341772391",
        "promql": "max by (pod, instance) (tidb_server_maxprocs)",
        "start": 1784602800,
        "end": 1784603100,
        "step": "60"
      },
      "chart_data": {
        "name": "tidb_cpu_quota",
        "promql": "max by (pod, instance) (tidb_server_maxprocs)",
        "result_type": "matrix",
        "series": [
          {
            "metric": {
              "instance": "db-2027220408993841152-tidb-2j6dju",
              "pod": "db-2027220408993841152-tidb-2j6dju"
            },
            "values": [
              [
                1784602800,
                "31"
              ],
              [
                1784602860,
                "31"
              ],
              [
                1784602920,
                "31"
              ],
              [
                1784602980,
                "31"
              ],
              [
                1784603040,
                "31"
              ],
              [
                1784603100,
                "31"
              ]
            ]
          },
          {
            "metric": {
              "instance": "db-2027220408993841152-tidb-4pf3vl",
              "pod": "db-2027220408993841152-tidb-4pf3vl"
            },
            "values": [
              [
                1784602800,
                "31"
              ],
              [
                1784602860,
                "31"
              ],
              [
                1784602920,
                "31"
              ],
              [
                1784602980,
                "31"
              ],
              [
                1784603040,
                "31"
              ],
              [
                1784603100,
                "31"
              ]
            ]
          },
          {
            "metric": {
              "instance": "db-2027220408993841152-tidb-79yuza",
              "pod": "db-2027220408993841152-tidb-79yuza"
            },
            "values": [
              [
                1784602800,
                "31"
              ],
              [
                1784602860,
                "31"
              ],
              [
                1784602920,
                "31"
              ],
              [
                1784602980,
                "31"
              ],
              [
                1784603040,
                "31"
              ],
              [
                1784603100,
                "31"
              ]
            ]
          },
          {
            "metric": {
              "instance": "db-2027220408993841152-tidb-7gleep",
              "pod": "db-2027220408993841152-tidb-7gleep"
            },
            "values": [
              [
                1784602800,
                "31"
              ],
              [
                1784602860,
                "31"
              ],
              [
                1784602920,
                "31"
              ],
              [
                1784602980,
                "31"
              ],
              [
                1784603040,
                "31"
              ],
              [
                1784603100,
                "31"
              ]
            ]
          },
          {
            "metric": {
              "instance": "db-2027220408993841152-tidb-7qc8pe",
              "pod": "db-2027220408993841152-tidb-7qc8pe"
            },
            "values": [
              [
                1784602800,
                "31"
              ],
              [
                1784602860,
                "31"
              ],
              [
                1784602920,
                "31"
              ],
              [
                1784602980,
                "31"
              ],
              [
                1784603040,
                "31"
              ],
              [
                1784603100,
                "31"
              ]
            ]
          },
          {
            "metric": {
              "instance": "db-2027220408993841152-tidb-7sixuh",
              "pod": "db-2027220408993841152-tidb-7sixuh"
            },
            "values": [
              [
                1784602800,
                "31"
              ],
              [
                1784602860,
                "31"
              ],
              [
                1784602920,
                "31"
              ],
              [
                1784602980,
                "31"
              ],
              [
                1784603040,
                "31"
              ],
              [
                1784603100,
                "31"
              ]
            ]
          },
          {
            "metric": {
              "instance": "db-2027220408993841152-tidb-glddbi",
              "pod": "db-2027220408993841152-tidb-glddbi"
            },
            "values": [
              [
                1784602800,
                "31"
              ],
              [
                1784602860,
                "31"
              ],
              [
                1784602920,
                "31"
              ],
              [
                1784602980,
                "31"
              ],
              [
                1784603040,
                "31"
              ],
              [
                1784603100,
                "31"
              ]
            ]
          },
          {
            "metric": {
              "instance": "db-2027220408993841152-tidb-jvlne6",
              "pod": "db-2027220408993841152-tidb-jvlne6"
            },
            "values": [
              [
                1784602800,
                "31"
              ],
              [
                1784602860,
                "31"
              ],
              [
                1784602920,
                "31"
              ],
              [
                1784602980,
                "31"
              ],
              [
                1784603040,
                "31"
              ],
              [
                1784603100,
                "31"
              ]
            ]
          },
          {
            "metric": {
              "instance": "db-2027220408993841152-tidb-krx4fy",
              "pod": "db-2027220408993841152-tidb-krx4fy"
            },
            "values": [
              [
                1784602800,
                "31"
              ],
              [
                1784602860,
                "31"
              ],
              [
                1784602920,
                "31"
              ],
              [
                1784602980,
                "31"
              ],
              [
                1784603040,
                "31"
              ],
              [
                1784603100,
                "31"
              ]
            ]
          },
          {
            "metric": {
              "instance": "db-2027220408993841152-tidb-p1s0s2",
              "pod": "db-2027220408993841152-tidb-p1s0s2"
            },
            "values": [
              [
                1784602800,
                "31"
              ],
              [
                1784602860,
                "31"
              ],
              [
                1784602920,
                "31"
              ],
              [
                1784602980,
                "31"
              ],
              [
                1784603040,
                "31"
              ],
              [
                1784603100,
                "31"
              ]
            ]
          }
        ]
      }
    },
    {
      "id": "tikv_cpu_rate",
      "group": "tikv_cpu_rate",
      "ref": {
        "type": "metric",
        "metric_group_id": "tikv_cpu_rate"
      },
      "metric_group_id": "tikv_cpu_rate",
      "name": "tikv_cpu_rate",
      "promql": "sum by (pod, instance) (rate(process_cpu_seconds_total{component=\"tikv\"}[1m]))",
      "unit": "cores",
      "summary": {
        "point_count": 0,
        "series_count": 0
      },
      "series_summaries": [],
      "time_window": {
        "start": 1784602800,
        "end": 1784603100,
        "step": "60"
      },
      "chart_data_ref": {
        "kind": "promql_range",
        "cluster_id": "10748116073341772391",
        "promql": "sum by (pod, instance) (rate(process_cpu_seconds_total{component=\"tikv\"}[1m]))",
        "start": 1784602800,
        "end": 1784603100,
        "step": "60"
      },
      "chart_data": {
        "name": "tikv_cpu_rate",
        "promql": "sum by (pod, instance) (rate(process_cpu_seconds_total{component=\"tikv\"}[1m]))",
        "result_type": "matrix",
        "series": []
      }
    },
    {
      "id": "tikv_cpu_quota",
      "group": "tikv_cpu_quota",
      "ref": {
        "type": "metric",
        "metric_group_id": "tikv_cpu_quota"
      },
      "metric_group_id": "tikv_cpu_quota",
      "name": "tikv_cpu_quota",
      "promql": "max by (pod, instance) (tikv_server_cpu_cores_quota)",
      "unit": "cores",
      "summary": {
        "point_count": 0,
        "series_count": 0
      },
      "series_summaries": [],
      "time_window": {
        "start": 1784602800,
        "end": 1784603100,
        "step": "60"
      },
      "chart_data_ref": {
        "kind": "promql_range",
        "cluster_id": "10748116073341772391",
        "promql": "max by (pod, instance) (tikv_server_cpu_cores_quota)",
        "start": 1784602800,
        "end": 1784603100,
        "step": "60"
      },
      "chart_data": {
        "name": "tikv_cpu_quota",
        "promql": "max by (pod, instance) (tikv_server_cpu_cores_quota)",
        "result_type": "matrix",
        "series": []
      }
    },
    {
      "id": "pd_cpu_rate",
      "group": "pd_cpu_rate",
      "ref": {
        "type": "metric",
        "metric_group_id": "pd_cpu_rate"
      },
      "metric_group_id": "pd_cpu_rate",
      "name": "pd_cpu_rate",
      "promql": "sum by (pod, instance) (rate(process_cpu_seconds_total{component=\"pd\"}[1m]))",
      "unit": "cores",
      "summary": {
        "point_count": 0,
        "series_count": 0
      },
      "series_summaries": [],
      "time_window": {
        "start": 1784602800,
        "end": 1784603100,
        "step": "60"
      },
      "chart_data_ref": {
        "kind": "promql_range",
        "cluster_id": "10748116073341772391",
        "promql": "sum by (pod, instance) (rate(process_cpu_seconds_total{component=\"pd\"}[1m]))",
        "start": 1784602800,
        "end": 1784603100,
        "step": "60"
      },
      "chart_data": {
        "name": "pd_cpu_rate",
        "promql": "sum by (pod, instance) (rate(process_cpu_seconds_total{component=\"pd\"}[1m]))",
        "result_type": "matrix",
        "series": []
      }
    },
    {
      "id": "pd_cpu_quota",
      "group": "pd_cpu_quota",
      "ref": {
        "type": "metric",
        "metric_group_id": "pd_cpu_quota"
      },
      "metric_group_id": "pd_cpu_quota",
      "name": "pd_cpu_quota",
      "promql": "max by (pod, instance) (pd_service_maxprocs)",
      "unit": "cores",
      "summary": {
        "point_count": 0,
        "series_count": 0
      },
      "series_summaries": [],
      "time_window": {
        "start": 1784602800,
        "end": 1784603100,
        "step": "60"
      },
      "chart_data_ref": {
        "kind": "promql_range",
        "cluster_id": "10748116073341772391",
        "promql": "max by (pod, instance) (pd_service_maxprocs)",
        "start": 1784602800,
        "end": 1784603100,
        "step": "60"
      },
      "chart_data": {
        "name": "pd_cpu_quota",
        "promql": "max by (pod, instance) (pd_service_maxprocs)",
        "result_type": "matrix",
        "series": []
      }
    }
  ]
}
