diff --git a/dashboards/victoriametrics.json b/dashboards/victoriametrics.json index dbf487439..ec8e666c0 100644 --- a/dashboards/victoriametrics.json +++ b/dashboards/victoriametrics.json @@ -65,7 +65,7 @@ "gnetId": 10229, "graphTooltip": 0, "id": null, - "iteration": 1559857416920, + "iteration": 1562261153865, "links": [ { "icon": "doc", @@ -668,7 +668,7 @@ "dashLength": 10, "dashes": false, "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)", + "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, "gridPos": { "h": 8, @@ -676,23 +676,27 @@ "x": 0, "y": 19 }, - "id": 35, + "id": 51, "legend": { - "alignAsTable": true, - "avg": true, - "current": true, + "avg": false, + "current": false, "max": false, "min": false, "show": true, - "sort": "current", - "sortDesc": true, "total": false, - "values": true + "values": false }, "lines": true, "linewidth": 1, - "links": [], - "nullPointMode": "null as zero", + "links": [ + { + "targetBlank": true, + "title": "troubleshooting", + "type": "absolute", + "url": "https://github.com/VictoriaMetrics/VictoriaMetrics/blob/master/README.md#troubleshooting" + } + ], + "nullPointMode": "null", "options": {}, "percentage": false, "pointradius": 2, @@ -704,10 +708,10 @@ "steppedLine": false, "targets": [ { - "expr": "sum(rate(vm_http_request_errors_total{job=\"$job\"}[$__interval])) by (path) > 0", + "expr": "vm_cache_entries{job=\"$job\", type=\"storage/hour_metric_ids\"}", "format": "time_series", "intervalFactor": 1, - "legendFormat": "{{path}}", + "legendFormat": "Active time series", "refId": "A" } ], @@ -715,10 +719,10 @@ "timeFrom": null, "timeRegions": [], "timeShift": null, - "title": "Requests error rate", + "title": "Active time series", "tooltip": { "shared": true, - "sort": 2, + "sort": 0, "value_type": "individual" }, "type": "graph", @@ -859,7 +863,7 @@ "dashLength": 10, "dashes": false, "datasource": "${DS_PROMETHEUS}", - "description": "", + "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, "gridPos": { "h": 8, @@ -867,20 +871,23 @@ "x": 0, "y": 27 }, - "id": 37, + "id": 35, "legend": { - "avg": false, - "current": false, + "alignAsTable": true, + "avg": true, + "current": true, "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", + "nullPointMode": "null as zero", "options": {}, "percentage": false, "pointradius": 2, @@ -892,11 +899,10 @@ "steppedLine": false, "targets": [ { - "expr": "sum(vm_tcplistener_conns{job=\"$job\"})", + "expr": "sum(rate(vm_http_request_errors_total{job=\"$job\"}[$__interval])) by (path) > 0", "format": "time_series", - "hide": false, "intervalFactor": 1, - "legendFormat": "connections", + "legendFormat": "{{path}}", "refId": "A" } ], @@ -904,10 +910,10 @@ "timeFrom": null, "timeRegions": [], "timeShift": null, - "title": "TCP connections", + "title": "Requests error rate", "tooltip": { "shared": true, - "sort": 0, + "sort": 2, "value_type": "individual" }, "type": "graph", @@ -920,7 +926,6 @@ }, "yaxes": [ { - "decimals": null, "format": "short", "label": null, "logBase": 1, @@ -1031,13 +1036,102 @@ "alignLevel": null } }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_PROMETHEUS}", + "description": "", + "fill": 1, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 35 + }, + "id": 37, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "options": {}, + "percentage": false, + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(vm_tcplistener_conns{job=\"$job\"})", + "format": "time_series", + "hide": false, + "intervalFactor": 1, + "legendFormat": "connections", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "TCP connections", + "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": 35 + "y": 43 }, "id": 14, "panels": [], @@ -1056,7 +1150,7 @@ "h": 8, "w": 12, "x": 0, - "y": 36 + "y": 44 }, "id": 10, "legend": { @@ -1152,7 +1246,7 @@ "h": 8, "w": 12, "x": 12, - "y": 36 + "y": 44 }, "id": 34, "legend": { @@ -1254,7 +1348,7 @@ "h": 8, "w": 12, "x": 0, - "y": 44 + "y": 52 }, "id": 30, "legend": { @@ -1341,7 +1435,7 @@ "h": 8, "w": 12, "x": 12, - "y": 44 + "y": 52 }, "id": 36, "legend": { @@ -1416,13 +1510,186 @@ "alignLevel": null } }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_PROMETHEUS}", + "description": "Shows amount of on-disk space occupied by data points.", + "fill": 1, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 60 + }, + "id": 53, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "options": {}, + "percentage": false, + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(vm_data_size_bytes{job=\"$job\", type!=\"indexdb\"})", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "Size", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Disk space usage (datapoints)", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "bytes", + "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 + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_PROMETHEUS}", + "description": "Shows amount of on-disk space occupied by inverted index.", + "fill": 1, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 60 + }, + "id": 55, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "options": {}, + "percentage": false, + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "vm_data_size_bytes{job=\"$job\", type=\"indexdb\"}", + "format": "time_series", + "intervalFactor": 1, + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Disk space usage (index)", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "bytes", + "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": 52 + "y": 68 }, "id": 46, "panels": [], @@ -1441,7 +1708,7 @@ "h": 8, "w": 12, "x": 0, - "y": 53 + "y": 69 }, "id": 44, "legend": { @@ -1544,7 +1811,7 @@ "h": 8, "w": 12, "x": 12, - "y": 53 + "y": 69 }, "id": 42, "legend": { @@ -1630,7 +1897,7 @@ "h": 8, "w": 12, "x": 0, - "y": 61 + "y": 77 }, "id": 47, "legend": { @@ -1717,7 +1984,7 @@ "h": 8, "w": 12, "x": 12, - "y": 61 + "y": 77 }, "id": 48, "legend": {