Browse Source

Updated Galera (MySQL) dashboard to align with recent rules

Change-Id: I378af86d73e7be856abaff677e62bb9407dc8a8b
Related-Bug: PROD-20879
master
Mateusz Matuszkowiak 6 years ago
parent
commit
025791407a
1 changed files with 92 additions and 59 deletions
  1. +92
    -59
      galera/files/grafana_dashboards/mysql_prometheus.json

+ 92
- 59
galera/files/grafana_dashboards/mysql_prometheus.json View File

"annotations": { "annotations": {
"list": [ "list": [
{ {
"$$hashKey": "object:84",
"$$hashKey": "object:11238",
"builtIn": 1, "builtIn": 1,
"datasource": "prometheus", "datasource": "prometheus",
"enable": true, "enable": true,
"gnetId": null, "gnetId": null,
"graphTooltip": 0, "graphTooltip": 0,
"id": null, "id": null,
"iteration": 1529417287923,
"iteration": 1529573943307,
"links": [], "links": [],
"panels": [ "panels": [
{ {
"rgba(237, 129, 40, 0.89)", "rgba(237, 129, 40, 0.89)",
"#299c46" "#299c46"
], ],
"datasource": "prometheus",
"datasource": null,
"format": "none", "format": "none",
"gauge": { "gauge": {
"maxValue": 100, "maxValue": 100,
"mappingType": 1, "mappingType": 1,
"mappingTypes": [ "mappingTypes": [
{ {
"$$hashKey": "object:11615",
"name": "value to text", "name": "value to text",
"value": 1 "value": 1
}, },
{ {
"$$hashKey": "object:11616",
"name": "range to text", "name": "range to text",
"value": 2 "value": 2
} }
"maxDataPoints": 100, "maxDataPoints": 100,
"nullPointMode": "connected", "nullPointMode": "connected",
"nullText": null, "nullText": null,
"postfix": "% Up",
"postfix": "% UP",
"postfixFontSize": "50%", "postfixFontSize": "50%",
"prefix": "", "prefix": "",
"prefixFontSize": "50%", "prefixFontSize": "50%",
"tableColumn": "", "tableColumn": "",
"targets": [ "targets": [
{ {
"$$hashKey": "object:11579",
"expr": "100 * sum(mysql_up)/count(mysql_up)", "expr": "100 * sum(mysql_up)/count(mysql_up)",
"format": "time_series", "format": "time_series",
"intervalFactor": 2, "intervalFactor": 2,
"valueFontSize": "80%", "valueFontSize": "80%",
"valueMaps": [ "valueMaps": [
{ {
"$$hashKey": "object:11618",
"op": "=", "op": "=",
"text": "N/A", "text": "N/A",
"value": "null" "value": "null"
}, },
{ {
"$$hashKey": "object:11619",
"op": "=", "op": "=",
"text": "OK", "text": "OK",
"value": "3" "value": "3"
}, },
{ {
"$$hashKey": "object:11620",
"op": "=", "op": "=",
"text": "WARNING", "text": "WARNING",
"value": "2" "value": "2"
}, },
{ {
"$$hashKey": "object:11621",
"op": "=", "op": "=",
"text": "FAIL", "text": "FAIL",
"value": "1" "value": "1"
}, },
{ {
"$$hashKey": "object:11622",
"op": "=", "op": "=",
"text": "FAIL", "text": "FAIL",
"value": "0" "value": "0"
"rgba(237, 129, 40, 0.89)", "rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)" "rgba(50, 172, 45, 0.97)"
], ],
"datasource": "prometheus",
"datasource": null,
"description": "Displays the number of nodes in the cluster.", "description": "Displays the number of nodes in the cluster.",
"format": "none", "format": "none",
"gauge": { "gauge": {
"bars": false, "bars": false,
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": "prometheus",
"datasource": null,
"decimals": 0, "decimals": 0,
"fill": 1, "fill": 1,
"gridPos": { "gridPos": {
"legend": { "legend": {
"alignAsTable": true, "alignAsTable": true,
"avg": false, "avg": false,
"current": true,
"current": false,
"hideEmpty": false, "hideEmpty": false,
"hideZero": false, "hideZero": false,
"max": false, "max": false,
"rightSide": true, "rightSide": true,
"show": true, "show": true,
"total": false, "total": false,
"values": true
"values": false
}, },
"lines": true, "lines": true,
"linewidth": 1, "linewidth": 1,
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"$$hashKey": "object:11352",
"expr": "mysql_up{host=~\"$host\"}", "expr": "mysql_up{host=~\"$host\"}",
"format": "time_series", "format": "time_series",
"intervalFactor": 1,
"intervalFactor": 2,
"legendFormat": "{{host}}", "legendFormat": "{{host}}",
"refId": "A" "refId": "A"
} }
}, },
"yaxes": [ "yaxes": [
{ {
"$$hashKey": "object:11380",
"decimals": 0, "decimals": 0,
"format": "short", "format": "short",
"label": null, "label": null,
"show": true "show": true
}, },
{ {
"$$hashKey": "object:11381",
"decimals": null, "decimals": null,
"format": "short", "format": "short",
"label": null, "label": null,
"rgba(237, 129, 40, 0.89)", "rgba(237, 129, 40, 0.89)",
"#299c46" "#299c46"
], ],
"datasource": "prometheus",
"datasource": null,
"format": "none", "format": "none",
"gauge": { "gauge": {
"maxValue": 100, "maxValue": 100,
"mappingType": 1, "mappingType": 1,
"mappingTypes": [ "mappingTypes": [
{ {
"$$hashKey": "object:11665",
"name": "value to text", "name": "value to text",
"value": 1 "value": 1
}, },
{ {
"$$hashKey": "object:11666",
"name": "range to text", "name": "range to text",
"value": 2 "value": 2
} }
"repeatDirection": "h", "repeatDirection": "h",
"scopedVars": { "scopedVars": {
"host": { "host": {
"$$hashKey": "object:11638",
"selected": false, "selected": false,
"text": "dbs01", "text": "dbs01",
"value": "dbs01" "value": "dbs01"
"valueFontSize": "80%", "valueFontSize": "80%",
"valueMaps": [ "valueMaps": [
{ {
"$$hashKey": "object:11668",
"op": "=", "op": "=",
"text": "N/A", "text": "N/A",
"value": "null" "value": "null"
}, },
{ {
"$$hashKey": "object:11669",
"op": "=", "op": "=",
"text": "Fail",
"text": "FAIL",
"value": "0" "value": "0"
}, },
{ {
"$$hashKey": "object:11670",
"op": "=", "op": "=",
"text": "OK", "text": "OK",
"value": "1" "value": "1"
"rgba(237, 129, 40, 0.89)", "rgba(237, 129, 40, 0.89)",
"#299c46" "#299c46"
], ],
"datasource": "prometheus",
"datasource": null,
"format": "none", "format": "none",
"gauge": { "gauge": {
"maxValue": 100, "maxValue": 100,
"mappingType": 1, "mappingType": 1,
"mappingTypes": [ "mappingTypes": [
{ {
"$$hashKey": "object:11665",
"name": "value to text", "name": "value to text",
"value": 1 "value": 1
}, },
{ {
"$$hashKey": "object:11666",
"name": "range to text", "name": "range to text",
"value": 2 "value": 2
} }
], ],
"repeat": null, "repeat": null,
"repeatDirection": "h", "repeatDirection": "h",
"repeatIteration": 1529417287923,
"repeatIteration": 1529573943307,
"repeatPanelId": 12, "repeatPanelId": 12,
"scopedVars": { "scopedVars": {
"host": { "host": {
"$$hashKey": "object:11639",
"selected": false, "selected": false,
"text": "dbs02", "text": "dbs02",
"value": "dbs02" "value": "dbs02"
"valueFontSize": "80%", "valueFontSize": "80%",
"valueMaps": [ "valueMaps": [
{ {
"$$hashKey": "object:11668",
"op": "=", "op": "=",
"text": "N/A", "text": "N/A",
"value": "null" "value": "null"
}, },
{ {
"$$hashKey": "object:11669",
"op": "=", "op": "=",
"text": "Fail",
"text": "FAIL",
"value": "0" "value": "0"
}, },
{ {
"$$hashKey": "object:11670",
"op": "=", "op": "=",
"text": "OK", "text": "OK",
"value": "1" "value": "1"
"rgba(237, 129, 40, 0.89)", "rgba(237, 129, 40, 0.89)",
"#299c46" "#299c46"
], ],
"datasource": "prometheus",
"datasource": null,
"format": "none", "format": "none",
"gauge": { "gauge": {
"maxValue": 100, "maxValue": 100,
"mappingType": 1, "mappingType": 1,
"mappingTypes": [ "mappingTypes": [
{ {
"$$hashKey": "object:11665",
"name": "value to text", "name": "value to text",
"value": 1 "value": 1
}, },
{ {
"$$hashKey": "object:11666",
"name": "range to text", "name": "range to text",
"value": 2 "value": 2
} }
], ],
"repeat": null, "repeat": null,
"repeatDirection": "h", "repeatDirection": "h",
"repeatIteration": 1529417287923,
"repeatIteration": 1529573943307,
"repeatPanelId": 12, "repeatPanelId": 12,
"scopedVars": { "scopedVars": {
"host": { "host": {
"$$hashKey": "object:11640",
"selected": false, "selected": false,
"text": "dbs03", "text": "dbs03",
"value": "dbs03" "value": "dbs03"
"valueFontSize": "80%", "valueFontSize": "80%",
"valueMaps": [ "valueMaps": [
{ {
"$$hashKey": "object:11668",
"op": "=", "op": "=",
"text": "N/A", "text": "N/A",
"value": "null" "value": "null"
}, },
{ {
"$$hashKey": "object:11669",
"op": "=", "op": "=",
"text": "Fail",
"text": "FAIL",
"value": "0" "value": "0"
}, },
{ {
"$$hashKey": "object:11670",
"op": "=", "op": "=",
"text": "OK", "text": "OK",
"value": "1" "value": "1"
"rgba(237, 129, 40, 0.89)", "rgba(237, 129, 40, 0.89)",
"#299c46" "#299c46"
], ],
"datasource": "prometheus",
"datasource": null,
"format": "s", "format": "s",
"gauge": { "gauge": {
"maxValue": 100, "maxValue": 100,
"repeatDirection": "h", "repeatDirection": "h",
"scopedVars": { "scopedVars": {
"host": { "host": {
"$$hashKey": "object:11638",
"selected": false, "selected": false,
"text": "dbs01", "text": "dbs01",
"value": "dbs01" "value": "dbs01"
"rgba(237, 129, 40, 0.89)", "rgba(237, 129, 40, 0.89)",
"#299c46" "#299c46"
], ],
"datasource": "prometheus",
"datasource": null,
"format": "s", "format": "s",
"gauge": { "gauge": {
"maxValue": 100, "maxValue": 100,
], ],
"repeat": null, "repeat": null,
"repeatDirection": "h", "repeatDirection": "h",
"repeatIteration": 1529417287923,
"repeatIteration": 1529573943307,
"repeatPanelId": 42, "repeatPanelId": 42,
"scopedVars": { "scopedVars": {
"host": { "host": {
"$$hashKey": "object:11639",
"selected": false, "selected": false,
"text": "dbs02", "text": "dbs02",
"value": "dbs02" "value": "dbs02"
"rgba(237, 129, 40, 0.89)", "rgba(237, 129, 40, 0.89)",
"#299c46" "#299c46"
], ],
"datasource": "prometheus",
"datasource": null,
"format": "s", "format": "s",
"gauge": { "gauge": {
"maxValue": 100, "maxValue": 100,
], ],
"repeat": null, "repeat": null,
"repeatDirection": "h", "repeatDirection": "h",
"repeatIteration": 1529417287923,
"repeatIteration": 1529573943307,
"repeatPanelId": 42, "repeatPanelId": 42,
"scopedVars": { "scopedVars": {
"host": { "host": {
"$$hashKey": "object:11640",
"selected": false, "selected": false,
"text": "dbs03", "text": "dbs03",
"value": "dbs03" "value": "dbs03"
"bars": false, "bars": false,
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": "prometheus",
"datasource": null,
"fill": 1, "fill": 1,
"gridPos": { "gridPos": {
"h": 5, "h": 5,
"bars": false, "bars": false,
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": "prometheus",
"datasource": null,
"description": "Displays the average sizes of receive and send queues.", "description": "Displays the average sizes of receive and send queues.",
"fill": 1, "fill": 1,
"gridPos": { "gridPos": {
"id": 14, "id": 14,
"legend": { "legend": {
"alignAsTable": true, "alignAsTable": true,
"avg": true,
"avg": false,
"current": false, "current": false,
"max": false, "max": false,
"min": false, "min": false,
"rightSide": true, "rightSide": true,
"show": true, "show": true,
"total": false, "total": false,
"values": true
"values": false
}, },
"lines": true, "lines": true,
"linewidth": 1, "linewidth": 1,
"expr": "mysql_wsrep_local_recv_queue_avg{host=~\"$host\"}", "expr": "mysql_wsrep_local_recv_queue_avg{host=~\"$host\"}",
"format": "time_series", "format": "time_series",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "Receive @{{host}}",
"legendFormat": "receive @{{host}}",
"refId": "A", "refId": "A",
"step": 10 "step": 10
}, },
"expr": "mysql_wsrep_local_send_queue_avg{host=~\"$host\"}", "expr": "mysql_wsrep_local_send_queue_avg{host=~\"$host\"}",
"format": "time_series", "format": "time_series",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "Send @{{host}}",
"legendFormat": "send @{{host}}",
"refId": "B", "refId": "B",
"step": 10 "step": 10
} }
"bars": false, "bars": false,
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": "prometheus",
"datasource": null,
"description": "Displays the rate of flow control events.", "description": "Displays the rate of flow control events.",
"fill": 1, "fill": 1,
"gridPos": { "gridPos": {
"expr": "rate(mysql_wsrep_flow_control_recv{host=~\"$host\"}[$rate_interval])", "expr": "rate(mysql_wsrep_flow_control_recv{host=~\"$host\"}[$rate_interval])",
"format": "time_series", "format": "time_series",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "Receive @{{host}}",
"legendFormat": "receive @{{host}}",
"metric": "", "metric": "",
"refId": "A", "refId": "A",
"step": 10 "step": 10
"expr": "rate(mysql_wsrep_flow_control_sent{host=~\"$host\"}[$rate_interval])", "expr": "rate(mysql_wsrep_flow_control_sent{host=~\"$host\"}[$rate_interval])",
"format": "time_series", "format": "time_series",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "Send @{{host}}",
"legendFormat": "send @{{host}}",
"refId": "B", "refId": "B",
"step": 10 "step": 10
} }
"bars": false, "bars": false,
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": "prometheus",
"datasource": null,
"fill": 1, "fill": 1,
"gridPos": { "gridPos": {
"h": 7, "h": 7,
"format": "time_series", "format": "time_series",
"interval": "", "interval": "",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "Rx @{{host}}",
"legendFormat": "rx @{{host}}",
"metric": "", "metric": "",
"refId": "A", "refId": "A",
"step": 10 "step": 10
"format": "time_series", "format": "time_series",
"interval": "", "interval": "",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "Tx @{{host}}",
"legendFormat": "tx @{{host}}",
"metric": "", "metric": "",
"refId": "B", "refId": "B",
"step": 10 "step": 10
"bars": false, "bars": false,
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": "prometheus",
"datasource": null,
"fill": 1, "fill": 1,
"gridPos": { "gridPos": {
"h": 7, "h": 7,
"expr": "rate(mysql_table_locks_immediate{host=~\"$host\"}[$rate_interval])", "expr": "rate(mysql_table_locks_immediate{host=~\"$host\"}[$rate_interval])",
"format": "time_series", "format": "time_series",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "Immediate @{{host}}",
"legendFormat": "immediate @{{host}}",
"refId": "A", "refId": "A",
"step": 10 "step": 10
}, },
"expr": "rate(mysql_table_locks_waited{host=~\"$host\"}[$rate_interval])", "expr": "rate(mysql_table_locks_waited{host=~\"$host\"}[$rate_interval])",
"format": "time_series", "format": "time_series",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "Waited @{{host}}",
"legendFormat": "waited @{{host}}",
"refId": "B", "refId": "B",
"step": 10 "step": 10
} }
"bars": false, "bars": false,
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": "prometheus",
"datasource": null,
"fill": 1, "fill": 1,
"gridPos": { "gridPos": {
"h": 7, "h": 7,
"expr": "mysql_threads_cached{host=~\"$host\"}", "expr": "mysql_threads_cached{host=~\"$host\"}",
"format": "time_series", "format": "time_series",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "Cached @{{host}}",
"legendFormat": "cached @{{host}}",
"refId": "A", "refId": "A",
"step": 10 "step": 10
}, },
"expr": "mysql_threads_connected{host=~\"$host\"}", "expr": "mysql_threads_connected{host=~\"$host\"}",
"format": "time_series", "format": "time_series",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "Connected @{{host}}",
"legendFormat": "connected @{{host}}",
"refId": "B", "refId": "B",
"step": 10 "step": 10
}, },
"expr": "mysql_threads_running{host=~\"$host\"}", "expr": "mysql_threads_running{host=~\"$host\"}",
"format": "time_series", "format": "time_series",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "Running @{{host}}",
"legendFormat": "running @{{host}}",
"refId": "D", "refId": "D",
"step": 10 "step": 10
} }
"bars": false, "bars": false,
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": "prometheus",
"datasource": null,
"fill": 1, "fill": 1,
"gridPos": { "gridPos": {
"h": 7, "h": 7,
"expr": "rate(mysql_queries{host=~\"$host\"}[$rate_interval])", "expr": "rate(mysql_queries{host=~\"$host\"}[$rate_interval])",
"format": "time_series", "format": "time_series",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "Queries @{{host}}",
"legendFormat": "queries @{{host}}",
"refId": "A", "refId": "A",
"step": 10 "step": 10
}, },
"expr": "rate(mysql_questions{host=~\"$host\"}[$rate_interval])", "expr": "rate(mysql_questions{host=~\"$host\"}[$rate_interval])",
"format": "time_series", "format": "time_series",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "Questions @{{host}}",
"legendFormat": "questions @{{host}}",
"refId": "B", "refId": "B",
"step": 10 "step": 10
} }
"bars": false, "bars": false,
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": "prometheus",
"datasource": null,
"fill": 1, "fill": 1,
"gridPos": { "gridPos": {
"h": 7, "h": 7,
"expr": "rate(mysql_commands_commit{host=~\"$host\"}[$rate_interval])", "expr": "rate(mysql_commands_commit{host=~\"$host\"}[$rate_interval])",
"format": "time_series", "format": "time_series",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "Commit @{{host}}",
"legendFormat": "commit @{{host}}",
"refId": "A", "refId": "A",
"step": 10 "step": 10
}, },
"expr": "rate(mysql_commands_delete{host=~\"$host\"}[$rate_interval])", "expr": "rate(mysql_commands_delete{host=~\"$host\"}[$rate_interval])",
"format": "time_series", "format": "time_series",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "Delete @{{host}}",
"legendFormat": "delete @{{host}}",
"refId": "B", "refId": "B",
"step": 10 "step": 10
}, },
"expr": "rate(mysql_commands_insert{host=~\"$host\"}[$rate_interval])", "expr": "rate(mysql_commands_insert{host=~\"$host\"}[$rate_interval])",
"format": "time_series", "format": "time_series",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "Insert @{{host}}",
"legendFormat": "insert @{{host}}",
"refId": "C", "refId": "C",
"step": 10 "step": 10
}, },
"expr": "rate(mysql_commands_select{host=~\"$host\"}[$rate_interval])", "expr": "rate(mysql_commands_select{host=~\"$host\"}[$rate_interval])",
"format": "time_series", "format": "time_series",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "Select @{{host}}",
"legendFormat": "select @{{host}}",
"refId": "D", "refId": "D",
"step": 10 "step": 10
}, },
"expr": "rate(mysql_commands_rollback{host=~\"$host\"}[$rate_interval])", "expr": "rate(mysql_commands_rollback{host=~\"$host\"}[$rate_interval])",
"format": "time_series", "format": "time_series",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "Rollback @{{host}}",
"legendFormat": "rollback @{{host}}",
"refId": "E", "refId": "E",
"step": 10 "step": 10
}, },
"expr": "rate(mysql_commands_update{host=~\"$host\"}[$rate_interval])", "expr": "rate(mysql_commands_update{host=~\"$host\"}[$rate_interval])",
"format": "time_series", "format": "time_series",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "Update @{{host}}",
"legendFormat": "update @{{host}}",
"refId": "F", "refId": "F",
"step": 10 "step": 10
} }
"bars": false, "bars": false,
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": "prometheus",
"datasource": null,
"fill": 1, "fill": 1,
"gridPos": { "gridPos": {
"h": 7, "h": 7,
"expr": "rate(mysql_handler_commit{host=~\"$host\"}[$rate_interval])", "expr": "rate(mysql_handler_commit{host=~\"$host\"}[$rate_interval])",
"format": "time_series", "format": "time_series",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "Commit @{{host}}",
"legendFormat": "commit @{{host}}",
"refId": "A", "refId": "A",
"step": 10 "step": 10
}, },
"expr": "rate(mysql_handler_delete{host=~\"$host\"}[$rate_interval])", "expr": "rate(mysql_handler_delete{host=~\"$host\"}[$rate_interval])",
"format": "time_series", "format": "time_series",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "Delete @{{host}}",
"legendFormat": "delete @{{host}}",
"refId": "B", "refId": "B",
"step": 10 "step": 10
}, },
"expr": "rate(mysql_handler_write{host=~\"$host\"}[$rate_interval])", "expr": "rate(mysql_handler_write{host=~\"$host\"}[$rate_interval])",
"format": "time_series", "format": "time_series",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "Write @{{host}}",
"legendFormat": "write @{{host}}",
"refId": "C", "refId": "C",
"step": 10 "step": 10
}, },
"expr": "rate(mysql_handler_rollback{host=~\"$host\"}[$rate_interval])", "expr": "rate(mysql_handler_rollback{host=~\"$host\"}[$rate_interval])",
"format": "time_series", "format": "time_series",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "Rollback @{{host}}",
"legendFormat": "rollback @{{host}}",
"refId": "E", "refId": "E",
"step": 10 "step": 10
}, },
"expr": "rate(mysql_handler_update{host=~\"$host\"}[$rate_interval])", "expr": "rate(mysql_handler_update{host=~\"$host\"}[$rate_interval])",
"format": "time_series", "format": "time_series",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "Update @{{host}}",
"legendFormat": "update @{{host}}",
"refId": "F", "refId": "F",
"step": 10 "step": 10
} }
{ {
"allValue": null, "allValue": null,
"current": { "current": {
"tags": [],
"text": "All", "text": "All",
"value": [ "value": [
"$__all" "$__all"
] ]
}, },
"datasource": "prometheus",
"datasource": null,
"hide": 0, "hide": 0,
"includeAll": true, "includeAll": true,
"label": null, "label": null,
"timezone": "browser", "timezone": "browser",
"title": "MySQL", "title": "MySQL",
"uid": "", "uid": "",
"version": 2
"version": 1
} }
{% endraw %} {% endraw %}

Loading…
Cancel
Save