dashboards: add Cache usage % panel to Caches row (#2964)

https://github.com/VictoriaMetrics/VictoriaMetrics/issues/2941
Signed-off-by: hagen1778 <roman@victoriametrics.com>
This commit is contained in:
Roman Khavronenko 2022-08-08 18:37:34 +02:00 committed by GitHub
parent 901300aea2
commit 289a4862ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,12 +1,12 @@
{ {
"__inputs": [], "__inputs": [],
"__elements": [], "__elements": {},
"__requires": [ "__requires": [
{ {
"type": "grafana", "type": "grafana",
"id": "grafana", "id": "grafana",
"name": "Grafana", "name": "Grafana",
"version": "8.3.5" "version": "9.0.3"
}, },
{ {
"type": "panel", "type": "panel",
@ -37,7 +37,10 @@
"list": [ "list": [
{ {
"builtIn": 1, "builtIn": 1,
"datasource": "-- Grafana --", "datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true, "enable": true,
"hide": true, "hide": true,
"iconColor": "rgba(0, 211, 255, 1)", "iconColor": "rgba(0, 211, 255, 1)",
@ -58,7 +61,7 @@
"gnetId": 10229, "gnetId": 10229,
"graphTooltip": 0, "graphTooltip": 0,
"id": null, "id": null,
"iteration": 1650637176348, "iteration": 1659966607833,
"links": [ "links": [
{ {
"icon": "doc", "icon": "doc",
@ -101,6 +104,14 @@
}, },
"id": 6, "id": 6,
"panels": [], "panels": [],
"targets": [
{
"datasource": {
"uid": "$ds"
},
"refId": "A"
}
],
"title": "Stats", "title": "Stats",
"type": "row" "type": "row"
}, },
@ -120,7 +131,15 @@
"content": "<div style=\"text-align: center;\">$version</div>", "content": "<div style=\"text-align: center;\">$version</div>",
"mode": "markdown" "mode": "markdown"
}, },
"pluginVersion": "8.3.5", "pluginVersion": "9.0.3",
"targets": [
{
"datasource": {
"uid": "$ds"
},
"refId": "A"
}
],
"title": "Version", "title": "Version",
"type": "text" "type": "text"
}, },
@ -172,9 +191,12 @@
"text": {}, "text": {},
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "8.3.5", "pluginVersion": "9.0.3",
"targets": [ "targets": [
{ {
"datasource": {
"uid": "$ds"
},
"exemplar": true, "exemplar": true,
"expr": "sum(vm_rows{job=~\"$job\", instance=~\"$instance\", type!=\"indexdb\"})", "expr": "sum(vm_rows{job=~\"$job\", instance=~\"$instance\", type!=\"indexdb\"})",
"format": "time_series", "format": "time_series",
@ -237,7 +259,7 @@
"text": {}, "text": {},
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "8.3.5", "pluginVersion": "9.0.3",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@ -305,9 +327,12 @@
"text": {}, "text": {},
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "8.3.5", "pluginVersion": "9.0.3",
"targets": [ "targets": [
{ {
"datasource": {
"uid": "$ds"
},
"exemplar": true, "exemplar": true,
"expr": "sum(vm_data_size_bytes{job=~\"$job\", type!=\"indexdb\"}) / sum(vm_rows{job=~\"$job\", type!=\"indexdb\"})", "expr": "sum(vm_data_size_bytes{job=~\"$job\", type!=\"indexdb\"}) / sum(vm_rows{job=~\"$job\", type!=\"indexdb\"})",
"format": "time_series", "format": "time_series",
@ -369,9 +394,12 @@
"text": {}, "text": {},
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "8.3.5", "pluginVersion": "9.0.3",
"targets": [ "targets": [
{ {
"datasource": {
"uid": "$ds"
},
"exemplar": true, "exemplar": true,
"expr": "sum(vm_allowed_memory_bytes{job=~\"$job\", instance=~\"$instance\"})", "expr": "sum(vm_allowed_memory_bytes{job=~\"$job\", instance=~\"$instance\"})",
"format": "time_series", "format": "time_series",
@ -434,9 +462,12 @@
"text": {}, "text": {},
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "8.3.5", "pluginVersion": "9.0.3",
"targets": [ "targets": [
{ {
"datasource": {
"uid": "$ds"
},
"exemplar": true, "exemplar": true,
"expr": "vm_app_uptime_seconds{job=~\"$job\", instance=~\"$instance\"}", "expr": "vm_app_uptime_seconds{job=~\"$job\", instance=~\"$instance\"}",
"instant": true, "instant": true,
@ -496,9 +527,12 @@
"text": {}, "text": {},
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "8.3.5", "pluginVersion": "9.0.3",
"targets": [ "targets": [
{ {
"datasource": {
"uid": "$ds"
},
"exemplar": true, "exemplar": true,
"expr": "sum(vm_rows{job=~\"$job\", instance=~\"$instance\", type=\"indexdb\"})", "expr": "sum(vm_rows{job=~\"$job\", instance=~\"$instance\", type=\"indexdb\"})",
"format": "time_series", "format": "time_series",
@ -560,9 +594,12 @@
"text": {}, "text": {},
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "8.3.5", "pluginVersion": "9.0.3",
"targets": [ "targets": [
{ {
"datasource": {
"uid": "$ds"
},
"exemplar": true, "exemplar": true,
"expr": "min(vm_free_disk_space_bytes{job=~\"$job\", instance=~\"$instance\"})", "expr": "min(vm_free_disk_space_bytes{job=~\"$job\", instance=~\"$instance\"})",
"format": "time_series", "format": "time_series",
@ -628,9 +665,12 @@
"text": {}, "text": {},
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "8.3.5", "pluginVersion": "9.0.3",
"targets": [ "targets": [
{ {
"datasource": {
"uid": "$ds"
},
"exemplar": true, "exemplar": true,
"expr": "sum(vm_available_cpu_cores{job=~\"$job\", instance=~\"$instance\"})", "expr": "sum(vm_available_cpu_cores{job=~\"$job\", instance=~\"$instance\"})",
"format": "time_series", "format": "time_series",
@ -692,9 +732,12 @@
"text": {}, "text": {},
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "8.3.5", "pluginVersion": "9.0.3",
"targets": [ "targets": [
{ {
"datasource": {
"uid": "$ds"
},
"exemplar": true, "exemplar": true,
"expr": "sum(vm_available_memory_bytes{job=~\"$job\", instance=~\"$instance\"})", "expr": "sum(vm_available_memory_bytes{job=~\"$job\", instance=~\"$instance\"})",
"format": "time_series", "format": "time_series",
@ -721,6 +764,14 @@
}, },
"id": 24, "id": 24,
"panels": [], "panels": [],
"targets": [
{
"datasource": {
"uid": "$ds"
},
"refId": "A"
}
],
"title": "Performance", "title": "Performance",
"type": "row" "type": "row"
}, },
@ -769,7 +820,7 @@
"alertThreshold": true "alertThreshold": true
}, },
"percentage": false, "percentage": false,
"pluginVersion": "8.3.5", "pluginVersion": "9.0.3",
"pointradius": 2, "pointradius": 2,
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
@ -779,6 +830,9 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"datasource": {
"uid": "$ds"
},
"expr": "sum(rate(vm_http_requests_total{job=~\"$job\", instance=~\"$instance\", path!~\"/favicon.ico\"}[$__interval])) by (path) > 0", "expr": "sum(rate(vm_http_requests_total{job=~\"$job\", instance=~\"$instance\", path!~\"/favicon.ico\"}[$__interval])) by (path) > 0",
"format": "time_series", "format": "time_series",
"interval": "", "interval": "",
@ -864,7 +918,7 @@
"alertThreshold": true "alertThreshold": true
}, },
"percentage": false, "percentage": false,
"pluginVersion": "8.3.5", "pluginVersion": "9.0.3",
"pointradius": 2, "pointradius": 2,
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
@ -874,6 +928,9 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"datasource": {
"uid": "$ds"
},
"expr": "max(vm_request_duration_seconds{job=~\"$job\", instance=~\"$instance\", quantile=~\"(0.5|0.99)\"}) by (path, quantile) > 0", "expr": "max(vm_request_duration_seconds{job=~\"$job\", instance=~\"$instance\", quantile=~\"(0.5|0.99)\"}) by (path, quantile) > 0",
"format": "time_series", "format": "time_series",
"intervalFactor": 1, "intervalFactor": 1,
@ -964,7 +1021,7 @@
"alertThreshold": true "alertThreshold": true
}, },
"percentage": false, "percentage": false,
"pluginVersion": "8.3.5", "pluginVersion": "9.0.3",
"pointradius": 2, "pointradius": 2,
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
@ -974,6 +1031,9 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"datasource": {
"uid": "$ds"
},
"expr": "vm_cache_entries{job=~\"$job\", instance=~\"$instance\", type=\"storage/hour_metric_ids\"}", "expr": "vm_cache_entries{job=~\"$job\", instance=~\"$instance\", type=\"storage/hour_metric_ids\"}",
"format": "time_series", "format": "time_series",
"intervalFactor": 1, "intervalFactor": 1,
@ -1058,7 +1118,7 @@
"alertThreshold": true "alertThreshold": true
}, },
"percentage": false, "percentage": false,
"pluginVersion": "8.3.5", "pluginVersion": "9.0.3",
"pointradius": 2, "pointradius": 2,
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
@ -1068,6 +1128,9 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"datasource": {
"uid": "$ds"
},
"exemplar": false, "exemplar": false,
"expr": "sum(rate(vm_http_request_errors_total{job=~\"$job\", instance=~\"$instance\"}[$__interval])) by (path) > 0", "expr": "sum(rate(vm_http_request_errors_total{job=~\"$job\", instance=~\"$instance\"}[$__interval])) by (path) > 0",
"format": "time_series", "format": "time_series",
@ -1171,6 +1234,9 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"datasource": {
"uid": "$ds"
},
"expr": "sum(vm_concurrent_addrows_capacity{job=~\"$job\", instance=~\"$instance\"})", "expr": "sum(vm_concurrent_addrows_capacity{job=~\"$job\", instance=~\"$instance\"})",
"format": "time_series", "format": "time_series",
"interval": "", "interval": "",
@ -1179,6 +1245,9 @@
"refId": "A" "refId": "A"
}, },
{ {
"datasource": {
"uid": "$ds"
},
"expr": "sum(vm_concurrent_addrows_current{job=~\"$job\", instance=~\"$instance\"})", "expr": "sum(vm_concurrent_addrows_current{job=~\"$job\", instance=~\"$instance\"})",
"format": "time_series", "format": "time_series",
"intervalFactor": 1, "intervalFactor": 1,
@ -1224,6 +1293,10 @@
}, },
{ {
"collapsed": true, "collapsed": true,
"datasource": {
"type": "prometheus",
"uid": "P4169E866C3094E38"
},
"gridPos": { "gridPos": {
"h": 1, "h": 1,
"w": 24, "w": 24,
@ -1248,7 +1321,7 @@
"h": 8, "h": 8,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 31 "y": 7
}, },
"hiddenSeries": false, "hiddenSeries": false,
"id": 94, "id": 94,
@ -1272,7 +1345,7 @@
"alertThreshold": true "alertThreshold": true
}, },
"percentage": false, "percentage": false,
"pluginVersion": "8.3.5", "pluginVersion": "9.0.3",
"pointradius": 2, "pointradius": 2,
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
@ -1345,6 +1418,95 @@
"align": false "align": false
} }
}, },
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "$ds"
},
"description": "Shows the percentage of used cache size from the allowed size by type. \nValues close to 100% show the maximum potential utilization.\nValues close to 0% show that cache is underutilized.",
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 15
},
"hiddenSeries": false,
"id": 97,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.0.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$ds"
},
"exemplar": true,
"expr": "vm_cache_size_bytes{job=~\"$job\", instance=~\"$instance\"} / vm_cache_size_max_bytes{job=~\"$job\", instance=~\"$instance\"}",
"interval": "",
"legendFormat": "{{type}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Cache usage % ($instance)",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:235",
"format": "percentunit",
"logBase": 1,
"show": true
},
{
"$$hashKey": "object:236",
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{ {
"aliasColors": {}, "aliasColors": {},
"bars": false, "bars": false,
@ -1355,13 +1517,13 @@
"uid": "$ds" "uid": "$ds"
}, },
"description": "Cache hit ratio shows cache efficiency. The higher is hit rate the better.", "description": "Cache hit ratio shows cache efficiency. The higher is hit rate the better.",
"fill": 1, "fill": 0,
"fillGradient": 0, "fillGradient": 0,
"gridPos": { "gridPos": {
"h": 8, "h": 8,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 39 "y": 22
}, },
"hiddenSeries": false, "hiddenSeries": false,
"id": 95, "id": 95,
@ -1385,7 +1547,7 @@
"alertThreshold": true "alertThreshold": true
}, },
"percentage": false, "percentage": false,
"pluginVersion": "8.3.5", "pluginVersion": "9.0.3",
"pointradius": 2, "pointradius": 2,
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
@ -1447,6 +1609,15 @@
} }
} }
], ],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "P4169E866C3094E38"
},
"refId": "A"
}
],
"title": "Caches", "title": "Caches",
"type": "row" "type": "row"
}, },
@ -1519,6 +1690,9 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"datasource": {
"uid": "$ds"
},
"expr": "sum(rate(vm_rows_inserted_total{job=~\"$job\", instance=~\"$instance\"}[$__interval])) by (type) > 0", "expr": "sum(rate(vm_rows_inserted_total{job=~\"$job\", instance=~\"$instance\"}[$__interval])) by (type) > 0",
"format": "time_series", "format": "time_series",
"hide": false, "hide": false,
@ -1615,6 +1789,9 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"datasource": {
"uid": "$ds"
},
"expr": "vm_free_disk_space_bytes{job=~\"$job\", instance=~\"$instance\"} / ignoring(path) ((rate(vm_rows_added_to_storage_total{job=~\"$job\", instance=~\"$instance\"}[1d]) - ignoring(type) rate(vm_deduplicated_samples_total{job=~\"$job\", instance=~\"$instance\", type=\"merge\"}[1d])) * scalar(sum(vm_data_size_bytes{job=~\"$job\", instance=~\"$instance\", type!=\"indexdb\"}) / sum(vm_rows{job=~\"$job\", instance=~\"$instance\", type!=\"indexdb\"})))", "expr": "vm_free_disk_space_bytes{job=~\"$job\", instance=~\"$instance\"} / ignoring(path) ((rate(vm_rows_added_to_storage_total{job=~\"$job\", instance=~\"$instance\"}[1d]) - ignoring(type) rate(vm_deduplicated_samples_total{job=~\"$job\", instance=~\"$instance\", type=\"merge\"}[1d])) * scalar(sum(vm_data_size_bytes{job=~\"$job\", instance=~\"$instance\", type!=\"indexdb\"}) / sum(vm_rows{job=~\"$job\", instance=~\"$instance\", type!=\"indexdb\"})))",
"format": "time_series", "format": "time_series",
"hide": false, "hide": false,
@ -1716,6 +1893,9 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"datasource": {
"uid": "$ds"
},
"expr": "sum(vm_rows{job=~\"$job\", instance=~\"$instance\", type != \"indexdb\"})", "expr": "sum(vm_rows{job=~\"$job\", instance=~\"$instance\", type != \"indexdb\"})",
"format": "time_series", "format": "time_series",
"interval": "", "interval": "",
@ -1724,6 +1904,9 @@
"refId": "A" "refId": "A"
}, },
{ {
"datasource": {
"uid": "$ds"
},
"expr": "sum(vm_data_size_bytes{job=~\"$job\", instance=~\"$instance\", type!=\"indexdb\"}) / sum(vm_rows{job=~\"$job\", instance=~\"$instance\", type != \"indexdb\"})", "expr": "sum(vm_data_size_bytes{job=~\"$job\", instance=~\"$instance\", type!=\"indexdb\"}) / sum(vm_rows{job=~\"$job\", instance=~\"$instance\", type != \"indexdb\"})",
"format": "time_series", "format": "time_series",
"interval": "", "interval": "",
@ -1825,6 +2008,9 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"datasource": {
"uid": "$ds"
},
"expr": "vm_pending_rows{job=~\"$job\", instance=~\"$instance\", type=\"storage\"}", "expr": "vm_pending_rows{job=~\"$job\", instance=~\"$instance\", type=\"storage\"}",
"format": "time_series", "format": "time_series",
"hide": false, "hide": false,
@ -1833,6 +2019,9 @@
"refId": "A" "refId": "A"
}, },
{ {
"datasource": {
"uid": "$ds"
},
"expr": "vm_pending_rows{job=~\"$job\", instance=~\"$instance\", type=\"indexdb\"}", "expr": "vm_pending_rows{job=~\"$job\", instance=~\"$instance\", type=\"indexdb\"}",
"format": "time_series", "format": "time_series",
"hide": false, "hide": false,
@ -1930,6 +2119,9 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"datasource": {
"uid": "$ds"
},
"expr": "sum(vm_data_size_bytes{job=~\"$job\", instance=~\"$instance\", type!=\"indexdb\"})", "expr": "sum(vm_data_size_bytes{job=~\"$job\", instance=~\"$instance\", type!=\"indexdb\"})",
"format": "time_series", "format": "time_series",
"interval": "", "interval": "",
@ -1938,6 +2130,9 @@
"refId": "A" "refId": "A"
}, },
{ {
"datasource": {
"uid": "$ds"
},
"expr": "vm_free_disk_space_bytes{job=~\"$job\", instance=~\"$instance\"}", "expr": "vm_free_disk_space_bytes{job=~\"$job\", instance=~\"$instance\"}",
"format": "time_series", "format": "time_series",
"interval": "", "interval": "",
@ -2033,6 +2228,9 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"datasource": {
"uid": "$ds"
},
"expr": "sum(vm_parts{job=~\"$job\", instance=~\"$instance\"}) by (type)", "expr": "sum(vm_parts{job=~\"$job\", instance=~\"$instance\"}) by (type)",
"format": "time_series", "format": "time_series",
"intervalFactor": 1, "intervalFactor": 1,
@ -2127,6 +2325,9 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"datasource": {
"uid": "$ds"
},
"exemplar": true, "exemplar": true,
"expr": "vm_data_size_bytes{job=~\"$job\", instance=~\"$instance\", type=\"indexdb\"}", "expr": "vm_data_size_bytes{job=~\"$job\", instance=~\"$instance\", type=\"indexdb\"}",
"format": "time_series", "format": "time_series",
@ -2222,6 +2423,9 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"datasource": {
"uid": "$ds"
},
"expr": "sum(vm_active_merges{job=~\"$job\", instance=~\"$instance\"}) by(type)", "expr": "sum(vm_active_merges{job=~\"$job\", instance=~\"$instance\"}) by(type)",
"legendFormat": "{{type}}", "legendFormat": "{{type}}",
"refId": "A" "refId": "A"
@ -2315,6 +2519,9 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"datasource": {
"uid": "$ds"
},
"exemplar": true, "exemplar": true,
"expr": "sum(vm_rows_ignored_total{job=~\"$job\", instance=~\"$instance\"}) by (reason)", "expr": "sum(vm_rows_ignored_total{job=~\"$job\", instance=~\"$instance\"}) by (reason)",
"format": "time_series", "format": "time_series",
@ -2411,6 +2618,9 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"datasource": {
"uid": "$ds"
},
"expr": "sum(rate(vm_rows_merged_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by(type)", "expr": "sum(rate(vm_rows_merged_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by(type)",
"legendFormat": "{{type}}", "legendFormat": "{{type}}",
"refId": "A" "refId": "A"
@ -2506,6 +2716,9 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"datasource": {
"uid": "$ds"
},
"expr": "sum(rate(vm_log_messages_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by (level) ", "expr": "sum(rate(vm_log_messages_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by (level) ",
"format": "time_series", "format": "time_series",
"hide": false, "hide": false,
@ -2547,6 +2760,14 @@
} }
} }
], ],
"targets": [
{
"datasource": {
"uid": "$ds"
},
"refId": "A"
}
],
"title": "Storage", "title": "Storage",
"type": "row" "type": "row"
}, },
@ -2584,7 +2805,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 33 "y": 32
}, },
"hiddenSeries": false, "hiddenSeries": false,
"id": 66, "id": 66,
@ -2607,7 +2828,7 @@
"alertThreshold": true "alertThreshold": true
}, },
"percentage": false, "percentage": false,
"pluginVersion": "8.3.5", "pluginVersion": "9.0.3",
"pointradius": 2, "pointradius": 2,
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
@ -2622,12 +2843,18 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"datasource": {
"uid": "$ds"
},
"expr": "sum(rate(vm_new_timeseries_created_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval]))", "expr": "sum(rate(vm_new_timeseries_created_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval]))",
"interval": "", "interval": "",
"legendFormat": "churn rate", "legendFormat": "churn rate",
"refId": "A" "refId": "A"
}, },
{ {
"datasource": {
"uid": "$ds"
},
"expr": "sum(increase(vm_new_timeseries_created_total{job=~\"$job\", instance=~\"$instance\"}[24h]))", "expr": "sum(increase(vm_new_timeseries_created_total{job=~\"$job\", instance=~\"$instance\"}[24h]))",
"interval": "", "interval": "",
"legendFormat": "new series over 24h", "legendFormat": "new series over 24h",
@ -2688,7 +2915,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 33 "y": 32
}, },
"hiddenSeries": false, "hiddenSeries": false,
"id": 96, "id": 96,
@ -2711,7 +2938,7 @@
"alertThreshold": true "alertThreshold": true
}, },
"percentage": false, "percentage": false,
"pluginVersion": "8.3.5", "pluginVersion": "9.0.3",
"pointradius": 2, "pointradius": 2,
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
@ -2787,7 +3014,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 41 "y": 40
}, },
"hiddenSeries": false, "hiddenSeries": false,
"id": 68, "id": 68,
@ -2811,7 +3038,7 @@
"alertThreshold": true "alertThreshold": true
}, },
"percentage": false, "percentage": false,
"pluginVersion": "8.3.5", "pluginVersion": "9.0.3",
"pointradius": 2, "pointradius": 2,
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
@ -2821,6 +3048,9 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"datasource": {
"uid": "$ds"
},
"expr": "sum(rate(vm_slow_row_inserts_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) / sum(rate(vm_rows_inserted_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval]))", "expr": "sum(rate(vm_slow_row_inserts_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) / sum(rate(vm_rows_inserted_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval]))",
"format": "time_series", "format": "time_series",
"hide": false, "hide": false,
@ -2894,7 +3124,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 41 "y": 40
}, },
"hiddenSeries": false, "hiddenSeries": false,
"id": 60, "id": 60,
@ -2918,7 +3148,7 @@
"alertThreshold": true "alertThreshold": true
}, },
"percentage": false, "percentage": false,
"pluginVersion": "8.3.5", "pluginVersion": "9.0.3",
"pointradius": 2, "pointradius": 2,
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
@ -2928,6 +3158,9 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"datasource": {
"uid": "$ds"
},
"expr": "sum(rate(vm_slow_queries_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval]))", "expr": "sum(rate(vm_slow_queries_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval]))",
"format": "time_series", "format": "time_series",
"hide": false, "hide": false,
@ -2984,7 +3217,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 49 "y": 48
}, },
"hiddenSeries": false, "hiddenSeries": false,
"id": 90, "id": 90,
@ -3004,7 +3237,7 @@
"alertThreshold": true "alertThreshold": true
}, },
"percentage": false, "percentage": false,
"pluginVersion": "8.3.5", "pluginVersion": "9.0.3",
"pointradius": 2, "pointradius": 2,
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
@ -3078,7 +3311,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 49 "y": 48
}, },
"hiddenSeries": false, "hiddenSeries": false,
"id": 74, "id": 74,
@ -3100,7 +3333,7 @@
"alertThreshold": true "alertThreshold": true
}, },
"percentage": false, "percentage": false,
"pluginVersion": "8.3.5", "pluginVersion": "9.0.3",
"pointradius": 2, "pointradius": 2,
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
@ -3110,6 +3343,9 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"datasource": {
"uid": "$ds"
},
"exemplar": true, "exemplar": true,
"expr": "sum(increase(vm_metrics_with_dropped_labels_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval]))", "expr": "sum(increase(vm_metrics_with_dropped_labels_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval]))",
"format": "time_series", "format": "time_series",
@ -3154,6 +3390,14 @@
} }
} }
], ],
"targets": [
{
"datasource": {
"uid": "$ds"
},
"refId": "A"
}
],
"title": "Troubleshooting", "title": "Troubleshooting",
"type": "row" "type": "row"
}, },
@ -3225,6 +3469,9 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"datasource": {
"uid": "$ds"
},
"expr": "sum(go_memstats_sys_bytes{job=~\"$job\", instance=~\"$instance\"}) + sum(vm_cache_size_bytes{job=~\"$job\", instance=~\"$instance\"})", "expr": "sum(go_memstats_sys_bytes{job=~\"$job\", instance=~\"$instance\"}) + sum(vm_cache_size_bytes{job=~\"$job\", instance=~\"$instance\"})",
"format": "time_series", "format": "time_series",
"hide": false, "hide": false,
@ -3233,6 +3480,9 @@
"refId": "A" "refId": "A"
}, },
{ {
"datasource": {
"uid": "$ds"
},
"expr": "sum(go_memstats_heap_inuse_bytes{job=~\"$job\", instance=~\"$instance\"}) + sum(vm_cache_size_bytes{job=~\"$job\", instance=~\"$instance\"})", "expr": "sum(go_memstats_heap_inuse_bytes{job=~\"$job\", instance=~\"$instance\"}) + sum(vm_cache_size_bytes{job=~\"$job\", instance=~\"$instance\"})",
"format": "time_series", "format": "time_series",
"hide": false, "hide": false,
@ -3241,6 +3491,9 @@
"refId": "B" "refId": "B"
}, },
{ {
"datasource": {
"uid": "$ds"
},
"expr": "sum(go_memstats_stack_inuse_bytes{job=~\"$job\", instance=~\"$instance\"})", "expr": "sum(go_memstats_stack_inuse_bytes{job=~\"$job\", instance=~\"$instance\"})",
"format": "time_series", "format": "time_series",
"hide": false, "hide": false,
@ -3249,6 +3502,9 @@
"refId": "C" "refId": "C"
}, },
{ {
"datasource": {
"uid": "$ds"
},
"expr": "sum(process_resident_memory_bytes{job=~\"$job\", instance=~\"$instance\"})", "expr": "sum(process_resident_memory_bytes{job=~\"$job\", instance=~\"$instance\"})",
"format": "time_series", "format": "time_series",
"hide": false, "hide": false,
@ -3258,6 +3514,9 @@
"refId": "D" "refId": "D"
}, },
{ {
"datasource": {
"uid": "$ds"
},
"exemplar": true, "exemplar": true,
"expr": "sum(process_resident_memory_anon_bytes{job=~\"$job\", instance=~\"$instance\"})", "expr": "sum(process_resident_memory_anon_bytes{job=~\"$job\", instance=~\"$instance\"})",
"format": "time_series", "format": "time_series",
@ -3480,6 +3739,9 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"datasource": {
"uid": "$ds"
},
"expr": "sum(process_open_fds{job=~\"$job\", instance=~\"$instance\"})", "expr": "sum(process_open_fds{job=~\"$job\", instance=~\"$instance\"})",
"format": "time_series", "format": "time_series",
"interval": "", "interval": "",
@ -3488,6 +3750,9 @@
"refId": "A" "refId": "A"
}, },
{ {
"datasource": {
"uid": "$ds"
},
"expr": "min(process_max_fds{job=~\"$job\", instance=~\"$instance\"})", "expr": "min(process_max_fds{job=~\"$job\", instance=~\"$instance\"})",
"format": "time_series", "format": "time_series",
"interval": "", "interval": "",
@ -3589,6 +3854,9 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"datasource": {
"uid": "$ds"
},
"expr": "sum(rate(process_io_storage_read_bytes_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval]))", "expr": "sum(rate(process_io_storage_read_bytes_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval]))",
"format": "time_series", "format": "time_series",
"hide": false, "hide": false,
@ -3598,6 +3866,9 @@
"refId": "A" "refId": "A"
}, },
{ {
"datasource": {
"uid": "$ds"
},
"expr": "sum(rate(process_io_storage_written_bytes_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval]))", "expr": "sum(rate(process_io_storage_written_bytes_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval]))",
"format": "time_series", "format": "time_series",
"hide": false, "hide": false,
@ -3692,6 +3963,9 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"datasource": {
"uid": "$ds"
},
"expr": "sum(go_goroutines{job=~\"$job\", instance=~\"$instance\"})", "expr": "sum(go_goroutines{job=~\"$job\", instance=~\"$instance\"})",
"format": "time_series", "format": "time_series",
"intervalFactor": 2, "intervalFactor": 2,
@ -3787,6 +4061,9 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"datasource": {
"uid": "$ds"
},
"expr": "sum(rate(go_gc_duration_seconds_sum{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval]))\n/\nsum(rate(go_gc_duration_seconds_count{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval]))", "expr": "sum(rate(go_gc_duration_seconds_sum{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval]))\n/\nsum(rate(go_gc_duration_seconds_count{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval]))",
"format": "time_series", "format": "time_series",
"intervalFactor": 2, "intervalFactor": 2,
@ -3880,6 +4157,9 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"datasource": {
"uid": "$ds"
},
"expr": "sum(process_num_threads{job=~\"$job\", instance=~\"$instance\"})", "expr": "sum(process_num_threads{job=~\"$job\", instance=~\"$instance\"})",
"format": "time_series", "format": "time_series",
"intervalFactor": 2, "intervalFactor": 2,
@ -3975,6 +4255,9 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"datasource": {
"uid": "$ds"
},
"expr": "sum(vm_tcplistener_conns{job=~\"$job\", instance=~\"$instance\"})", "expr": "sum(vm_tcplistener_conns{job=~\"$job\", instance=~\"$instance\"})",
"format": "time_series", "format": "time_series",
"hide": false, "hide": false,
@ -4070,6 +4353,9 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"datasource": {
"uid": "$ds"
},
"expr": "sum(rate(vm_tcplistener_accepts_total{job=~\"$job\", instance=~\"$instance\"}[$__interval]))", "expr": "sum(rate(vm_tcplistener_accepts_total{job=~\"$job\", instance=~\"$instance\"}[$__interval]))",
"format": "time_series", "format": "time_series",
"hide": false, "hide": false,
@ -4111,12 +4397,20 @@
} }
} }
], ],
"targets": [
{
"datasource": {
"uid": "$ds"
},
"refId": "A"
}
],
"title": "Resource usage", "title": "Resource usage",
"type": "row" "type": "row"
} }
], ],
"refresh": "30s", "refresh": "30s",
"schemaVersion": 34, "schemaVersion": 36,
"style": "dark", "style": "dark",
"tags": [ "tags": [
"victoriametrics", "victoriametrics",