diff --git a/dashboards/vmagent.json b/dashboards/vmagent.json index b09a658e7..0c4b8a610 100644 --- a/dashboards/vmagent.json +++ b/dashboards/vmagent.json @@ -6,7 +6,7 @@ "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "8.3.5" + "version": "8.5.3" }, { "type": "panel", @@ -43,7 +43,10 @@ "list": [ { "builtIn": 1, - "datasource": "-- Grafana --", + "datasource": { + "type": "datasource", + "uid": "grafana" + }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", @@ -63,7 +66,7 @@ "fiscalYearStartMonth": 0, "graphTooltip": 1, "id": null, - "iteration": 1644908591152, + "iteration": 1656943336787, "links": [ { "icon": "doc", @@ -151,7 +154,7 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "8.3.5", + "pluginVersion": "8.5.3", "targets": [ { "expr": "sum(vm_promscrape_targets{job=~\"$job\", instance=~\"$instance\", status=\"up\"})", @@ -215,7 +218,7 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "8.3.5", + "pluginVersion": "8.5.3", "targets": [ { "expr": "sum(vm_promscrape_targets{job=~\"$job\", instance=~\"$instance\", status=\"down\"})", @@ -282,7 +285,7 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "8.3.5", + "pluginVersion": "8.5.3", "targets": [ { "expr": "sum(increase(vm_log_messages_total{job=~\"$job\", instance=~\"$instance\", level!=\"info\"}[30m]))", @@ -341,7 +344,7 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "8.3.5", + "pluginVersion": "8.5.3", "targets": [ { "expr": "sum(vm_persistentqueue_bytes_pending{job=~\"$job\", instance=~\"$instance\"})", @@ -369,7 +372,7 @@ "scroll": true, "showHeader": true, "sort": { - "col": 3, + "col": 4, "desc": false }, "styles": [ @@ -455,7 +458,7 @@ }, "overrides": [] }, - "fill": 1, + "fill": 0, "fillGradient": 0, "gridPos": { "h": 4, @@ -487,7 +490,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.3.5", + "pluginVersion": "8.5.3", "pointradius": 2, "points": false, "renderer": "flot", @@ -510,7 +513,7 @@ "title": "Uptime", "tooltip": { "shared": true, - "sort": 1, + "sort": 2, "value_type": "individual" }, "type": "graph", @@ -521,6 +524,7 @@ }, "yaxes": [ { + "$$hashKey": "object:215", "decimals": 0, "format": "short", "logBase": 1, @@ -528,6 +532,7 @@ "show": true }, { + "$$hashKey": "object:216", "format": "short", "label": "", "logBase": 1, @@ -545,6 +550,7 @@ "dashLength": 10, "dashes": false, "datasource": { + "type": "prometheus", "uid": "$ds" }, "description": "Shows in/out samples rate including push and pull models. \n\nThe out-rate could be different to in-rate because of replication or additional timeseries added by vmagent for every scraped target.", @@ -583,7 +589,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.3.5", + "pluginVersion": "8.5.3", "pointradius": 2, "points": false, "renderer": "flot", @@ -599,6 +605,10 @@ "steppedLine": false, "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "$ds" + }, "expr": "sum(rate(vm_promscrape_scraped_samples_sum{job=~\"$job\", instance=~\"$instance\"}[$__interval]))\n+ sum(rate(vmagent_rows_inserted_total{job=~\"$job\", instance=~\"$instance\"}[$__interval]))", "hide": false, "interval": "", @@ -606,6 +616,10 @@ "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "$ds" + }, "expr": "sum(rate(vmagent_remotewrite_block_size_rows_sum{job=~\"$job\", instance=~\"$instance\"}[$__interval]))", "interval": "", "legendFormat": "out", @@ -648,6 +662,7 @@ "dashLength": 10, "dashes": false, "datasource": { + "type": "prometheus", "uid": "$ds" }, "description": "Shows the rate of requests served by vmagent HTTP server.", @@ -657,7 +672,7 @@ }, "overrides": [] }, - "fill": 1, + "fill": 0, "fillGradient": 0, "gridPos": { "h": 8, @@ -687,7 +702,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.3.5", + "pluginVersion": "8.5.3", "pointradius": 2, "points": false, "renderer": "flot", @@ -697,7 +712,11 @@ "steppedLine": false, "targets": [ { - "expr": "sum(rate(vmagent_http_requests_total{job=~\"$job\", instance=~\"$instance\"}[$__interval])) by(path, protocol)", + "datasource": { + "type": "prometheus", + "uid": "$ds" + }, + "expr": "sum(rate(vmagent_http_requests_total{job=~\"$job\", instance=~\"$instance\"}[$__interval])) by(path, protocol) > 0", "interval": "", "legendFormat": "{{ path }} ({{ protocol }})", "refId": "A" @@ -740,6 +759,7 @@ "dashLength": 10, "dashes": false, "datasource": { + "type": "prometheus", "uid": "$ds" }, "description": "Errors rate shows rate for multiple metrics that track possible errors in vmagent, such as network or parsing errors.", @@ -749,7 +769,7 @@ }, "overrides": [] }, - "fill": 1, + "fill": 0, "fillGradient": 0, "gridPos": { "h": 8, @@ -785,7 +805,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.3.5", + "pluginVersion": "8.5.3", "pointradius": 2, "points": false, "renderer": "flot", @@ -795,31 +815,51 @@ "steppedLine": false, "targets": [ { - "expr": "sum(rate(vmagent_http_request_errors_total{job=~\"$job\", instance=~\"$instance\"}[$__interval])) by(protocol)", + "datasource": { + "type": "prometheus", + "uid": "$ds" + }, + "expr": "sum(rate(vmagent_http_request_errors_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by(protocol) > 0", "interval": "", "legendFormat": "{{protocol}} (request)", "refId": "A" }, { - "expr": "sum(rate(vm_protoparser_read_errors_total{job=~\"$job\", instance=~\"$instance\"}[$__interval])) by(type)", + "datasource": { + "type": "prometheus", + "uid": "$ds" + }, + "expr": "sum(rate(vm_protoparser_read_errors_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by(type) > 0", "interval": "", "legendFormat": "{{type}} (parse)", "refId": "B" }, { - "expr": "sum(rate(vm_ingestserver_request_errors_total{job=~\"$job\", instance=~\"$instance\"}[$__interval])) by(type)", + "datasource": { + "type": "prometheus", + "uid": "$ds" + }, + "expr": "sum(rate(vm_ingestserver_request_errors_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by(type) > 0", "interval": "", "legendFormat": "{{type}} (ingest)", "refId": "C" }, { - "expr": "sum(rate(vm_protoparser_unmarshal_errors_total{job=~\"$job\", instance=~\"$instance\"}[$__interval])) by(type)", + "datasource": { + "type": "prometheus", + "uid": "$ds" + }, + "expr": "sum(rate(vm_protoparser_unmarshal_errors_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by(type) > 0", "interval": "", "legendFormat": "{{type}} (unmarshal)", "refId": "D" }, { - "expr": "sum(rate(vm_promscrape_dial_errors_total{job=~\"$job\", instance=~\"$instance\"}[$__interval]))", + "datasource": { + "type": "prometheus", + "uid": "$ds" + }, + "expr": "sum(rate(vm_promscrape_dial_errors_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) > 0", "interval": "", "legendFormat": "scrape dial", "refId": "E" @@ -871,7 +911,7 @@ }, "overrides": [] }, - "fill": 1, + "fill": 0, "fillGradient": 0, "gridPos": { "h": 8, @@ -906,7 +946,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.3.5", + "pluginVersion": "8.5.3", "pointradius": 2, "points": false, "renderer": "flot", @@ -969,7 +1009,7 @@ }, "overrides": [] }, - "fill": 1, + "fill": 0, "fillGradient": 0, "gridPos": { "h": 8, @@ -999,7 +1039,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.3.5", + "pluginVersion": "8.5.3", "pointradius": 2, "points": false, "renderer": "flot", @@ -1062,7 +1102,7 @@ }, "overrides": [] }, - "fill": 1, + "fill": 0, "fillGradient": 0, "gridPos": { "h": 8, @@ -1098,7 +1138,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.3.5", + "pluginVersion": "8.5.3", "pointradius": 2, "points": false, "renderer": "flot", @@ -1151,6 +1191,7 @@ "dashLength": 10, "dashes": false, "datasource": { + "type": "prometheus", "uid": "$ds" }, "description": "Shows the rate of dropped samples due to relabeling. \nMetric tracks drops for `-remoteWrite.relabelConfig` configuration only.", @@ -1160,7 +1201,7 @@ }, "overrides": [] }, - "fill": 1, + "fill": 0, "fillGradient": 0, "gridPos": { "h": 8, @@ -1196,7 +1237,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.3.5", + "pluginVersion": "8.5.3", "pointradius": 2, "points": false, "renderer": "flot", @@ -1206,14 +1247,22 @@ "steppedLine": false, "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "$ds" + }, "exemplar": true, - "expr": "sum(rate(vmagent_remotewrite_global_relabel_metrics_dropped_total{job=~\"$job\", instance=~\"$instance\", url=~\"$url\"}[$__interval]))", + "expr": "sum(rate(vmagent_remotewrite_global_relabel_metrics_dropped_total{job=~\"$job\", instance=~\"$instance\", url=~\"$url\"}[$__rate_interval]))", "interval": "", "legendFormat": "global", "refId": "A" }, { - "expr": "sum(rate(vmagent_remotewrite_relabel_metrics_dropped_total{job=~\"$job\", instance=~\"$instance\"}[$__interval])) by(url)", + "datasource": { + "type": "prometheus", + "uid": "$ds" + }, + "expr": "sum(rate(vmagent_remotewrite_relabel_metrics_dropped_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by(url)", "interval": "", "legendFormat": "{{url}}", "refId": "B" @@ -1265,7 +1314,7 @@ }, "overrides": [] }, - "fill": 1, + "fill": 0, "fillGradient": 0, "gridPos": { "h": 8, @@ -1295,7 +1344,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.3.5", + "pluginVersion": "8.5.3", "pointradius": 2, "points": false, "renderer": "flot", @@ -1374,13 +1423,13 @@ }, "overrides": [] }, - "fill": 1, + "fill": 0, "fillGradient": 0, "gridPos": { "h": 7, "w": 12, "x": 0, - "y": 10 + "y": 2 }, "hiddenSeries": false, "id": 48, @@ -1403,7 +1452,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.3.2", + "pluginVersion": "8.5.3", "pointradius": 2, "points": false, "renderer": "flot", @@ -1472,7 +1521,7 @@ "h": 7, "w": 12, "x": 12, - "y": 10 + "y": 2 }, "hiddenSeries": false, "id": 76, @@ -1495,7 +1544,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.3.2", + "pluginVersion": "8.5.3", "pointradius": 2, "points": false, "renderer": "flot", @@ -1559,13 +1608,13 @@ }, "overrides": [] }, - "fill": 1, + "fill": 0, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 0, - "y": 17 + "y": 9 }, "hiddenSeries": false, "id": 20, @@ -1588,12 +1637,13 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.3.2", + "pluginVersion": "8.5.3", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [ { + "$$hashKey": "object:462", "alias": "samples", "yaxis": 2 } @@ -1608,7 +1658,7 @@ "uid": "$ds" }, "exemplar": true, - "expr": "sum(rate(vm_promscrape_scrapes_total{job=~\"$job\", instance=~\"$instance\"}[$__interval]))", + "expr": "sum(rate(vm_promscrape_scrapes_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval]))", "interval": "", "legendFormat": "scrapes", "refId": "A" @@ -1618,7 +1668,7 @@ "type": "prometheus", "uid": "$ds" }, - "expr": "sum(rate(vm_promscrape_scraped_samples_sum{job=~\"$job\", instance=~\"$instance\"}[$__interval]))", + "expr": "sum(rate(vm_promscrape_scraped_samples_sum{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval]))", "interval": "", "legendFormat": "samples", "refId": "B" @@ -1662,6 +1712,7 @@ "dashLength": 10, "dashes": false, "datasource": { + "type": "prometheus", "uid": "$ds" }, "fieldConfig": { @@ -1676,7 +1727,7 @@ "h": 8, "w": 12, "x": 12, - "y": 17 + "y": 9 }, "hiddenSeries": false, "id": 31, @@ -1699,7 +1750,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.3.2", + "pluginVersion": "8.5.3", "pointradius": 2, "points": false, "renderer": "flot", @@ -1709,24 +1760,40 @@ "steppedLine": false, "targets": [ { - "expr": "sum(rate(vm_promscrape_scrapes_failed_total{job=~\"$job\", instance=~\"$instance\"}[$__interval])) ", + "datasource": { + "type": "prometheus", + "uid": "$ds" + }, + "expr": "sum(rate(vm_promscrape_scrapes_failed_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) ", "interval": "", "legendFormat": "scrapes failed", "refId": "A" }, { - "expr": "sum(rate(vm_promscrape_scrapes_timed_out_total{job=~\"$job\", instance=~\"$instance\"}[$__interval])) ", + "datasource": { + "type": "prometheus", + "uid": "$ds" + }, + "expr": "sum(rate(vm_promscrape_scrapes_timed_out_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) ", "interval": "", "legendFormat": "timeouts", "refId": "B" }, { + "datasource": { + "type": "prometheus", + "uid": "$ds" + }, "expr": "sum(rate(vm_promscrape_scrapes_gunzip_failed_total{job=~\"$job\", instance=~\"$instance\"}[$__interval])) ", "interval": "", "legendFormat": "gunzip fails", "refId": "C" }, { + "datasource": { + "type": "prometheus", + "uid": "$ds" + }, "expr": "sum(rate(vm_promscrape_dial_errors_total{job=~\"$job\", instance=~\"$instance\"}[$__interval])) ", "interval": "", "legendFormat": "dial fails", @@ -1778,13 +1845,13 @@ }, "overrides": [] }, - "fill": 1, + "fill": 0, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 0, - "y": 25 + "y": 17 }, "hiddenSeries": false, "id": 46, @@ -1807,7 +1874,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.3.2", + "pluginVersion": "8.5.3", "pointradius": 2, "points": false, "renderer": "flot", @@ -1872,14 +1939,15 @@ }, "dataFormat": "tsbuckets", "datasource": { + "type": "prometheus", "uid": "$ds" }, - "description": "works in vm only disclaimer", + "description": "This panel uses MetricsQL and works only when VM is used as a datasource", "gridPos": { "h": 8, "w": 12, "x": 12, - "y": 25 + "y": 17 }, "heatmap": {}, "hideZeroBuckets": false, @@ -1891,7 +1959,11 @@ "reverseYBuckets": false, "targets": [ { - "expr": "buckets_limit(12, prometheus_buckets(sum(rate(vm_promscrape_scrape_duration_seconds_bucket{job=~\"$job\", instance=~\"$instance\"}[$__interval])) by(vmrange)))", + "datasource": { + "type": "prometheus", + "uid": "$ds" + }, + "expr": "buckets_limit(10, prometheus_buckets(sum(rate(vm_promscrape_scrape_duration_seconds_bucket{job=~\"$job\", instance=~\"$instance\"})) by(vmrange)))", "format": "heatmap", "interval": "", "intervalFactor": 10, @@ -1939,6 +2011,7 @@ "dashLength": 10, "dashes": false, "datasource": { + "type": "prometheus", "uid": "$ds" }, "description": "Shows the rate of write requests served by ingestserver (UDP, TCP connections) and HTTP server.", @@ -1948,13 +2021,13 @@ }, "overrides": [] }, - "fill": 1, + "fill": 0, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 0, - "y": 11 + "y": 3 }, "hiddenSeries": false, "id": 73, @@ -1978,7 +2051,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.3.2", + "pluginVersion": "8.5.3", "pointradius": 2, "points": false, "renderer": "flot", @@ -1988,13 +2061,21 @@ "steppedLine": false, "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "$ds" + }, "exemplar": true, - "expr": "sum(rate(vm_ingestserver_requests_total{job=~\"$job\", instance=~\"$instance\", path!~\"/favicon.ico\"}[$__interval])) by(type, net) > 0", + "expr": "sum(rate(vm_ingestserver_requests_total{job=~\"$job\", instance=~\"$instance\", path!~\"/favicon.ico\"}[$__rate_interval])) by(type, net) > 0", "interval": "", "legendFormat": "{{ type }} ({{net}})", "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "$ds" + }, "exemplar": true, "expr": "sum(rate(vmagent_http_requests_total{job=~\"$job\", instance=~\"$instance\", protocol!=\"\"}[$__interval])) by(protocol) > 0", "interval": "", @@ -2039,6 +2120,7 @@ "dashLength": 10, "dashes": false, "datasource": { + "type": "prometheus", "uid": "$ds" }, "description": "Shows the rate of write errors in ingestserver (UDP, TCP connections) and HTTP server.", @@ -2048,13 +2130,13 @@ }, "overrides": [] }, - "fill": 1, + "fill": 0, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 12, - "y": 11 + "y": 3 }, "hiddenSeries": false, "id": 77, @@ -2078,7 +2160,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.3.2", + "pluginVersion": "8.5.3", "pointradius": 2, "points": false, "renderer": "flot", @@ -2088,13 +2170,21 @@ "steppedLine": false, "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "$ds" + }, "exemplar": true, - "expr": "sum(rate(vm_ingestserver_request_errors_total{job=~\"$job\", instance=~\"$instance\", path!~\"/favicon.ico\"}[$__interval])) by(type, net) > 0", + "expr": "sum(rate(vm_ingestserver_request_errors_total{job=~\"$job\", instance=~\"$instance\", path!~\"/favicon.ico\"}[$__rate_interval])) by(type, net) > 0", "interval": "", "legendFormat": "{{ type }} ({{net}})", "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "$ds" + }, "exemplar": true, "expr": "sum(rate(vmagent_http_request_errors_total{job=~\"$job\", instance=~\"$instance\", protocol!=\"\"}[$__interval])) by(protocol) > 0", "interval": "", @@ -2139,6 +2229,7 @@ "dashLength": 10, "dashes": false, "datasource": { + "type": "prometheus", "uid": "$ds" }, "description": "Shows the rate of parsed rows from write or scrape requests.", @@ -2148,13 +2239,13 @@ }, "overrides": [] }, - "fill": 1, + "fill": 0, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 0, - "y": 19 + "y": 11 }, "hiddenSeries": false, "id": 78, @@ -2178,7 +2269,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.3.2", + "pluginVersion": "8.5.3", "pointradius": 2, "points": false, "renderer": "flot", @@ -2188,8 +2279,12 @@ "steppedLine": false, "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "$ds" + }, "exemplar": true, - "expr": "sum(rate(vm_protoparser_rows_read_total{job=~\"$job\", instance=~\"$instance\"}[$__interval])) by(type)", + "expr": "sum(rate(vm_protoparser_rows_read_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by(type) > 0", "interval": "", "legendFormat": "{{ type }}", "refId": "A" @@ -2232,6 +2327,7 @@ "dashLength": 10, "dashes": false, "datasource": { + "type": "prometheus", "uid": "$ds" }, "description": "Tracks the rate of dropped invalid rows because of errors while unmarshaling write requests. The exact errors messages will be printed in logs.", @@ -2241,13 +2337,13 @@ }, "overrides": [] }, - "fill": 1, + "fill": 0, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 12, - "y": 19 + "y": 11 }, "hiddenSeries": false, "id": 50, @@ -2270,7 +2366,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.3.2", + "pluginVersion": "8.5.3", "pointradius": 2, "points": false, "renderer": "flot", @@ -2280,8 +2376,12 @@ "steppedLine": false, "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "$ds" + }, "exemplar": true, - "expr": "sum(rate(vm_rows_invalid_total{job=~\"$job\", instance=~\"$instance\"}[$__interval])) by(type) > 0", + "expr": "sum(rate(vm_rows_invalid_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by(type) > 0", "interval": "", "legendFormat": "{{type}}", "refId": "A" @@ -2341,6 +2441,7 @@ "dashLength": 10, "dashes": false, "datasource": { + "type": "prometheus", "uid": "$ds" }, "description": "Shows the rate of requests to configured remote write endpoints by url and status code.\n\nRemote write URLs are hidden by default but might be unveiled once `-remoteWrite.showURL` is set to true.\n\n", @@ -2350,13 +2451,13 @@ }, "overrides": [] }, - "fill": 1, + "fill": 0, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 0, - "y": 12 + "y": 4 }, "hiddenSeries": false, "id": 60, @@ -2379,7 +2480,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.3.2", + "pluginVersion": "8.5.3", "pointradius": 2, "points": false, "renderer": "flot", @@ -2389,8 +2490,12 @@ "steppedLine": false, "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "$ds" + }, "exemplar": true, - "expr": "sum(rate(vmagent_remotewrite_requests_total{job=~\"$job\", instance=~\"$instance\", url=~\"$url\"}[$__interval])) by(url, status_code)", + "expr": "sum(rate(vmagent_remotewrite_requests_total{job=~\"$job\", instance=~\"$instance\", url=~\"$url\"}[$__rate_interval])) by(url, status_code) > 0", "interval": "", "legendFormat": "", "refId": "A" @@ -2434,6 +2539,7 @@ "dashLength": 10, "dashes": false, "datasource": { + "type": "prometheus", "uid": "$ds" }, "description": "Shows the global rate for number of written bytes via remote write connections.", @@ -2443,13 +2549,13 @@ }, "overrides": [] }, - "fill": 1, + "fill": 0, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 12, - "y": 12 + "y": 4 }, "hiddenSeries": false, "id": 66, @@ -2472,7 +2578,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.3.2", + "pluginVersion": "8.5.3", "pointradius": 2, "points": false, "renderer": "flot", @@ -2482,8 +2588,12 @@ "steppedLine": false, "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "$ds" + }, "exemplar": true, - "expr": "sum(rate(vmagent_remotewrite_conn_bytes_written_total{job=~\"$job\", instance=~\"$instance\"}[$__interval])) by(instance)", + "expr": "sum(rate(vmagent_remotewrite_conn_bytes_written_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by(instance) > 0", "interval": "", "legendFormat": "", "refId": "A" @@ -2494,7 +2604,7 @@ "title": "Bytes write rate ($instance)", "tooltip": { "shared": true, - "sort": 0, + "sort": 2, "value_type": "individual" }, "type": "graph", @@ -2526,6 +2636,7 @@ "dashLength": 10, "dashes": false, "datasource": { + "type": "prometheus", "uid": "$ds" }, "description": "Shows requests retry rate by url. Number of retries is unlimited but protected with delays up to 1m between attempts.\n\nRemote write URLs are hidden by default but might be unveiled once `-remoteWrite.showURL` is set to true.\n\n", @@ -2535,13 +2646,13 @@ }, "overrides": [] }, - "fill": 1, + "fill": 0, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 0, - "y": 20 + "y": 12 }, "hiddenSeries": false, "id": 61, @@ -2564,7 +2675,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.3.2", + "pluginVersion": "8.5.3", "pointradius": 2, "points": false, "renderer": "flot", @@ -2574,8 +2685,12 @@ "steppedLine": false, "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "$ds" + }, "exemplar": true, - "expr": "sum(rate(vmagent_remotewrite_retries_count_total{job=~\"$job\", instance=~\"$instance\", url=~\"$url\"}[$__interval])) by(url)", + "expr": "sum(rate(vmagent_remotewrite_retries_count_total{job=~\"$job\", instance=~\"$instance\", url=~\"$url\"}[$__rate_interval])) by(url)", "interval": "", "legendFormat": "", "refId": "A" @@ -2627,13 +2742,13 @@ }, "overrides": [] }, - "fill": 1, + "fill": 0, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 12, - "y": 20 + "y": 12 }, "hiddenSeries": false, "id": 65, @@ -2656,7 +2771,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.3.2", + "pluginVersion": "8.5.3", "pointradius": 2, "points": false, "renderer": "flot", @@ -2678,7 +2793,7 @@ "title": "Connections ($instance)", "tooltip": { "shared": true, - "sort": 0, + "sort": 2, "value_type": "individual" }, "type": "graph", @@ -2722,7 +2837,7 @@ "h": 8, "w": 12, "x": 0, - "y": 28 + "y": 20 }, "heatmap": {}, "hideZeroBuckets": false, @@ -2775,13 +2890,13 @@ }, "overrides": [] }, - "fill": 1, + "fill": 0, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 12, - "y": 28 + "y": 20 }, "hiddenSeries": false, "id": 84, @@ -2804,7 +2919,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.3.2", + "pluginVersion": "8.5.3", "pointradius": 2, "points": false, "renderer": "flot", @@ -2836,7 +2951,7 @@ "title": "Remote write connection saturation ($instance)", "tooltip": { "shared": true, - "sort": 0, + "sort": 2, "value_type": "individual" }, "type": "graph", @@ -2882,7 +2997,7 @@ "h": 8, "w": 12, "x": 0, - "y": 36 + "y": 28 }, "heatmap": {}, "hideZeroBuckets": false, @@ -2938,7 +3053,7 @@ "h": 8, "w": 12, "x": 12, - "y": 36 + "y": 28 }, "heatmap": {}, "hideZeroBuckets": false, @@ -2983,13 +3098,13 @@ "uid": "$ds" }, "description": "Shows the current limit usage of unique series over an hourly period. Vmagent will start to drop series once the limit is reached.\n\nPlease note, panel will be blank if `remoteWrite.maxHourlySeries` is not set.", - "fill": 1, + "fill": 0, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 0, - "y": 44 + "y": 36 }, "hiddenSeries": false, "id": 88, @@ -3009,7 +3124,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.3.2", + "pluginVersion": "8.5.3", "pointradius": 2, "points": false, "renderer": "flot", @@ -3086,13 +3201,13 @@ "uid": "$ds" }, "description": "Shows the current limit usage of unique series over a daily period. Vmagent will start to drop series once the limit is reached.\n\nPlease note, panel will be blank if `remoteWrite.maxDailySeries` is not set.", - "fill": 1, + "fill": 0, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 12, - "y": 44 + "y": 36 }, "hiddenSeries": false, "id": 90, @@ -3112,7 +3227,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.3.2", + "pluginVersion": "8.5.3", "pointradius": 2, "points": false, "renderer": "flot", @@ -3186,6 +3301,10 @@ }, { "collapsed": true, + "datasource": { + "type": "datasource", + "uid": "grafana" + }, "gridPos": { "h": 1, "w": 24, @@ -3200,10 +3319,11 @@ "dashLength": 10, "dashes": false, "datasource": { + "type": "prometheus", "uid": "$ds" }, "description": "Shows top 5 job by the number of new series registered by vmagent over the 5min range. These jobs generate the most of the churn rate.", - "fill": 1, + "fill": 0, "fillGradient": 0, "gridPos": { "h": 8, @@ -3233,7 +3353,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.3.2", + "pluginVersion": "8.5.3", "pointradius": 2, "points": false, "renderer": "flot", @@ -3247,7 +3367,7 @@ "uid": "$ds" }, "exemplar": false, - "expr": "topk(5, sum(sum_over_time(scrape_series_added[$__rate_interval])) by (job))", + "expr": "topk(5, sum(sum_over_time(scrape_series_added[5m])) by (job)) > 0", "interval": "", "legendFormat": "{{ job }}", "refId": "A" @@ -3289,10 +3409,11 @@ "dashLength": 10, "dashes": false, "datasource": { + "type": "prometheus", "uid": "$ds" }, "description": "Shows top 5 instances by the number of new series registered by vmagent over the 5min range. These instances generate the most of the churn rate.", - "fill": 1, + "fill": 0, "fillGradient": 0, "gridPos": { "h": 8, @@ -3322,7 +3443,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.3.2", + "pluginVersion": "8.5.3", "pointradius": 2, "points": false, "renderer": "flot", @@ -3336,7 +3457,7 @@ "uid": "$ds" }, "exemplar": false, - "expr": "topk(5, sum(sum_over_time(scrape_series_added[$__rate_interval])) by (instance))", + "expr": "topk(5, sum(sum_over_time(scrape_series_added[5m])) by (instance)) > 0", "interval": "", "legendFormat": "{{ instance }}", "refId": "A" @@ -3388,7 +3509,7 @@ }, "overrides": [] }, - "fill": 1, + "fill": 0, "fillGradient": 0, "gridPos": { "h": 8, @@ -3417,7 +3538,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.3.2", + "pluginVersion": "8.5.3", "pointradius": 2, "points": false, "renderer": "flot", @@ -3453,7 +3574,7 @@ "title": "Persistent queue write saturation ($instance)", "tooltip": { "shared": true, - "sort": 0, + "sort": 2, "value_type": "individual" }, "type": "graph", @@ -3497,7 +3618,7 @@ }, "overrides": [] }, - "fill": 1, + "fill": 0, "fillGradient": 0, "gridPos": { "h": 8, @@ -3526,7 +3647,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.3.2", + "pluginVersion": "8.5.3", "pointradius": 2, "points": false, "renderer": "flot", @@ -3623,13 +3744,13 @@ }, "overrides": [] }, - "fill": 1, + "fill": 0, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 0, - "y": 45 + "y": 62 }, "hiddenSeries": false, "id": 35, @@ -3659,7 +3780,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.3.5", + "pluginVersion": "8.5.3", "pointradius": 2, "points": false, "renderer": "flot", @@ -3680,7 +3801,7 @@ "uid": "$ds" }, "exemplar": false, - "expr": "sum(rate(process_cpu_seconds_total{job=~\"$job\", instance=~\"$instance\"}[$__interval])) by(instance)", + "expr": "sum(rate(process_cpu_seconds_total{job=~\"$job\", instance=~\"$instance\"}[$__rate_interval])) by(instance)", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -3748,13 +3869,13 @@ }, "overrides": [] }, - "fill": 1, + "fill": 0, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 12, - "y": 45 + "y": 62 }, "hiddenSeries": false, "id": 37, @@ -3784,7 +3905,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.3.5", + "pluginVersion": "8.5.3", "pointradius": 2, "points": false, "renderer": "flot", @@ -3855,13 +3976,13 @@ }, "overrides": [] }, - "fill": 1, + "fill": 0, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 0, - "y": 53 + "y": 70 }, "hiddenSeries": false, "id": 81, @@ -3885,7 +4006,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.3.5", + "pluginVersion": "8.5.3", "pointradius": 2, "points": false, "renderer": "flot", @@ -3970,7 +4091,7 @@ "h": 8, "w": 12, "x": 12, - "y": 53 + "y": 70 }, "hiddenSeries": false, "id": 7, @@ -3994,7 +4115,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.3.5", + "pluginVersion": "8.5.3", "pointradius": 2, "points": false, "renderer": "flot", @@ -4066,13 +4187,13 @@ }, "overrides": [] }, - "fill": 1, + "fill": 0, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 0, - "y": 61 + "y": 78 }, "hiddenSeries": false, "id": 83, @@ -4096,12 +4217,13 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.3.5", + "pluginVersion": "8.5.3", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [ { + "$$hashKey": "object:913", "alias": "max", "color": "#C4162A" } @@ -4174,13 +4296,13 @@ }, "overrides": [] }, - "fill": 1, + "fill": 0, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 12, - "y": 61 + "y": 78 }, "hiddenSeries": false, "id": 39, @@ -4204,7 +4326,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.3.5", + "pluginVersion": "8.5.3", "pointradius": 2, "points": false, "renderer": "flot", @@ -4268,13 +4390,13 @@ }, "overrides": [] }, - "fill": 1, + "fill": 0, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 0, - "y": 69 + "y": 86 }, "hiddenSeries": false, "id": 43, @@ -4298,7 +4420,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.3.5", + "pluginVersion": "8.5.3", "pointradius": 2, "points": false, "renderer": "flot", @@ -4360,13 +4482,13 @@ }, "overrides": [] }, - "fill": 1, + "fill": 0, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 12, - "y": 69 + "y": 86 }, "hiddenSeries": false, "id": 41, @@ -4390,7 +4512,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.3.5", + "pluginVersion": "8.5.3", "pointradius": 2, "points": false, "renderer": "flot", @@ -4444,8 +4566,8 @@ "type": "row" } ], - "refresh": false, - "schemaVersion": 34, + "refresh": "", + "schemaVersion": 36, "style": "dark", "tags": [ "vmagent", @@ -4455,9 +4577,7 @@ "list": [ { "current": { - "selected": false, - "text": "VictoriaMetrics", - "value": "VictoriaMetrics" + "selected": false }, "hide": 0, "includeAll": false, @@ -4547,7 +4667,7 @@ ] }, "time": { - "from": "now-30m", + "from": "now-3h", "to": "now" }, "timepicker": {