Skip to content

Commit 45f580c

Browse files
authored
chore(monitor-snapshot/master): update files from upstreams (#513)
1 parent 6efc1d3 commit 45f580c

2 files changed

Lines changed: 118 additions & 0 deletions

File tree

300 Bytes
Binary file not shown.

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

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13892,6 +13892,124 @@
1389213892
"align": false,
1389313893
"alignLevel": null
1389413894
}
13895+
},
13896+
{
13897+
"aliasColors": {},
13898+
"dashLength": 10,
13899+
"datasource": "tidb-cluster",
13900+
"description": "Infoschema cache v2 hit, evict and miss number",
13901+
"fieldConfig": {
13902+
"defaults": {},
13903+
"overrides": []
13904+
},
13905+
"fill": 1,
13906+
"gridPos": {
13907+
"h": 7,
13908+
"w": 12,
13909+
"x": 12,
13910+
"y": 31
13911+
},
13912+
"id": 23763572012,
13913+
"legend": {
13914+
"alignAsTable": true,
13915+
"avg": true,
13916+
"current": true,
13917+
"hideEmpty": false,
13918+
"hideZero": false,
13919+
"max": false,
13920+
"min": false,
13921+
"rightSide": true,
13922+
"show": true,
13923+
"sideWidth": null,
13924+
"total": false,
13925+
"values": true
13926+
},
13927+
"lines": true,
13928+
"linewidth": 2,
13929+
"nullPointMode": "null as zero",
13930+
"options": {
13931+
"alertThreshold": true
13932+
},
13933+
"pluginVersion": "7.5.17",
13934+
"pointradius": 2,
13935+
"renderer": "flot",
13936+
"seriesOverrides": [
13937+
{
13938+
"alias": "hit/(hit+miss)",
13939+
"yaxis": 2
13940+
}
13941+
],
13942+
"spaceLength": 10,
13943+
"targets": [
13944+
{
13945+
"expr": "sum(rate(tidb_domain_infoschema_v2_cache{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}[1m])) by (type)",
13946+
"legendFormat": "{{type}}",
13947+
"interval": "",
13948+
"exemplar": true,
13949+
"format": "time_series",
13950+
"intervalFactor": 2,
13951+
"refId": "A",
13952+
"step": 40
13953+
},
13954+
{
13955+
"expr": "sum(rate(tidb_domain_infoschema_v2_cache{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\", type=\"hit\"}[1m]))/(sum(rate(tidb_domain_infoschema_v2_cache{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\", type=\"hit\"}[1m]))+sum(rate(tidb_domain_infoschema_v2_cache{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\", type=\"miss\"}[1m])))",
13956+
"legendFormat": "hit/(hit+miss)",
13957+
"interval": "",
13958+
"exemplar": true,
13959+
"refId": "B",
13960+
"hide": false
13961+
}
13962+
],
13963+
"thresholds": [],
13964+
"timeRegions": [],
13965+
"title": "Infoschema Cache v2",
13966+
"tooltip": {
13967+
"shared": true,
13968+
"sort": 2,
13969+
"value_type": "individual"
13970+
},
13971+
"type": "graph",
13972+
"xaxis": {
13973+
"buckets": null,
13974+
"mode": "time",
13975+
"name": null,
13976+
"show": true,
13977+
"values": []
13978+
},
13979+
"yaxes": [
13980+
{
13981+
"$$hashKey": "object:80",
13982+
"format": "short",
13983+
"label": null,
13984+
"logBase": 1,
13985+
"max": null,
13986+
"min": 0,
13987+
"show": true
13988+
},
13989+
{
13990+
"$$hashKey": "object:81",
13991+
"format": "percentunit",
13992+
"label": "",
13993+
"logBase": 1,
13994+
"max": "1",
13995+
"min": "0",
13996+
"show": true
13997+
}
13998+
],
13999+
"yaxis": {
14000+
"align": false,
14001+
"alignLevel": null
14002+
},
14003+
"bars": false,
14004+
"dashes": false,
14005+
"fillGradient": 0,
14006+
"hiddenSeries": false,
14007+
"percentage": false,
14008+
"points": false,
14009+
"stack": false,
14010+
"steppedLine": false,
14011+
"timeFrom": null,
14012+
"timeShift": null
1389514013
}
1389614014
],
1389714015
"repeat": null,

0 commit comments

Comments
 (0)