Skip to content

Commit

Permalink
Split write and ingest throughput
Browse files Browse the repository at this point in the history
Signed-off-by: JaySon-Huang <[email protected]>
  • Loading branch information
JaySon-Huang committed Mar 14, 2022
1 parent 93060e8 commit b740b7a
Showing 1 changed file with 80 additions and 10 deletions.
90 changes: 80 additions & 10 deletions metrics/grafana/tiflash_summary.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "6.1.6"
"version": "7.5.11"
},
{
"type": "panel",
Expand Down Expand Up @@ -52,11 +52,12 @@
"gnetId": null,
"graphTooltip": 1,
"id": null,
"iteration": 1631518930264,
"iteration": 1647230387563,
"links": [],
"panels": [
{
"collapsed": true,
"datasource": null,
"gridPos": {
"h": 1,
"w": 24,
Expand Down Expand Up @@ -1035,6 +1036,7 @@
},
{
"collapsed": true,
"datasource": null,
"gridPos": {
"h": 1,
"w": 24,
Expand Down Expand Up @@ -2205,6 +2207,7 @@
},
{
"collapsed": true,
"datasource": null,
"gridPos": {
"h": 1,
"w": 24,
Expand Down Expand Up @@ -2637,6 +2640,7 @@
},
{
"collapsed": true,
"datasource": null,
"gridPos": {
"h": 1,
"w": 24,
Expand Down Expand Up @@ -4467,6 +4471,7 @@
},
{
"collapsed": true,
"datasource": null,
"gridPos": {
"h": 1,
"w": 24,
Expand All @@ -4483,14 +4488,20 @@
"datasource": "${DS_TEST-CLUSTER}",
"decimals": 1,
"description": "The throughput of write and delta's background management",
"fieldConfig": {
"defaults": {},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 24,
"x": 0,
"y": 5
},
"height": "",
"hiddenSeries": false,
"id": 70,
"legend": {
"alignAsTable": true,
Expand All @@ -4512,7 +4523,11 @@
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.5.11",
"pointradius": 5,
"points": false,
"renderer": "flot",
Expand All @@ -4528,11 +4543,13 @@
"steppedLine": false,
"targets": [
{
"exemplar": true,
"expr": "sum(rate(tiflash_storage_throughput_bytes{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\", type=~\"write|ingest\"}[1m]))",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "throughput_write",
"legendFormat": "throughput_write+ingest",
"refId": "A",
"step": 10
},
Expand All @@ -4544,10 +4561,12 @@
"refId": "B"
},
{
"exemplar": true,
"expr": "sum(tiflash_storage_throughput_bytes{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\", type=~\"write|ingest\"})",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "total_write",
"legendFormat": "total_write+ingest",
"refId": "C"
},
{
Expand Down Expand Up @@ -4606,13 +4625,19 @@
"dashes": false,
"datasource": "${DS_TEST-CLUSTER}",
"description": "The stall duration of write and delete range",
"fieldConfig": {
"defaults": {},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 14
},
"hiddenSeries": false,
"id": 62,
"legend": {
"alignAsTable": true,
Expand All @@ -4629,7 +4654,11 @@
"linewidth": 1,
"links": [],
"nullPointMode": "null as zero",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.5.11",
"pointradius": 5,
"points": false,
"renderer": "flot",
Expand Down Expand Up @@ -4708,14 +4737,20 @@
"datasource": "${DS_TEST-CLUSTER}",
"decimals": 1,
"description": "The throughput of write by instance",
"fieldConfig": {
"defaults": {},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 24,
"x": 0,
"y": 22
},
"height": "",
"hiddenSeries": false,
"id": 89,
"legend": {
"alignAsTable": true,
Expand All @@ -4737,7 +4772,11 @@
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.5.11",
"pointradius": 5,
"points": false,
"renderer": "flot",
Expand All @@ -4753,13 +4792,23 @@
"steppedLine": false,
"targets": [
{
"expr": "sum(rate(tiflash_storage_throughput_bytes{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\", type=~\"write|ingest\"}[1m])) by (instance)",
"exemplar": true,
"expr": "sum(rate(tiflash_storage_throughput_bytes{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\", type=~\"write\"}[1m])) by (instance)",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "throughput_write-{{instance}}",
"refId": "A",
"step": 10
},
{
"exemplar": true,
"expr": "sum(rate(tiflash_storage_throughput_bytes{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\", type=~\"ingest\"}[1m])) by (instance)",
"hide": false,
"interval": "",
"legendFormat": "throughput_ingest-{{instance}}",
"refId": "B"
}
],
"thresholds": [],
Expand Down Expand Up @@ -4810,13 +4859,19 @@
"dashes": false,
"datasource": "${DS_TEST-CLUSTER}",
"description": "The total count of different kinds of commands received",
"fieldConfig": {
"defaults": {},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 24,
"x": 0,
"y": 31
},
"hiddenSeries": false,
"id": 90,
"legend": {
"alignAsTable": true,
Expand All @@ -4833,7 +4888,11 @@
"linewidth": 1,
"links": [],
"nullPointMode": "null as zero",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.5.11",
"pointradius": 5,
"points": false,
"renderer": "flot",
Expand Down Expand Up @@ -4912,6 +4971,7 @@
},
{
"collapsed": true,
"datasource": null,
"gridPos": {
"h": 1,
"w": 24,
Expand Down Expand Up @@ -6222,6 +6282,7 @@
},
{
"collapsed": true,
"datasource": null,
"gridPos": {
"h": 1,
"w": 24,
Expand Down Expand Up @@ -6450,8 +6511,8 @@
"type": "row"
}
],
"refresh": "30s",
"schemaVersion": 18,
"refresh": false,
"schemaVersion": 27,
"style": "dark",
"tags": [],
"templating": {
Expand All @@ -6469,7 +6530,10 @@
"multi": false,
"name": "k8s_cluster",
"options": [],
"query": "label_values(tiflash_system_profile_event_Query, k8s_cluster)",
"query": {
"query": "label_values(tiflash_system_profile_event_Query, k8s_cluster)",
"refId": "j2-k8s_cluster-Variable-Query"
},
"refresh": 2,
"regex": "",
"skipUrlSync": false,
Expand All @@ -6493,7 +6557,10 @@
"multi": false,
"name": "tidb_cluster",
"options": [],
"query": "label_values(tiflash_system_profile_event_Query{k8s_cluster=\"$k8s_cluster\"}, tidb_cluster)",
"query": {
"query": "label_values(tiflash_system_profile_event_Query{k8s_cluster=\"$k8s_cluster\"}, tidb_cluster)",
"refId": "j2-tidb_cluster-Variable-Query"
},
"refresh": 2,
"regex": "",
"skipUrlSync": false,
Expand All @@ -6517,7 +6584,10 @@
"multi": true,
"name": "instance",
"options": [],
"query": "label_values(tiflash_system_profile_event_Query{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\"}, instance)",
"query": {
"query": "label_values(tiflash_system_profile_event_Query{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\"}, instance)",
"refId": "j2-instance-Variable-Query"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
Expand Down

0 comments on commit b740b7a

Please sign in to comment.