update single-version dashboard with panels: (#219)

* concurrent inserts
* rows ignored
This commit is contained in:
Roman Khavronenko 2019-10-28 11:54:10 +00:00 committed by Aliaksandr Valialkin
parent d063bfaf83
commit 971206b514

View file

@ -14,7 +14,7 @@
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "6.2.1"
"version": "6.3.5"
},
{
"type": "panel",
@ -65,7 +65,7 @@
"gnetId": 10229,
"graphTooltip": 0,
"id": null,
"iteration": 1563651131627,
"iteration": 1572208904768,
"links": [
{
"icon": "doc",
@ -121,7 +121,6 @@
{
"targetBlank": true,
"title": "VictoriaMetrics releases",
"type": "absolute",
"url": "https://github.com/VictoriaMetrics/VictoriaMetrics/releases"
}
],
@ -490,6 +489,7 @@
"datasource": "${DS_PROMETHEUS}",
"description": "* `*` - unsupported query path\n* `/write` - insert into VM\n* `/metrics` - query VM system metrics\n* `/query` - query instant values\n* `/query_range` - query over a range of time\n* `/series` - match a certain label set\n* `/label/{}/values` - query a list of label values (variables mostly)",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
@ -513,7 +513,9 @@
"linewidth": 1,
"links": [],
"nullPointMode": "null as zero",
"options": {},
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
@ -580,6 +582,7 @@
"datasource": "${DS_PROMETHEUS}",
"description": "The less time it takes is better.\n* `*` - unsupported query path\n* `/write` - insert into VM\n* `/metrics` - query VM system metrics\n* `/query` - query instant values\n* `/query_range` - query over a range of time\n* `/series` - match a certain label set\n* `/label/{}/values` - query a list of label values (variables mostly)",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
@ -603,7 +606,9 @@
"linewidth": 1,
"links": [],
"nullPointMode": "null as zero",
"options": {},
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
@ -670,6 +675,7 @@
"datasource": "${DS_PROMETHEUS}",
"description": "Shows the number of active time series with new data points inserted during the last hour. High value may result in ingestion slowdown. \n\nSee following link for details:",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
@ -692,12 +698,13 @@
{
"targetBlank": true,
"title": "troubleshooting",
"type": "absolute",
"url": "https://github.com/VictoriaMetrics/VictoriaMetrics/blob/master/README.md#troubleshooting"
}
],
"nullPointMode": "null",
"options": {},
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
@ -764,6 +771,7 @@
"datasource": "${DS_PROMETHEUS}",
"description": "VictoriaMetrics stores various caches in RAM. Memory size for these caches may be limited with -`memory.allowedPercent` flag. Line `max allowed` shows max allowed memory size for cache.",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
@ -784,7 +792,9 @@
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {},
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
@ -865,6 +875,7 @@
"datasource": "${DS_PROMETHEUS}",
"description": "* `*` - unsupported query path\n* `/write` - insert into VM\n* `/metrics` - query VM system metrics\n* `/query` - query instant values\n* `/query_range` - query over a range of time\n* `/series` - match a certain label set\n* `/label/{}/values` - query a list of label values (variables mostly)",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
@ -888,7 +899,9 @@
"linewidth": 1,
"links": [],
"nullPointMode": "null as zero",
"options": {},
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
@ -953,55 +966,74 @@
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "",
"description": "Shows how many ongoing insertions are taking place.\n* `max` - equal to number of CPU * 2\n* `current` - current number of goroutines busy with inserting rows into storage\n\nWhen `current` hits `max` constantly, it means storage is overloaded and require more CPU.",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 27
},
"id": 49,
"id": 59,
"legend": {
"avg": false,
"current": false,
"alignAsTable": true,
"avg": true,
"current": true,
"hideEmpty": false,
"hideZero": false,
"max": false,
"min": false,
"show": false,
"show": true,
"sort": "current",
"sortDesc": true,
"total": false,
"values": false
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {},
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"seriesOverrides": [
{
"alias": "max",
"color": "#C4162A"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum(rate(vm_tcplistener_accepts_total{job=\"$job\"}[$__interval]))",
"expr": "sum(vm_concurrent_addrows_capacity{job=\"$job\"})",
"format": "time_series",
"hide": false,
"intervalFactor": 1,
"legendFormat": "connections",
"legendFormat": "max",
"refId": "A"
},
{
"expr": "sum(vm_concurrent_addrows_current{job=\"$job\"})",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "current",
"refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "TCP connections rate",
"title": "Concurrent inserts",
"tooltip": {
"shared": true,
"sort": 0,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
@ -1014,7 +1046,7 @@
},
"yaxes": [
{
"decimals": null,
"decimals": 0,
"format": "short",
"label": null,
"logBase": 1,
@ -1023,6 +1055,7 @@
"show": true
},
{
"decimals": 0,
"format": "short",
"label": null,
"logBase": 1,
@ -1044,6 +1077,7 @@
"datasource": "${DS_PROMETHEUS}",
"description": "",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
@ -1064,7 +1098,9 @@
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {},
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
@ -1125,6 +1161,98 @@
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 35
},
"id": 49,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum(rate(vm_tcplistener_accepts_total{job=\"$job\"}[$__interval]))",
"format": "time_series",
"hide": false,
"intervalFactor": 1,
"legendFormat": "connections",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "TCP connections rate",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": null,
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"collapsed": false,
"gridPos": {
@ -1146,6 +1274,7 @@
"datasource": "${DS_PROMETHEUS}",
"description": "How many datapoints are inserted into storage per second",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
@ -1168,7 +1297,9 @@
"linewidth": 1,
"links": [],
"nullPointMode": "null as zero",
"options": {},
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
@ -1242,6 +1373,7 @@
"datasource": "${DS_PROMETHEUS}",
"description": "How many datapoints are in RAM queue waiting to be written into storage. The less is better.",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
@ -1262,7 +1394,9 @@
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {},
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
@ -1344,6 +1478,7 @@
"datasource": "${DS_PROMETHEUS}",
"description": "How many datapoints are in the storage.",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
@ -1364,7 +1499,9 @@
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {},
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
@ -1431,6 +1568,7 @@
"datasource": "${DS_PROMETHEUS}",
"description": "Data parts of LSM tree.\nHigh number of parts could be an evidence of slow merge performance - check the resource utilization.\n* `indexdb` - inverted index\n* `storage/small` - recently added parts of data ingested into storage(hot data)\n* `storage/big` - small parts gradually merged into big parts (cold data)",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
@ -1451,7 +1589,9 @@
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {},
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
@ -1518,6 +1658,7 @@
"datasource": "${DS_PROMETHEUS}",
"description": "Shows amount of on-disk space occupied by data points.",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
@ -1538,7 +1679,9 @@
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {},
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
@ -1605,6 +1748,7 @@
"datasource": "${DS_PROMETHEUS}",
"description": "Shows amount of on-disk space occupied by inverted index.",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
@ -1625,7 +1769,9 @@
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {},
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
@ -1683,13 +1829,105 @@
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"description": "Shows how many rows were ignored on insertion due to corrupted or out of retention timestamps.",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 68
},
"id": 58,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum(vm_rows_ignored_total{job=\"$job\"}) by (reason) > 0",
"format": "time_series",
"hide": false,
"intervalFactor": 1,
"legendFormat": "{{reason}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Rows ignored",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": null,
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 68
"y": 76
},
"id": 46,
"panels": [],
@ -1704,11 +1942,12 @@
"datasource": "${DS_PROMETHEUS}",
"description": "",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 69
"y": 77
},
"id": 44,
"legend": {
@ -1724,7 +1963,9 @@
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {},
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
@ -1806,11 +2047,12 @@
"dashLength": 10,
"dashes": false,
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 69
"y": 77
},
"id": 57,
"legend": {
@ -1826,7 +2068,9 @@
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {},
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
@ -1892,11 +2136,12 @@
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 77
"y": 85
},
"id": 47,
"legend": {
@ -1912,7 +2157,9 @@
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {},
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
@ -1979,11 +2226,12 @@
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 77
"y": 85
},
"id": 42,
"legend": {
@ -1999,7 +2247,9 @@
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {},
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
@ -2065,11 +2315,12 @@
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 85
"y": 93
},
"id": 48,
"legend": {
@ -2085,7 +2336,9 @@
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {},
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
@ -2147,7 +2400,7 @@
}
],
"refresh": "30s",
"schemaVersion": 18,
"schemaVersion": 19,
"style": "dark",
"tags": [],
"templating": {
@ -2230,5 +2483,5 @@
"timezone": "",
"title": "VictoriaMetrics",
"uid": "wNf0q_kZk",
"version": 2
"version": 3
}