Skip to content

Commit 8498d31

Browse files
authored
chore(monitor-snapshot/master): update files from upstreams (#995)
1 parent 4b8b116 commit 8498d31

File tree

4 files changed

+309
-31
lines changed

4 files changed

+309
-31
lines changed
372 Bytes
Binary file not shown.

monitor-snapshot/master/operator/dashboards/tici_meta.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"steppedLine": false,
6565
"targets": [
6666
{
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\"}",
6868
"format": "time_series",
6969
"intervalFactor": 2,
7070
"legendFormat": "{{instance}}",
@@ -150,7 +150,7 @@
150150
"steppedLine": false,
151151
"targets": [
152152
{
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])",
154154
"format": "time_series",
155155
"intervalFactor": 2,
156156
"legendFormat": "{{instance}}",
@@ -236,7 +236,7 @@
236236
"steppedLine": false,
237237
"targets": [
238238
{
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\"}",
240240
"format": "time_series",
241241
"intervalFactor": 2,
242242
"legendFormat": "{{instance}}",
@@ -1703,7 +1703,7 @@
17031703
"multi": false,
17041704
"name": "tidb_cluster",
17051705
"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)",
17071707
"refresh": 2,
17081708
"regex": "",
17091709
"sort": 1,
@@ -1714,7 +1714,7 @@
17141714
"useTags": false
17151715
},
17161716
{
1717-
"allValue": ".*",
1717+
"allValue": "tici-meta-.+",
17181718
"current": { },
17191719
"datasource": "tidb-cluster",
17201720
"hide": 0,
@@ -1723,7 +1723,7 @@
17231723
"multi": false,
17241724
"name": "instance",
17251725
"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)",
17271727
"refresh": 1,
17281728
"regex": "",
17291729
"sort": 1,

0 commit comments

Comments
 (0)