dasbhoard: display tweaks (#1387)

* rm cumulative visualisation for panel `Disk space used`.
It uses % threshold and cumulative display breaks it.
* remove area filling for resource usage row;
* add job name for panels in resource usage row.
This commit is contained in:
Roman Khavronenko 2021-06-18 10:48:40 +03:00 committed by GitHub
parent 9ea1dca3dd
commit 5cb378f5b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,7 +50,7 @@
"gnetId": null, "gnetId": null,
"graphTooltip": 0, "graphTooltip": 0,
"id": null, "id": null,
"iteration": 1623417312757, "iteration": 1623910135370,
"links": [ "links": [
{ {
"icon": "doc", "icon": "doc",
@ -812,10 +812,6 @@
{ {
"collapsed": false, "collapsed": false,
"datasource": "$ds", "datasource": "$ds",
"fieldConfig": {
"defaults": {},
"overrides": []
},
"gridPos": { "gridPos": {
"h": 1, "h": 1,
"w": 24, "w": 24,
@ -1463,7 +1459,7 @@
}, },
"overrides": [] "overrides": []
}, },
"fill": 1, "fill": 0,
"fillGradient": 0, "fillGradient": 0,
"gridPos": { "gridPos": {
"h": 8, "h": 8,
@ -1499,7 +1495,7 @@
"renderer": "flot", "renderer": "flot",
"seriesOverrides": [], "seriesOverrides": [],
"spaceLength": 10, "spaceLength": 10,
"stack": true, "stack": false,
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
@ -1514,6 +1510,7 @@
], ],
"thresholds": [ "thresholds": [
{ {
"$$hashKey": "object:89",
"colorMode": "critical", "colorMode": "critical",
"fill": true, "fill": true,
"line": true, "line": true,
@ -1672,10 +1669,6 @@
{ {
"collapsed": true, "collapsed": true,
"datasource": "$ds", "datasource": "$ds",
"fieldConfig": {
"defaults": {},
"overrides": []
},
"gridPos": { "gridPos": {
"h": 1, "h": 1,
"w": 24, "w": 24,
@ -1697,13 +1690,13 @@
}, },
"overrides": [] "overrides": []
}, },
"fill": 1, "fill": 0,
"fillGradient": 0, "fillGradient": 0,
"gridPos": { "gridPos": {
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 3 "y": 35
}, },
"hiddenSeries": false, "hiddenSeries": false,
"id": 66, "id": 66,
@ -1737,8 +1730,10 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"expr": "sum(process_resident_memory_bytes{job=~\"$job\", instance=~\"$instance\"}) by (instance)", "exemplar": true,
"legendFormat": "{{instance}}", "expr": "sum(process_resident_memory_bytes{job=~\"$job\", instance=~\"$instance\"}) by (job, instance)",
"interval": "",
"legendFormat": "{{instance}} ({{job}})",
"refId": "A" "refId": "A"
} }
], ],
@ -1796,13 +1791,13 @@
}, },
"overrides": [] "overrides": []
}, },
"fill": 1, "fill": 0,
"fillGradient": 0, "fillGradient": 0,
"gridPos": { "gridPos": {
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 3 "y": 35
}, },
"hiddenSeries": false, "hiddenSeries": false,
"id": 138, "id": 138,
@ -1837,9 +1832,9 @@
"targets": [ "targets": [
{ {
"exemplar": true, "exemplar": true,
"expr": "sum(process_resident_memory_anon_bytes{job=~\"$job\", instance=~\"$instance\"}) by (instance)", "expr": "sum(process_resident_memory_anon_bytes{job=~\"$job\", instance=~\"$instance\"}) by (job, instance)",
"interval": "", "interval": "",
"legendFormat": "{{instance}}", "legendFormat": "{{instance}} ({{job}})",
"refId": "A" "refId": "A"
} }
], ],
@ -1896,13 +1891,13 @@
}, },
"overrides": [] "overrides": []
}, },
"fill": 1, "fill": 0,
"fillGradient": 0, "fillGradient": 0,
"gridPos": { "gridPos": {
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 11 "y": 43
}, },
"hiddenSeries": false, "hiddenSeries": false,
"id": 64, "id": 64,
@ -1936,10 +1931,12 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"expr": "sum(rate(process_cpu_seconds_total{job=~\"$job\", instance=~\"$instance\"}[5m])) by(instance)", "exemplar": true,
"expr": "sum(rate(process_cpu_seconds_total{job=~\"$job\", instance=~\"$instance\"}[5m])) by(job, instance)",
"format": "time_series", "format": "time_series",
"interval": "",
"intervalFactor": 1, "intervalFactor": 1,
"legendFormat": "{{instance}}", "legendFormat": "{{instance}} ({{job}})",
"refId": "A" "refId": "A"
} }
], ],
@ -1997,13 +1994,13 @@
}, },
"overrides": [] "overrides": []
}, },
"fill": 1, "fill": 0,
"fillGradient": 0, "fillGradient": 0,
"gridPos": { "gridPos": {
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 11 "y": 43
}, },
"hiddenSeries": false, "hiddenSeries": false,
"id": 72, "id": 72,
@ -2037,10 +2034,12 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"expr": "sum(rate(go_gc_duration_seconds_sum{job=~\"$job\", instance=~\"$instance\"}[5m])) by(instance)\n/\nsum(rate(go_gc_duration_seconds_count{job=~\"$job\", instance=~\"$instance\"}[5m])) by(instance)", "exemplar": true,
"expr": "sum(rate(go_gc_duration_seconds_sum{job=~\"$job\", instance=~\"$instance\"}[5m])) by(job, instance)\n/\nsum(rate(go_gc_duration_seconds_count{job=~\"$job\", instance=~\"$instance\"}[5m])) by(job, instance)",
"format": "time_series", "format": "time_series",
"interval": "",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "{{instance}}", "legendFormat": "{{instance}} ({{job}})",
"refId": "A" "refId": "A"
} }
], ],
@ -2104,7 +2103,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 19 "y": 51
}, },
"hiddenSeries": false, "hiddenSeries": false,
"id": 117, "id": 117,
@ -2143,19 +2142,21 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"expr": "sum(process_open_fds{job=~\"$job\", instance=~\"$instance\"}) by(instance)", "exemplar": true,
"expr": "sum(process_open_fds{job=~\"$job\", instance=~\"$instance\"}) by(job, instance)",
"format": "time_series", "format": "time_series",
"interval": "", "interval": "",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "{{instance}}", "legendFormat": "{{instance}} ({{job}})",
"refId": "A" "refId": "A"
}, },
{ {
"expr": "sum(process_max_fds{job=~\"$job\", instance=~\"$instance\"}) by(instance)", "exemplar": true,
"expr": "sum(process_max_fds{job=~\"$job\", instance=~\"$instance\"}) by(job, instance)",
"format": "time_series", "format": "time_series",
"interval": "", "interval": "",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "max ({{instance}})", "legendFormat": "max {{instance}} ({{job}})",
"refId": "B" "refId": "B"
} }
], ],
@ -2207,13 +2208,13 @@
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": "$ds", "datasource": "$ds",
"fill": 1, "fill": 0,
"fillGradient": 0, "fillGradient": 0,
"gridPos": { "gridPos": {
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 19 "y": 51
}, },
"hiddenSeries": false, "hiddenSeries": false,
"id": 119, "id": 119,
@ -2246,9 +2247,10 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"expr": "sum(vm_tcplistener_conns{job=~\"$job\", instance=~\"$instance\"}) by(job)", "exemplar": true,
"expr": "sum(vm_tcplistener_conns{job=~\"$job\", instance=~\"$instance\"}) by(job, instance)",
"interval": "", "interval": "",
"legendFormat": "{{job}}", "legendFormat": "{{instance}} ({{job}})",
"refId": "A" "refId": "A"
} }
], ],
@ -2305,13 +2307,13 @@
}, },
"overrides": [] "overrides": []
}, },
"fill": 1, "fill": 0,
"fillGradient": 0, "fillGradient": 0,
"gridPos": { "gridPos": {
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 27 "y": 59
}, },
"hiddenSeries": false, "hiddenSeries": false,
"id": 68, "id": 68,
@ -2345,10 +2347,12 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"expr": "sum(go_goroutines{job=~\"$job\", instance=~\"$instance\"}) by(instance)", "exemplar": true,
"expr": "sum(go_goroutines{job=~\"$job\", instance=~\"$instance\"}) by(job, instance)",
"format": "time_series", "format": "time_series",
"interval": "",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "{{instance}}", "legendFormat": "{{instance}} ({{job}})",
"refId": "A" "refId": "A"
} }
], ],
@ -2400,13 +2404,13 @@
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": "$ds", "datasource": "$ds",
"fill": 1, "fill": 0,
"fillGradient": 0, "fillGradient": 0,
"gridPos": { "gridPos": {
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 27 "y": 59
}, },
"hiddenSeries": false, "hiddenSeries": false,
"id": 120, "id": 120,
@ -2439,9 +2443,10 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"expr": "sum(rate(vm_tcplistener_accepts_total{job=~\"$job\", instance=~\"$instance\"}[5m])) by(job)", "exemplar": true,
"expr": "sum(rate(vm_tcplistener_accepts_total{job=~\"$job\", instance=~\"$instance\"}[5m])) by(job, instance)",
"interval": "", "interval": "",
"legendFormat": "{{job}}", "legendFormat": "{{instance}} ({{job}})",
"refId": "A" "refId": "A"
} }
], ],
@ -2498,13 +2503,13 @@
}, },
"overrides": [] "overrides": []
}, },
"fill": 1, "fill": 0,
"fillGradient": 0, "fillGradient": 0,
"gridPos": { "gridPos": {
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 35 "y": 67
}, },
"hiddenSeries": false, "hiddenSeries": false,
"id": 70, "id": 70,
@ -2538,10 +2543,12 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"expr": "sum(process_num_threads{job=~\"$job\", instance=~\"$instance\"}) by(instance)", "exemplar": true,
"expr": "sum(process_num_threads{job=~\"$job\", instance=~\"$instance\"}) by(job, instance)",
"format": "time_series", "format": "time_series",
"interval": "",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "{{instance}}", "legendFormat": "{{instance}} ({{job}})",
"refId": "A" "refId": "A"
} }
], ],
@ -2594,10 +2601,6 @@
{ {
"collapsed": true, "collapsed": true,
"datasource": "$ds", "datasource": "$ds",
"fieldConfig": {
"defaults": {},
"overrides": []
},
"gridPos": { "gridPos": {
"h": 1, "h": 1,
"w": 24, "w": 24,
@ -3033,10 +3036,6 @@
{ {
"collapsed": true, "collapsed": true,
"datasource": "$ds", "datasource": "$ds",
"fieldConfig": {
"defaults": {},
"overrides": []
},
"gridPos": { "gridPos": {
"h": 1, "h": 1,
"w": 24, "w": 24,
@ -3689,10 +3688,6 @@
{ {
"collapsed": true, "collapsed": true,
"datasource": "$ds", "datasource": "$ds",
"fieldConfig": {
"defaults": {},
"overrides": []
},
"gridPos": { "gridPos": {
"h": 1, "h": 1,
"w": 24, "w": 24,
@ -3931,10 +3926,6 @@
{ {
"collapsed": true, "collapsed": true,
"datasource": "$ds", "datasource": "$ds",
"fieldConfig": {
"defaults": {},
"overrides": []
},
"gridPos": { "gridPos": {
"h": 1, "h": 1,
"w": 24, "w": 24,
@ -5202,10 +5193,6 @@
{ {
"collapsed": true, "collapsed": true,
"datasource": "$ds", "datasource": "$ds",
"fieldConfig": {
"defaults": {},
"overrides": []
},
"gridPos": { "gridPos": {
"h": 1, "h": 1,
"w": 24, "w": 24,
@ -5555,10 +5542,6 @@
{ {
"collapsed": true, "collapsed": true,
"datasource": "$ds", "datasource": "$ds",
"fieldConfig": {
"defaults": {},
"overrides": []
},
"gridPos": { "gridPos": {
"h": 1, "h": 1,
"w": 24, "w": 24,