|
64 | 64 | "steppedLine": false, |
65 | 65 | "targets": [ |
66 | 66 | { |
67 | | - "expr": "time() - process_start_time_seconds{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\", job=\"tici-meta\"}", |
| 67 | + "expr": "time() - process_start_time_seconds{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}", |
68 | 68 | "format": "time_series", |
69 | 69 | "intervalFactor": 2, |
70 | 70 | "legendFormat": "{{instance}}", |
|
150 | 150 | "steppedLine": false, |
151 | 151 | "targets": [ |
152 | 152 | { |
153 | | - "expr": "rate(process_cpu_seconds_total{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\", job=\"tici-meta\"}[1m])", |
| 153 | + "expr": "rate(process_cpu_seconds_total{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}[1m])", |
154 | 154 | "format": "time_series", |
155 | 155 | "intervalFactor": 2, |
156 | 156 | "legendFormat": "{{instance}}", |
|
236 | 236 | "steppedLine": false, |
237 | 237 | "targets": [ |
238 | 238 | { |
239 | | - "expr": "process_resident_memory_bytes{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\", job=\"tici-meta\"}", |
| 239 | + "expr": "process_resident_memory_bytes{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}", |
240 | 240 | "format": "time_series", |
241 | 241 | "intervalFactor": 2, |
242 | 242 | "legendFormat": "{{instance}}", |
|
1703 | 1703 | "multi": false, |
1704 | 1704 | "name": "tidb_cluster", |
1705 | 1705 | "options": [ ], |
1706 | | - "query": "label_values(pd_cluster_status{k8s_cluster=\"$kuberentes\"}, tidb_cluster)", |
| 1706 | + "query": "label_values(pd_cluster_status{k8s_cluster=\"$k8s_cluster\"}, tidb_cluster)", |
1707 | 1707 | "refresh": 2, |
1708 | 1708 | "regex": "", |
1709 | 1709 | "sort": 1, |
|
1714 | 1714 | "useTags": false |
1715 | 1715 | }, |
1716 | 1716 | { |
1717 | | - "allValue": ".*", |
| 1717 | + "allValue": "tici-meta-.+", |
1718 | 1718 | "current": { }, |
1719 | 1719 | "datasource": "tidb-cluster", |
1720 | 1720 | "hide": 0, |
|
1723 | 1723 | "multi": false, |
1724 | 1724 | "name": "instance", |
1725 | 1725 | "options": [ ], |
1726 | | - "query": "label_values(up{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", job=\"tici-meta\"}, instance)", |
| 1726 | + "query": "label_values(up{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"tici-meta-.+\"}, instance)", |
1727 | 1727 | "refresh": 1, |
1728 | 1728 | "regex": "", |
1729 | 1729 | "sort": 1, |
|
0 commit comments