Skip to content

Commit 1d6de38

Browse files
authored
chore(monitor-snapshot/master): update files from upstreams (#1043)
1 parent e1cd2e4 commit 1d6de38

2 files changed

Lines changed: 303 additions & 0 deletions

File tree

563 Bytes
Binary file not shown.

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

Lines changed: 303 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27441,6 +27441,309 @@
2744127441
],
2744227442
"title": "Memory Arbitrator",
2744327443
"type": "row"
27444+
},
27445+
{
27446+
"collapse": true,
27447+
"collapsed": true,
27448+
"gridPos": {
27449+
"h": 1,
27450+
"w": 24,
27451+
"x": 0,
27452+
"y": 25
27453+
},
27454+
"id": 23763573020,
27455+
"panels": [
27456+
{
27457+
"aliasColors": {},
27458+
"dashLength": 10,
27459+
"datasource": "tidb-cluster",
27460+
"description": "Current MV service and task executor counts by status type.",
27461+
"fill": 1,
27462+
"gridPos": {
27463+
"h": 7,
27464+
"w": 12,
27465+
"x": 0,
27466+
"y": 0
27467+
},
27468+
"id": 23763573021,
27469+
"legend": {
27470+
"alignAsTable": false,
27471+
"avg": false,
27472+
"current": false,
27473+
"hideEmpty": true,
27474+
"hideZero": true,
27475+
"max": false,
27476+
"min": false,
27477+
"rightSide": false,
27478+
"show": true,
27479+
"total": false,
27480+
"values": false
27481+
},
27482+
"lines": true,
27483+
"linewidth": 1,
27484+
"links": [],
27485+
"nullPointMode": "null",
27486+
"options": {
27487+
"alertThreshold": false
27488+
},
27489+
"pointradius": 5,
27490+
"renderer": "flot",
27491+
"seriesOverrides": [],
27492+
"spaceLength": 10,
27493+
"targets": [
27494+
{
27495+
"expr": "sum(tidb_mv_service_task_status{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}) by (type)",
27496+
"format": "time_series",
27497+
"intervalFactor": 2,
27498+
"legendFormat": "{{type}}",
27499+
"refId": "A"
27500+
}
27501+
],
27502+
"thresholds": [],
27503+
"timeRegions": [],
27504+
"title": "MV Service Task Status",
27505+
"tooltip": {
27506+
"shared": true,
27507+
"sort": 0,
27508+
"value_type": "individual"
27509+
},
27510+
"type": "graph",
27511+
"xaxis": {
27512+
"buckets": null,
27513+
"mode": "time",
27514+
"name": null,
27515+
"show": true,
27516+
"values": []
27517+
},
27518+
"yaxes": [
27519+
{
27520+
"format": "short",
27521+
"logBase": 2,
27522+
"show": true,
27523+
"$$hashKey": "object:83",
27524+
"min": "0",
27525+
"decimals": 0
27526+
},
27527+
{
27528+
"format": "short",
27529+
"logBase": 1,
27530+
"show": false,
27531+
"$$hashKey": "object:84"
27532+
}
27533+
],
27534+
"yaxis": {
27535+
"align": false
27536+
},
27537+
"stack": false,
27538+
"bars": false,
27539+
"dashes": false,
27540+
"fillGradient": 0,
27541+
"hiddenSeries": false,
27542+
"percentage": false,
27543+
"points": false,
27544+
"steppedLine": false,
27545+
"timeFrom": null,
27546+
"timeShift": null
27547+
},
27548+
{
27549+
"aliasColors": {},
27550+
"bars": false,
27551+
"dashLength": 10,
27552+
"dashes": false,
27553+
"datasource": "tidb-cluster",
27554+
"description": "MV service scheduler and task executor events per second by type.",
27555+
"fill": 1,
27556+
"fillGradient": 0,
27557+
"gridPos": {
27558+
"h": 7,
27559+
"w": 12,
27560+
"x": 12,
27561+
"y": 0
27562+
},
27563+
"hiddenSeries": false,
27564+
"id": 23763573022,
27565+
"legend": {
27566+
"alignAsTable": false,
27567+
"avg": false,
27568+
"current": false,
27569+
"hideEmpty": true,
27570+
"hideZero": false,
27571+
"max": false,
27572+
"min": false,
27573+
"rightSide": false,
27574+
"show": true,
27575+
"total": false,
27576+
"values": false
27577+
},
27578+
"lines": true,
27579+
"linewidth": 1,
27580+
"links": [],
27581+
"nullPointMode": "null",
27582+
"options": {
27583+
"alertThreshold": false
27584+
},
27585+
"percentage": false,
27586+
"pointradius": 5,
27587+
"points": false,
27588+
"renderer": "flot",
27589+
"seriesOverrides": [],
27590+
"spaceLength": 10,
27591+
"stack": false,
27592+
"steppedLine": false,
27593+
"targets": [
27594+
{
27595+
"expr": "sum(rate(tidb_mv_service_run_event_total{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}[1m])) by (type)",
27596+
"format": "time_series",
27597+
"intervalFactor": 2,
27598+
"legendFormat": "{{type}}",
27599+
"refId": "A"
27600+
}
27601+
],
27602+
"thresholds": [],
27603+
"timeRegions": [],
27604+
"timeFrom": null,
27605+
"timeShift": null,
27606+
"title": "MV Service Run Events OPS",
27607+
"tooltip": {
27608+
"shared": true,
27609+
"sort": 0,
27610+
"value_type": "individual"
27611+
},
27612+
"type": "graph",
27613+
"xaxis": {
27614+
"buckets": null,
27615+
"mode": "time",
27616+
"name": null,
27617+
"show": true,
27618+
"values": []
27619+
},
27620+
"yaxes": [
27621+
{
27622+
"format": "short",
27623+
"logBase": 2,
27624+
"show": true,
27625+
"$$hashKey": "object:194"
27626+
},
27627+
{
27628+
"format": "short",
27629+
"logBase": 1,
27630+
"show": false,
27631+
"$$hashKey": "object:195"
27632+
}
27633+
],
27634+
"yaxis": {
27635+
"align": false
27636+
}
27637+
},
27638+
{
27639+
"aliasColors": {},
27640+
"bars": false,
27641+
"dashLength": 10,
27642+
"dashes": false,
27643+
"datasource": "tidb-cluster",
27644+
"description": "MV service operation duration for successful and failed operations by type.",
27645+
"fill": 1,
27646+
"fillGradient": 0,
27647+
"gridPos": {
27648+
"h": 7,
27649+
"w": 12,
27650+
"x": 0,
27651+
"y": 7
27652+
},
27653+
"hiddenSeries": false,
27654+
"id": 23763573023,
27655+
"legend": {
27656+
"alignAsTable": false,
27657+
"avg": false,
27658+
"current": false,
27659+
"hideEmpty": true,
27660+
"max": false,
27661+
"min": false,
27662+
"rightSide": false,
27663+
"show": true,
27664+
"total": false,
27665+
"values": false
27666+
},
27667+
"lines": true,
27668+
"linewidth": 1,
27669+
"links": [],
27670+
"nullPointMode": "null",
27671+
"options": {
27672+
"alertThreshold": false
27673+
},
27674+
"percentage": false,
27675+
"pointradius": 5,
27676+
"points": false,
27677+
"renderer": "flot",
27678+
"seriesOverrides": [],
27679+
"spaceLength": 10,
27680+
"stack": false,
27681+
"steppedLine": false,
27682+
"targets": [
27683+
{
27684+
"exemplar": true,
27685+
"expr": "histogram_quantile(0.999, sum(rate(tidb_mv_service_operation_duration_seconds_bucket{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\", result=\"success\"}[1m])) by (le, type))",
27686+
"format": "time_series",
27687+
"interval": "",
27688+
"intervalFactor": 2,
27689+
"legendFormat": "{{type}}-success",
27690+
"refId": "A"
27691+
},
27692+
{
27693+
"exemplar": true,
27694+
"expr": "histogram_quantile(0.999, sum(rate(tidb_mv_service_operation_duration_seconds_bucket{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\", result=\"failed\"}[1m])) by (le, type))",
27695+
"format": "time_series",
27696+
"hide": false,
27697+
"interval": "",
27698+
"intervalFactor": 2,
27699+
"legendFormat": "{{type}}-failed",
27700+
"refId": "B"
27701+
}
27702+
],
27703+
"thresholds": [],
27704+
"timeRegions": [],
27705+
"timeFrom": null,
27706+
"timeShift": null,
27707+
"title": "MV Operation Duration",
27708+
"tooltip": {
27709+
"shared": true,
27710+
"sort": 0,
27711+
"value_type": "individual"
27712+
},
27713+
"type": "graph",
27714+
"xaxis": {
27715+
"buckets": null,
27716+
"mode": "time",
27717+
"name": null,
27718+
"show": true,
27719+
"values": []
27720+
},
27721+
"yaxes": [
27722+
{
27723+
"format": "s",
27724+
"logBase": 2,
27725+
"show": true,
27726+
"$$hashKey": "object:621"
27727+
},
27728+
{
27729+
"format": "s",
27730+
"logBase": 1,
27731+
"show": false,
27732+
"$$hashKey": "object:622"
27733+
}
27734+
],
27735+
"yaxis": {
27736+
"align": false
27737+
}
27738+
}
27739+
],
27740+
"repeat": null,
27741+
"repeatIteration": null,
27742+
"repeatRowId": null,
27743+
"showTitle": true,
27744+
"title": "Materialized View",
27745+
"titleSize": "h6",
27746+
"type": "row"
2744427747
}
2744527748
],
2744627749
"refresh": "30s",

0 commit comments

Comments
 (0)