Skip to content

Commit 82fe23c

Browse files
authored
chore(monitor-snapshot/master): update files from upstreams (#919)
1 parent bab9d08 commit 82fe23c

File tree

2 files changed

+12
-118
lines changed

2 files changed

+12
-118
lines changed
-204 Bytes
Binary file not shown.

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

Lines changed: 12 additions & 118 deletions
Original file line numberDiff line numberDiff line change
@@ -1922,7 +1922,7 @@
19221922
"steppedLine": false,
19231923
"targets": [
19241924
{
1925-
"expr": "process_resident_memory_bytes{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\",job=~\".*(pd|tso|scheduling).*\"}",
1925+
"expr": "process_resident_memory_bytes{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", job=~\".*(pd|tso|scheduling).*\"}",
19261926
"format": "time_series",
19271927
"hide": false,
19281928
"interval": "",
@@ -1932,49 +1932,49 @@
19321932
"step": 4
19331933
},
19341934
{
1935-
"expr": "go_memstats_heap_sys_bytes{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\",job=~\".*(pd|tso|scheduling).*\"}",
1935+
"expr": "go_memstats_heap_sys_bytes{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", job=~\".*(pd|tso|scheduling).*\"}",
19361936
"hide": true,
19371937
"interval": "",
19381938
"legendFormat": "HeapSys-{{job}}-{{instance}}",
19391939
"refId": "B"
19401940
},
19411941
{
1942-
"expr": "go_memstats_heap_inuse_bytes{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\",job=~\".*(pd|tso|scheduling).*\"}",
1942+
"expr": "go_memstats_heap_inuse_bytes{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", job=~\".*(pd|tso|scheduling).*\"}",
19431943
"hide": false,
19441944
"interval": "",
19451945
"legendFormat": "HeapInuse-{{job}}-{{instance}}",
19461946
"refId": "C"
19471947
},
19481948
{
1949-
"expr": "go_memstats_heap_alloc_bytes{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\",job=~\".*(pd|tso|scheduling).*\"}",
1949+
"expr": "go_memstats_heap_alloc_bytes{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", job=~\".*(pd|tso|scheduling).*\"}",
19501950
"hide": true,
19511951
"interval": "",
19521952
"legendFormat": "HeapAlloc-{{job}}-{{instance}}",
19531953
"refId": "D"
19541954
},
19551955
{
1956-
"expr": "go_memstats_heap_idle_bytes{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\",job=~\".*(pd|tso|scheduling).*\"}",
1956+
"expr": "go_memstats_heap_idle_bytes{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", job=~\".*(pd|tso|scheduling).*\"}",
19571957
"hide": true,
19581958
"interval": "",
19591959
"legendFormat": "HeapIdle-{{job}}-{{instance}}",
19601960
"refId": "E"
19611961
},
19621962
{
1963-
"expr": "go_memstats_heap_released_bytes{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\",job=~\".*(pd|tso|scheduling).*\"}",
1963+
"expr": "go_memstats_heap_released_bytes{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", job=~\".*(pd|tso|scheduling).*\"}",
19641964
"hide": true,
19651965
"interval": "",
19661966
"legendFormat": "HeapReleased-{{job}}-{{instance}}",
19671967
"refId": "F"
19681968
},
19691969
{
1970-
"expr": "go_memstats_next_gc_bytes{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\",job=~\".*(pd|tso|scheduling).*\"}",
1970+
"expr": "go_memstats_next_gc_bytes{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", job=~\".*(pd|tso|scheduling).*\"}",
19711971
"hide": true,
19721972
"interval": "",
19731973
"legendFormat": "GCTrigger-{{job}}-{{instance}}",
19741974
"refId": "G"
19751975
},
19761976
{
1977-
"expr": "pd_service_memory_quota_bytes{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\",job=~\".*pd.*\"}",
1977+
"expr": "pd_service_memory_quota_bytes{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", job=~\".*(pd|tso|scheduling).*\"}",
19781978
"hide": false,
19791979
"interval": "",
19801980
"legendFormat": "quota-{{job}}-{{instance}}",
@@ -2289,7 +2289,7 @@
22892289
"tableColumn": "tso",
22902290
"targets": [
22912291
{
2292-
"expr": "max(pd_cluster_tso{type=\"tso\", dc=\"global\"})by(type)",
2292+
"expr": "max(pd_cluster_tso{type=\"tso\"})by(type)",
22932293
"format": "time_series",
22942294
"instant": true,
22952295
"interval": "",
@@ -2592,7 +2592,7 @@
25922592
"tableColumn": "tso",
25932593
"targets": [
25942594
{
2595-
"expr": "max(pd_cluster_tso{type=\"tso\", dc=\"global\"})by(type)",
2595+
"expr": "max(pd_cluster_tso{type=\"tso\"})by(type)",
25962596
"format": "time_series",
25972597
"instant": true,
25982598
"interval": "",
@@ -4587,112 +4587,6 @@
45874587
"alignLevel": null
45884588
}
45894589
},
4590-
{
4591-
"aliasColors": {},
4592-
"bars": false,
4593-
"dashLength": 10,
4594-
"dashes": false,
4595-
"datasource": "tidb-cluster",
4596-
"decimals": 3,
4597-
"description": "The witness count of each TiKV instance",
4598-
"fieldConfig": {
4599-
"defaults": {},
4600-
"overrides": []
4601-
},
4602-
"fill": 0,
4603-
"fillGradient": 0,
4604-
"gridPos": {
4605-
"h": 6,
4606-
"w": 12,
4607-
"x": 12,
4608-
"y": 111
4609-
},
4610-
"hiddenSeries": false,
4611-
"id": 411,
4612-
"legend": {
4613-
"alignAsTable": true,
4614-
"avg": false,
4615-
"current": true,
4616-
"hideEmpty": true,
4617-
"hideZero": true,
4618-
"max": true,
4619-
"min": false,
4620-
"rightSide": true,
4621-
"show": true,
4622-
"sortDesc": true,
4623-
"total": false,
4624-
"values": true
4625-
},
4626-
"lines": true,
4627-
"linewidth": 2,
4628-
"links": [],
4629-
"nullPointMode": "null",
4630-
"options": {
4631-
"alertThreshold": true
4632-
},
4633-
"paceLength": 10,
4634-
"percentage": false,
4635-
"pluginVersion": "7.5.11",
4636-
"pointradius": 5,
4637-
"points": false,
4638-
"renderer": "flot",
4639-
"seriesOverrides": [],
4640-
"spaceLength": 10,
4641-
"stack": false,
4642-
"steppedLine": false,
4643-
"targets": [
4644-
{
4645-
"exemplar": true,
4646-
"expr": "pd_scheduler_store_status{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", store=~\"$store\", type=\"witness_count\"}",
4647-
"format": "time_series",
4648-
"interval": "",
4649-
"intervalFactor": 2,
4650-
"legendFormat": "{{address}}-store-{{store}}",
4651-
"refId": "A",
4652-
"step": 4
4653-
}
4654-
],
4655-
"thresholds": [],
4656-
"timeFrom": null,
4657-
"timeRegions": [],
4658-
"timeShift": null,
4659-
"title": "Store witness count",
4660-
"tooltip": {
4661-
"shared": true,
4662-
"sort": 0,
4663-
"value_type": "individual"
4664-
},
4665-
"type": "graph",
4666-
"xaxis": {
4667-
"buckets": null,
4668-
"mode": "time",
4669-
"name": null,
4670-
"show": true,
4671-
"values": []
4672-
},
4673-
"yaxes": [
4674-
{
4675-
"format": "short",
4676-
"label": null,
4677-
"logBase": 1,
4678-
"max": null,
4679-
"min": null,
4680-
"show": true
4681-
},
4682-
{
4683-
"format": "short",
4684-
"label": null,
4685-
"logBase": 1,
4686-
"max": null,
4687-
"min": null,
4688-
"show": false
4689-
}
4690-
],
4691-
"yaxis": {
4692-
"align": false,
4693-
"alignLevel": null
4694-
}
4695-
},
46964590
{
46974591
"aliasColors": {},
46984592
"bars": false,
@@ -7862,7 +7756,7 @@
78627756
"steppedLine": false,
78637757
"targets": [
78647758
{
7865-
"expr": "sum(rate(pd_schedule_source_filter{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", store=~\"$store\", action=\"filter-source\", type!=\"store-state-tombstone-filter\"}[1m])*60) by (source, type, scope)",
7759+
"expr": "sum(rate(pd_schedule_source_filter{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", store=~\"$store\", type!=\"store-state-tombstone-filter\"}[1m])*60) by (source, type, scope)",
78667760
"format": "time_series",
78677761
"intervalFactor": 2,
78687762
"legendFormat": "{{scope}}-store-{{source}}-{{type}}",
@@ -7957,7 +7851,7 @@
79577851
"steppedLine": false,
79587852
"targets": [
79597853
{
7960-
"expr": "sum(rate(pd_schedule_target_filter{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", store=~\"$store\", action=\"filter-target\", type!=\"store-state-tombstone-filter\"}[1m])*60) by (target, type, scope)",
7854+
"expr": "sum(rate(pd_schedule_target_filter{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", store=~\"$store\", type!=\"store-state-tombstone-filter\"}[1m])*60) by (target, type, scope)",
79617855
"format": "time_series",
79627856
"intervalFactor": 2,
79637857
"legendFormat": "{{scope}}-store-{{target}}-{{type}}",

0 commit comments

Comments
 (0)