Skip to content

Commit 3127dc1

Browse files
authored
deployment/logs-benchmark: update dashboard (VictoriaMetrics#4500)
- remove second panel for disk usage. It is not very useful for users and brings more confusion than profit from having it. - update CPU graph to show number of used CPUs to make it less ambiguous Signed-off-by: Zakhar Bessarab <[email protected]>
1 parent 57a4ad3 commit 3127dc1

File tree

1 file changed

+4
-128
lines changed

1 file changed

+4
-128
lines changed

deployment/logs-benchmark/grafana/dashboards/comparison.json

Lines changed: 4 additions & 128 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@
172172
}
173173
]
174174
},
175-
"unit": "percent"
175+
"unit": "none"
176176
},
177177
"overrides": [
178178
{
@@ -237,13 +237,13 @@
237237
"uid": "P4169E866C3094E38"
238238
},
239239
"editorMode": "code",
240-
"expr": "sum(rate(container_cpu_usage_seconds_total{name=~\"$containers\"})) by (name) *100",
240+
"expr": "sum(rate(container_cpu_usage_seconds_total{name=~\"$containers\"})) by (name)",
241241
"legendFormat": "__auto",
242242
"range": true,
243243
"refId": "A"
244244
}
245245
],
246-
"title": "CPU Usage",
246+
"title": "CPU cores usage",
247247
"type": "timeseries"
248248
},
249249
{
@@ -493,130 +493,6 @@
493493
],
494494
"title": "Disk space used",
495495
"type": "timeseries"
496-
},
497-
{
498-
"datasource": {
499-
"type": "prometheus",
500-
"uid": "P4169E866C3094E38"
501-
},
502-
"fieldConfig": {
503-
"defaults": {
504-
"color": {
505-
"mode": "palette-classic"
506-
},
507-
"custom": {
508-
"axisCenteredZero": false,
509-
"axisColorMode": "text",
510-
"axisLabel": "",
511-
"axisPlacement": "auto",
512-
"barAlignment": 0,
513-
"drawStyle": "line",
514-
"fillOpacity": 0,
515-
"gradientMode": "none",
516-
"hideFrom": {
517-
"legend": false,
518-
"tooltip": false,
519-
"viz": false
520-
},
521-
"lineInterpolation": "linear",
522-
"lineWidth": 1,
523-
"pointSize": 5,
524-
"scaleDistribution": {
525-
"type": "linear"
526-
},
527-
"showPoints": "auto",
528-
"spanNulls": false,
529-
"stacking": {
530-
"group": "A",
531-
"mode": "none"
532-
},
533-
"thresholdsStyle": {
534-
"mode": "off"
535-
}
536-
},
537-
"mappings": [],
538-
"thresholds": {
539-
"mode": "absolute",
540-
"steps": [
541-
{
542-
"color": "green",
543-
"value": null
544-
}
545-
]
546-
},
547-
"unit": "decbytes"
548-
},
549-
"overrides": [
550-
{
551-
"matcher": {
552-
"id": "byRegexp",
553-
"options": ".*vlogs.*"
554-
},
555-
"properties": [
556-
{
557-
"id": "color",
558-
"value": {
559-
"fixedColor": "yellow",
560-
"mode": "fixed"
561-
}
562-
}
563-
]
564-
},
565-
{
566-
"matcher": {
567-
"id": "byRegexp",
568-
"options": ".*elastic.*"
569-
},
570-
"properties": [
571-
{
572-
"id": "color",
573-
"value": {
574-
"fixedColor": "green",
575-
"mode": "fixed"
576-
}
577-
}
578-
]
579-
}
580-
]
581-
},
582-
"gridPos": {
583-
"h": 11,
584-
"w": 12,
585-
"x": 12,
586-
"y": 18
587-
},
588-
"id": 6,
589-
"options": {
590-
"legend": {
591-
"calcs": [
592-
"min",
593-
"max",
594-
"mean"
595-
],
596-
"displayMode": "table",
597-
"placement": "bottom",
598-
"showLegend": true
599-
},
600-
"tooltip": {
601-
"mode": "single",
602-
"sort": "none"
603-
}
604-
},
605-
"targets": [
606-
{
607-
"datasource": {
608-
"type": "prometheus",
609-
"uid": "P4169E866C3094E38"
610-
},
611-
"editorMode": "code",
612-
"expr": "sum(delta(node_disk_usage_bytes{path=~\"$containers_selector\"}[1m])) by (path)",
613-
"legendFormat": "__auto",
614-
"range": true,
615-
"refId": "A"
616-
}
617-
],
618-
"title": "Disk space used",
619-
"type": "timeseries"
620496
}
621497
],
622498
"refresh": "10s",
@@ -675,6 +551,6 @@
675551
"timezone": "",
676552
"title": "Elastic vs VLogs",
677553
"uid": "hkm6P6_4z",
678-
"version": 1,
554+
"version": 2,
679555
"weekStart": ""
680556
}

0 commit comments

Comments
 (0)