mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
1855 lines
42 KiB
JSON
1855 lines
42 KiB
JSON
|
{
|
||
|
"__inputs": [
|
||
|
{
|
||
|
"name": "DS_PROMETHEUS",
|
||
|
"label": "Prometheus",
|
||
|
"description": "",
|
||
|
"type": "datasource",
|
||
|
"pluginId": "prometheus",
|
||
|
"pluginName": "Prometheus"
|
||
|
}
|
||
|
],
|
||
|
"__requires": [
|
||
|
{
|
||
|
"type": "grafana",
|
||
|
"id": "grafana",
|
||
|
"name": "Grafana",
|
||
|
"version": "5.0.0"
|
||
|
},
|
||
|
{
|
||
|
"type": "panel",
|
||
|
"id": "graph",
|
||
|
"name": "Graph",
|
||
|
"version": "5.0.0"
|
||
|
},
|
||
|
{
|
||
|
"type": "datasource",
|
||
|
"id": "prometheus",
|
||
|
"name": "Prometheus",
|
||
|
"version": "5.0.0"
|
||
|
},
|
||
|
{
|
||
|
"type": "panel",
|
||
|
"id": "singlestat",
|
||
|
"name": "Singlestat",
|
||
|
"version": "5.0.0"
|
||
|
},
|
||
|
{
|
||
|
"type": "panel",
|
||
|
"id": "table",
|
||
|
"name": "Table",
|
||
|
"version": "5.0.0"
|
||
|
},
|
||
|
{
|
||
|
"type": "panel",
|
||
|
"id": "text",
|
||
|
"name": "Text",
|
||
|
"version": "5.0.0"
|
||
|
}
|
||
|
],
|
||
|
"annotations": {
|
||
|
"list": [
|
||
|
{
|
||
|
"builtIn": 1,
|
||
|
"datasource": "-- Grafana --",
|
||
|
"enable": true,
|
||
|
"hide": true,
|
||
|
"iconColor": "rgba(0, 211, 255, 1)",
|
||
|
"name": "Annotations & Alerts",
|
||
|
"type": "dashboard"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"description": "Overview for single node VictoriaMetrics",
|
||
|
"editable": true,
|
||
|
"gnetId": 10229,
|
||
|
"graphTooltip": 0,
|
||
|
"id": null,
|
||
|
"iteration": 1558335960106,
|
||
|
"links": [
|
||
|
{
|
||
|
"icon": "doc",
|
||
|
"tags": [],
|
||
|
"targetBlank": true,
|
||
|
"title": "Single server Wiki",
|
||
|
"type": "link",
|
||
|
"url": "https://github.com/VictoriaMetrics/VictoriaMetrics/wiki/Single-server-VictoriaMetrics"
|
||
|
},
|
||
|
{
|
||
|
"icon": "external link",
|
||
|
"tags": [],
|
||
|
"targetBlank": true,
|
||
|
"title": "Found a bug?",
|
||
|
"type": "link",
|
||
|
"url": "https://github.com/VictoriaMetrics/VictoriaMetrics/issues"
|
||
|
},
|
||
|
{
|
||
|
"icon": "external link",
|
||
|
"tags": [],
|
||
|
"targetBlank": true,
|
||
|
"title": "New releases",
|
||
|
"tooltip": "",
|
||
|
"type": "link",
|
||
|
"url": "https://github.com/VictoriaMetrics/VictoriaMetrics/releases"
|
||
|
}
|
||
|
],
|
||
|
"panels": [
|
||
|
{
|
||
|
"collapsed": false,
|
||
|
"gridPos": {
|
||
|
"h": 1,
|
||
|
"w": 24,
|
||
|
"x": 0,
|
||
|
"y": 0
|
||
|
},
|
||
|
"id": 6,
|
||
|
"panels": [],
|
||
|
"title": "Configuration",
|
||
|
"type": "row"
|
||
|
},
|
||
|
{
|
||
|
"content": "<div style=\"text-align: center; font-size: 2em\">$version</div>",
|
||
|
"description": "",
|
||
|
"gridPos": {
|
||
|
"h": 2,
|
||
|
"w": 8,
|
||
|
"x": 0,
|
||
|
"y": 1
|
||
|
},
|
||
|
"id": 2,
|
||
|
"links": [
|
||
|
{
|
||
|
"targetBlank": true,
|
||
|
"title": "VictoriaMetrics releases",
|
||
|
"type": "absolute",
|
||
|
"url": "https://github.com/VictoriaMetrics/VictoriaMetrics/releases"
|
||
|
}
|
||
|
],
|
||
|
"mode": "html",
|
||
|
"timeFrom": null,
|
||
|
"timeShift": null,
|
||
|
"title": "Version",
|
||
|
"type": "text"
|
||
|
},
|
||
|
{
|
||
|
"columns": [],
|
||
|
"datasource": "${DS_PROMETHEUS}",
|
||
|
"description": "Run VM with `-help` flag to see all the available flags with description and default values",
|
||
|
"fontSize": "100%",
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 16,
|
||
|
"x": 8,
|
||
|
"y": 1
|
||
|
},
|
||
|
"id": 4,
|
||
|
"links": [],
|
||
|
"pageSize": null,
|
||
|
"scroll": true,
|
||
|
"showHeader": true,
|
||
|
"sort": {
|
||
|
"col": 4,
|
||
|
"desc": true
|
||
|
},
|
||
|
"styles": [
|
||
|
{
|
||
|
"alias": "",
|
||
|
"colorMode": null,
|
||
|
"colors": [
|
||
|
"rgba(245, 54, 54, 0.9)",
|
||
|
"rgba(237, 129, 40, 0.89)",
|
||
|
"rgba(50, 172, 45, 0.97)"
|
||
|
],
|
||
|
"decimals": 2,
|
||
|
"pattern": "name",
|
||
|
"thresholds": [],
|
||
|
"type": "string",
|
||
|
"unit": "short"
|
||
|
},
|
||
|
{
|
||
|
"alias": "",
|
||
|
"colorMode": null,
|
||
|
"colors": [
|
||
|
"rgba(245, 54, 54, 0.9)",
|
||
|
"rgba(237, 129, 40, 0.89)",
|
||
|
"rgba(50, 172, 45, 0.97)"
|
||
|
],
|
||
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
||
|
"decimals": 2,
|
||
|
"mappingType": 1,
|
||
|
"pattern": "value",
|
||
|
"thresholds": [],
|
||
|
"type": "string",
|
||
|
"unit": "short"
|
||
|
},
|
||
|
{
|
||
|
"alias": "",
|
||
|
"colorMode": null,
|
||
|
"colors": [
|
||
|
"rgba(245, 54, 54, 0.9)",
|
||
|
"rgba(237, 129, 40, 0.89)",
|
||
|
"rgba(50, 172, 45, 0.97)"
|
||
|
],
|
||
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
||
|
"decimals": 2,
|
||
|
"mappingType": 1,
|
||
|
"pattern": ".*",
|
||
|
"thresholds": [],
|
||
|
"type": "hidden",
|
||
|
"unit": "short"
|
||
|
}
|
||
|
],
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "flag{job=\"$job\", value!=\"secret\", value!=\"\"}",
|
||
|
"format": "table",
|
||
|
"instant": true,
|
||
|
"intervalFactor": 1,
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"timeFrom": null,
|
||
|
"timeShift": null,
|
||
|
"title": "Flags",
|
||
|
"transform": "table",
|
||
|
"type": "table"
|
||
|
},
|
||
|
{
|
||
|
"cacheTimeout": null,
|
||
|
"colorBackground": false,
|
||
|
"colorValue": false,
|
||
|
"colors": [
|
||
|
"#299c46",
|
||
|
"rgba(237, 129, 40, 0.89)",
|
||
|
"#d44a3a"
|
||
|
],
|
||
|
"datasource": "${DS_PROMETHEUS}",
|
||
|
"description": "How many datapoints are in storage",
|
||
|
"format": "short",
|
||
|
"gauge": {
|
||
|
"maxValue": 100,
|
||
|
"minValue": 0,
|
||
|
"show": false,
|
||
|
"thresholdLabels": false,
|
||
|
"thresholdMarkers": true
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 2,
|
||
|
"w": 8,
|
||
|
"x": 0,
|
||
|
"y": 3
|
||
|
},
|
||
|
"id": 26,
|
||
|
"interval": null,
|
||
|
"links": [],
|
||
|
"mappingType": 1,
|
||
|
"mappingTypes": [
|
||
|
{
|
||
|
"name": "value to text",
|
||
|
"value": 1
|
||
|
},
|
||
|
{
|
||
|
"name": "range to text",
|
||
|
"value": 2
|
||
|
}
|
||
|
],
|
||
|
"maxDataPoints": 100,
|
||
|
"nullPointMode": "connected",
|
||
|
"nullText": null,
|
||
|
"postfix": "",
|
||
|
"postfixFontSize": "50%",
|
||
|
"prefix": "",
|
||
|
"prefixFontSize": "50%",
|
||
|
"rangeMaps": [
|
||
|
{
|
||
|
"from": "null",
|
||
|
"text": "N/A",
|
||
|
"to": "null"
|
||
|
}
|
||
|
],
|
||
|
"sparkline": {
|
||
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
||
|
"full": true,
|
||
|
"lineColor": "rgb(31, 120, 193)",
|
||
|
"show": true
|
||
|
},
|
||
|
"tableColumn": "",
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "sum(vm_rows{job=\"$job\", type!=\"indexdb\"})",
|
||
|
"format": "time_series",
|
||
|
"instant": false,
|
||
|
"intervalFactor": 1,
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": "",
|
||
|
"timeFrom": null,
|
||
|
"timeShift": null,
|
||
|
"title": "Total datapoints",
|
||
|
"type": "singlestat",
|
||
|
"valueFontSize": "80%",
|
||
|
"valueMaps": [
|
||
|
{
|
||
|
"op": "=",
|
||
|
"text": "N/A",
|
||
|
"value": "null"
|
||
|
}
|
||
|
],
|
||
|
"valueName": "current"
|
||
|
},
|
||
|
{
|
||
|
"cacheTimeout": null,
|
||
|
"colorBackground": false,
|
||
|
"colorValue": false,
|
||
|
"colors": [
|
||
|
"#299c46",
|
||
|
"rgba(237, 129, 40, 0.89)",
|
||
|
"#d44a3a"
|
||
|
],
|
||
|
"datasource": "${DS_PROMETHEUS}",
|
||
|
"description": "How many entries inverted index contains. This value is proportional to the number of unique timeseries in storage(cardinality).",
|
||
|
"format": "short",
|
||
|
"gauge": {
|
||
|
"maxValue": 100,
|
||
|
"minValue": 0,
|
||
|
"show": false,
|
||
|
"thresholdLabels": false,
|
||
|
"thresholdMarkers": true
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 2,
|
||
|
"w": 8,
|
||
|
"x": 0,
|
||
|
"y": 5
|
||
|
},
|
||
|
"id": 38,
|
||
|
"interval": null,
|
||
|
"links": [],
|
||
|
"mappingType": 1,
|
||
|
"mappingTypes": [
|
||
|
{
|
||
|
"name": "value to text",
|
||
|
"value": 1
|
||
|
},
|
||
|
{
|
||
|
"name": "range to text",
|
||
|
"value": 2
|
||
|
}
|
||
|
],
|
||
|
"maxDataPoints": 100,
|
||
|
"nullPointMode": "connected",
|
||
|
"nullText": null,
|
||
|
"postfix": "",
|
||
|
"postfixFontSize": "50%",
|
||
|
"prefix": "",
|
||
|
"prefixFontSize": "50%",
|
||
|
"rangeMaps": [
|
||
|
{
|
||
|
"from": "null",
|
||
|
"text": "N/A",
|
||
|
"to": "null"
|
||
|
}
|
||
|
],
|
||
|
"sparkline": {
|
||
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
||
|
"full": true,
|
||
|
"lineColor": "rgb(31, 120, 193)",
|
||
|
"show": true
|
||
|
},
|
||
|
"tableColumn": "",
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "sum(vm_rows{job=\"$job\", type=\"indexdb\"})",
|
||
|
"format": "time_series",
|
||
|
"instant": false,
|
||
|
"intervalFactor": 1,
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": "",
|
||
|
"timeFrom": null,
|
||
|
"timeShift": null,
|
||
|
"title": "Index size",
|
||
|
"type": "singlestat",
|
||
|
"valueFontSize": "80%",
|
||
|
"valueMaps": [
|
||
|
{
|
||
|
"op": "=",
|
||
|
"text": "N/A",
|
||
|
"value": "null"
|
||
|
}
|
||
|
],
|
||
|
"valueName": "current"
|
||
|
},
|
||
|
{
|
||
|
"cacheTimeout": null,
|
||
|
"colorBackground": false,
|
||
|
"colorValue": false,
|
||
|
"colors": [
|
||
|
"#299c46",
|
||
|
"rgba(237, 129, 40, 0.89)",
|
||
|
"#d44a3a"
|
||
|
],
|
||
|
"datasource": "${DS_PROMETHEUS}",
|
||
|
"format": "s",
|
||
|
"gauge": {
|
||
|
"maxValue": 100,
|
||
|
"minValue": 0,
|
||
|
"show": false,
|
||
|
"thresholdLabels": false,
|
||
|
"thresholdMarkers": true
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 2,
|
||
|
"w": 8,
|
||
|
"x": 0,
|
||
|
"y": 7
|
||
|
},
|
||
|
"id": 8,
|
||
|
"interval": null,
|
||
|
"links": [],
|
||
|
"mappingType": 1,
|
||
|
"mappingTypes": [
|
||
|
{
|
||
|
"name": "value to text",
|
||
|
"value": 1
|
||
|
},
|
||
|
{
|
||
|
"name": "range to text",
|
||
|
"value": 2
|
||
|
}
|
||
|
],
|
||
|
"maxDataPoints": 100,
|
||
|
"nullPointMode": "connected",
|
||
|
"nullText": null,
|
||
|
"postfix": "",
|
||
|
"postfixFontSize": "50%",
|
||
|
"prefix": "",
|
||
|
"prefixFontSize": "50%",
|
||
|
"rangeMaps": [
|
||
|
{
|
||
|
"from": "null",
|
||
|
"text": "N/A",
|
||
|
"to": "null"
|
||
|
}
|
||
|
],
|
||
|
"sparkline": {
|
||
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
||
|
"full": false,
|
||
|
"lineColor": "rgb(31, 120, 193)",
|
||
|
"show": false
|
||
|
},
|
||
|
"tableColumn": "",
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "vm_app_uptime_seconds{job=\"$job\"}",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 1,
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": "",
|
||
|
"timeFrom": null,
|
||
|
"timeShift": null,
|
||
|
"title": "Uptime",
|
||
|
"type": "singlestat",
|
||
|
"valueFontSize": "80%",
|
||
|
"valueMaps": [
|
||
|
{
|
||
|
"op": "=",
|
||
|
"text": "N/A",
|
||
|
"value": "null"
|
||
|
}
|
||
|
],
|
||
|
"valueName": "current"
|
||
|
},
|
||
|
{
|
||
|
"collapsed": false,
|
||
|
"gridPos": {
|
||
|
"h": 1,
|
||
|
"w": 24,
|
||
|
"x": 0,
|
||
|
"y": 9
|
||
|
},
|
||
|
"id": 24,
|
||
|
"panels": [],
|
||
|
"title": "Performance",
|
||
|
"type": "row"
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {},
|
||
|
"bars": false,
|
||
|
"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)",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 12,
|
||
|
"x": 0,
|
||
|
"y": 10
|
||
|
},
|
||
|
"id": 12,
|
||
|
"legend": {
|
||
|
"alignAsTable": true,
|
||
|
"avg": true,
|
||
|
"current": true,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"show": true,
|
||
|
"sort": "current",
|
||
|
"sortDesc": true,
|
||
|
"total": false,
|
||
|
"values": true
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [],
|
||
|
"nullPointMode": "null as zero",
|
||
|
"percentage": false,
|
||
|
"pointradius": 2,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"seriesOverrides": [],
|
||
|
"spaceLength": 10,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "sum(rate(vm_http_requests_total{job=\"$job\", path!~\"/favicon.ico\"}[$__interval])) by (path) > 0",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 1,
|
||
|
"legendFormat": "{{path}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [],
|
||
|
"timeFrom": null,
|
||
|
"timeRegions": [],
|
||
|
"timeShift": null,
|
||
|
"title": "Requests rate",
|
||
|
"tooltip": {
|
||
|
"shared": true,
|
||
|
"sort": 2,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": []
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"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
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"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,
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 12,
|
||
|
"x": 12,
|
||
|
"y": 10
|
||
|
},
|
||
|
"id": 22,
|
||
|
"legend": {
|
||
|
"alignAsTable": true,
|
||
|
"avg": true,
|
||
|
"current": true,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"show": true,
|
||
|
"sort": "current",
|
||
|
"sortDesc": true,
|
||
|
"total": false,
|
||
|
"values": true
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [],
|
||
|
"nullPointMode": "null as zero",
|
||
|
"percentage": false,
|
||
|
"pointradius": 2,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"seriesOverrides": [],
|
||
|
"spaceLength": 10,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "max(vm_request_duration_seconds{job=\"$job\", quantile=~\"(0.5|0.99)\"}) by (path, quantile) > 0",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 1,
|
||
|
"legendFormat": "{{quantile}} ({{path}})",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [],
|
||
|
"timeFrom": null,
|
||
|
"timeRegions": [],
|
||
|
"timeShift": null,
|
||
|
"title": "Query duration",
|
||
|
"tooltip": {
|
||
|
"shared": true,
|
||
|
"sort": 2,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": []
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "s",
|
||
|
"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": "* `*` - 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,
|
||
|
"w": 12,
|
||
|
"x": 0,
|
||
|
"y": 18
|
||
|
},
|
||
|
"id": 35,
|
||
|
"legend": {
|
||
|
"alignAsTable": true,
|
||
|
"avg": true,
|
||
|
"current": true,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"show": true,
|
||
|
"sort": "current",
|
||
|
"sortDesc": true,
|
||
|
"total": false,
|
||
|
"values": true
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [],
|
||
|
"nullPointMode": "null as zero",
|
||
|
"percentage": false,
|
||
|
"pointradius": 2,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"seriesOverrides": [],
|
||
|
"spaceLength": 10,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "sum(rate(vm_http_request_errors_total{job=\"$job\"}[$__interval])) by (path) > 0",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 1,
|
||
|
"legendFormat": "{{path}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [],
|
||
|
"timeFrom": null,
|
||
|
"timeRegions": [],
|
||
|
"timeShift": null,
|
||
|
"title": "Requests error rate",
|
||
|
"tooltip": {
|
||
|
"shared": true,
|
||
|
"sort": 2,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": []
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"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
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"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,
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 12,
|
||
|
"x": 12,
|
||
|
"y": 18
|
||
|
},
|
||
|
"id": 33,
|
||
|
"legend": {
|
||
|
"avg": false,
|
||
|
"current": false,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"show": false,
|
||
|
"total": false,
|
||
|
"values": false
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 2,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"seriesOverrides": [
|
||
|
{
|
||
|
"alias": "max allowed",
|
||
|
"color": "#C4162A"
|
||
|
}
|
||
|
],
|
||
|
"spaceLength": 10,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "sum(vm_cache_size_bytes{job=\"$job\"})",
|
||
|
"format": "time_series",
|
||
|
"hide": false,
|
||
|
"intervalFactor": 1,
|
||
|
"legendFormat": "size",
|
||
|
"refId": "A"
|
||
|
},
|
||
|
{
|
||
|
"expr": "max(vm_allowed_memory_bytes{job=\"$job\"})",
|
||
|
"format": "time_series",
|
||
|
"hide": false,
|
||
|
"intervalFactor": 1,
|
||
|
"legendFormat": "max allowed",
|
||
|
"refId": "B"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [],
|
||
|
"timeFrom": null,
|
||
|
"timeRegions": [],
|
||
|
"timeShift": null,
|
||
|
"title": "Cache size",
|
||
|
"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": "",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 12,
|
||
|
"x": 0,
|
||
|
"y": 26
|
||
|
},
|
||
|
"id": 37,
|
||
|
"legend": {
|
||
|
"avg": false,
|
||
|
"current": false,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"show": false,
|
||
|
"total": false,
|
||
|
"values": false
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [],
|
||
|
"nullPointMode": "null",
|
||
|
"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
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": "${DS_PROMETHEUS}",
|
||
|
"description": "",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 12,
|
||
|
"x": 12,
|
||
|
"y": 26
|
||
|
},
|
||
|
"id": 49,
|
||
|
"legend": {
|
||
|
"avg": false,
|
||
|
"current": false,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"show": false,
|
||
|
"total": false,
|
||
|
"values": false
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [],
|
||
|
"nullPointMode": "null",
|
||
|
"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": {
|
||
|
"h": 1,
|
||
|
"w": 24,
|
||
|
"x": 0,
|
||
|
"y": 34
|
||
|
},
|
||
|
"id": 14,
|
||
|
"panels": [],
|
||
|
"title": "Storage",
|
||
|
"type": "row"
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": "${DS_PROMETHEUS}",
|
||
|
"description": "How many datapoints are inserted into storage per second",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 12,
|
||
|
"x": 0,
|
||
|
"y": 35
|
||
|
},
|
||
|
"id": 10,
|
||
|
"legend": {
|
||
|
"alignAsTable": true,
|
||
|
"avg": true,
|
||
|
"current": true,
|
||
|
"hideZero": true,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": true
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [],
|
||
|
"nullPointMode": "null as zero",
|
||
|
"percentage": false,
|
||
|
"pointradius": 2,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"seriesOverrides": [
|
||
|
{
|
||
|
"alias": "deleted",
|
||
|
"transform": "negative-Y"
|
||
|
}
|
||
|
],
|
||
|
"spaceLength": 10,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "sum(rate(vm_rows_inserted_total{job=\"$job\"}[$__interval])) by (type) > 0",
|
||
|
"format": "time_series",
|
||
|
"hide": false,
|
||
|
"intervalFactor": 1,
|
||
|
"legendFormat": "{{type}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [],
|
||
|
"timeFrom": null,
|
||
|
"timeRegions": [],
|
||
|
"timeShift": null,
|
||
|
"title": "Datapoints ingestion rate",
|
||
|
"tooltip": {
|
||
|
"shared": true,
|
||
|
"sort": 2,
|
||
|
"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
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": "${DS_PROMETHEUS}",
|
||
|
"description": "How many datapoints are in RAM queue waiting to be written into storage. The less is better.",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 12,
|
||
|
"x": 12,
|
||
|
"y": 35
|
||
|
},
|
||
|
"id": 34,
|
||
|
"legend": {
|
||
|
"avg": false,
|
||
|
"current": false,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"show": false,
|
||
|
"total": false,
|
||
|
"values": false
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 2,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"seriesOverrides": [
|
||
|
{
|
||
|
"alias": "merges",
|
||
|
"yaxis": 2
|
||
|
}
|
||
|
],
|
||
|
"spaceLength": 10,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "sum(vm_pending_rows{job=\"$job\"})",
|
||
|
"format": "time_series",
|
||
|
"hide": false,
|
||
|
"intervalFactor": 1,
|
||
|
"legendFormat": "rows",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [],
|
||
|
"timeFrom": null,
|
||
|
"timeRegions": [],
|
||
|
"timeShift": null,
|
||
|
"title": "Pending datapoints",
|
||
|
"tooltip": {
|
||
|
"shared": true,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": []
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "short",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": null,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"decimals": 3,
|
||
|
"format": "none",
|
||
|
"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": "How many datapoints are in the storage.",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 12,
|
||
|
"x": 0,
|
||
|
"y": 43
|
||
|
},
|
||
|
"id": 30,
|
||
|
"legend": {
|
||
|
"avg": false,
|
||
|
"current": false,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"show": false,
|
||
|
"total": false,
|
||
|
"values": false
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 2,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"seriesOverrides": [],
|
||
|
"spaceLength": 10,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "sum(vm_rows{job=\"$job\", type != \"indexdb\"})",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 1,
|
||
|
"legendFormat": "datapoints",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [],
|
||
|
"timeFrom": null,
|
||
|
"timeRegions": [],
|
||
|
"timeShift": null,
|
||
|
"title": "Datapoints",
|
||
|
"tooltip": {
|
||
|
"shared": true,
|
||
|
"sort": 2,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": []
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"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
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"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,
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 12,
|
||
|
"x": 12,
|
||
|
"y": 43
|
||
|
},
|
||
|
"id": 36,
|
||
|
"legend": {
|
||
|
"avg": false,
|
||
|
"current": false,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": false
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 2,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"seriesOverrides": [],
|
||
|
"spaceLength": 10,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "sum(vm_parts{job=\"$job\"}) by (type)",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 1,
|
||
|
"legendFormat": "{{type}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [],
|
||
|
"timeFrom": null,
|
||
|
"timeRegions": [],
|
||
|
"timeShift": null,
|
||
|
"title": "LSM parts",
|
||
|
"tooltip": {
|
||
|
"shared": true,
|
||
|
"sort": 2,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": []
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"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": 51
|
||
|
},
|
||
|
"id": 46,
|
||
|
"panels": [],
|
||
|
"title": "Go runtime",
|
||
|
"type": "row"
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": "${DS_PROMETHEUS}",
|
||
|
"description": "",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 12,
|
||
|
"x": 0,
|
||
|
"y": 52
|
||
|
},
|
||
|
"id": 44,
|
||
|
"legend": {
|
||
|
"avg": false,
|
||
|
"current": false,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"show": false,
|
||
|
"total": false,
|
||
|
"values": false
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 2,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"seriesOverrides": [],
|
||
|
"spaceLength": 10,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "sum(go_memstats_sys_bytes{job=\"$job\"}) + sum(vm_cache_size_bytes{job=\"$job\"})",
|
||
|
"format": "time_series",
|
||
|
"hide": false,
|
||
|
"intervalFactor": 1,
|
||
|
"legendFormat": "requested from system",
|
||
|
"refId": "A"
|
||
|
},
|
||
|
{
|
||
|
"expr": "sum(go_memstats_heap_inuse_bytes{job=\"$job\"}) + sum(vm_cache_size_bytes{job=\"$job\"})",
|
||
|
"format": "time_series",
|
||
|
"hide": false,
|
||
|
"intervalFactor": 1,
|
||
|
"legendFormat": "heap inuse",
|
||
|
"refId": "B"
|
||
|
},
|
||
|
{
|
||
|
"expr": "sum(go_memstats_stack_inuse_bytes{job=\"$job\"})",
|
||
|
"format": "time_series",
|
||
|
"hide": false,
|
||
|
"intervalFactor": 1,
|
||
|
"legendFormat": "stack inuse",
|
||
|
"refId": "C"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [],
|
||
|
"timeFrom": null,
|
||
|
"timeRegions": [],
|
||
|
"timeShift": null,
|
||
|
"title": "Memory usage",
|
||
|
"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": "0",
|
||
|
"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}",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 12,
|
||
|
"x": 12,
|
||
|
"y": 52
|
||
|
},
|
||
|
"id": 42,
|
||
|
"legend": {
|
||
|
"avg": false,
|
||
|
"current": false,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"show": false,
|
||
|
"total": false,
|
||
|
"values": false
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 2,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"seriesOverrides": [],
|
||
|
"spaceLength": 10,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "sum(rate(go_gc_duration_seconds_sum{job=\"$job\"}[2m]))",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "gc duration",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [],
|
||
|
"timeFrom": null,
|
||
|
"timeRegions": [],
|
||
|
"timeShift": null,
|
||
|
"title": "GC duration",
|
||
|
"tooltip": {
|
||
|
"shared": true,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": []
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "s",
|
||
|
"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}",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 12,
|
||
|
"x": 0,
|
||
|
"y": 60
|
||
|
},
|
||
|
"id": 47,
|
||
|
"legend": {
|
||
|
"avg": false,
|
||
|
"current": false,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"show": false,
|
||
|
"total": false,
|
||
|
"values": false
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 2,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"seriesOverrides": [],
|
||
|
"spaceLength": 10,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "sum(go_goroutines{job=\"$job\"})",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "gc duration",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [],
|
||
|
"timeFrom": null,
|
||
|
"timeRegions": [],
|
||
|
"timeShift": null,
|
||
|
"title": "Goroutines",
|
||
|
"tooltip": {
|
||
|
"shared": true,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": []
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"decimals": 0,
|
||
|
"format": "short",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": "0",
|
||
|
"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}",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 12,
|
||
|
"x": 12,
|
||
|
"y": 60
|
||
|
},
|
||
|
"id": 48,
|
||
|
"legend": {
|
||
|
"avg": false,
|
||
|
"current": false,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"show": false,
|
||
|
"total": false,
|
||
|
"values": false
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 2,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"seriesOverrides": [],
|
||
|
"spaceLength": 10,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "sum(go_threads{job=\"$job\"})",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "threads",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [],
|
||
|
"timeFrom": null,
|
||
|
"timeRegions": [],
|
||
|
"timeShift": null,
|
||
|
"title": "Threads",
|
||
|
"tooltip": {
|
||
|
"shared": true,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": []
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"decimals": 0,
|
||
|
"format": "short",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": "0",
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "short",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": null,
|
||
|
"show": true
|
||
|
}
|
||
|
],
|
||
|
"yaxis": {
|
||
|
"align": false,
|
||
|
"alignLevel": null
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"refresh": "30s",
|
||
|
"schemaVersion": 16,
|
||
|
"style": "dark",
|
||
|
"tags": [],
|
||
|
"templating": {
|
||
|
"list": [
|
||
|
{
|
||
|
"allValue": null,
|
||
|
"current": {},
|
||
|
"datasource": "${DS_PROMETHEUS}",
|
||
|
"definition": "label_values(vm_app_version, job)",
|
||
|
"hide": 0,
|
||
|
"includeAll": false,
|
||
|
"label": null,
|
||
|
"multi": false,
|
||
|
"name": "job",
|
||
|
"options": [],
|
||
|
"query": "label_values(vm_app_version, job)",
|
||
|
"refresh": 1,
|
||
|
"regex": "",
|
||
|
"skipUrlSync": false,
|
||
|
"sort": 0,
|
||
|
"tagValuesQuery": "",
|
||
|
"tags": [],
|
||
|
"tagsQuery": "",
|
||
|
"type": "query",
|
||
|
"useTags": false
|
||
|
},
|
||
|
{
|
||
|
"allValue": null,
|
||
|
"current": {},
|
||
|
"datasource": "${DS_PROMETHEUS}",
|
||
|
"definition": "label_values(vm_app_version{job=\"$job\"}, version)",
|
||
|
"hide": 2,
|
||
|
"includeAll": false,
|
||
|
"label": null,
|
||
|
"multi": false,
|
||
|
"name": "version",
|
||
|
"options": [],
|
||
|
"query": "label_values(vm_app_version{job=\"$job\"}, version)",
|
||
|
"refresh": 1,
|
||
|
"regex": "/.*-tags-(v\\d+\\.\\d+\\.\\d+)/",
|
||
|
"skipUrlSync": false,
|
||
|
"sort": 2,
|
||
|
"tagValuesQuery": "",
|
||
|
"tags": [],
|
||
|
"tagsQuery": "",
|
||
|
"type": "query",
|
||
|
"useTags": false
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"time": {
|
||
|
"from": "now-1h",
|
||
|
"to": "now"
|
||
|
},
|
||
|
"timepicker": {
|
||
|
"refresh_intervals": [
|
||
|
"5s",
|
||
|
"10s",
|
||
|
"30s",
|
||
|
"1m",
|
||
|
"5m",
|
||
|
"15m",
|
||
|
"30m",
|
||
|
"1h",
|
||
|
"2h",
|
||
|
"1d"
|
||
|
],
|
||
|
"time_options": [
|
||
|
"5m",
|
||
|
"15m",
|
||
|
"1h",
|
||
|
"6h",
|
||
|
"12h",
|
||
|
"24h",
|
||
|
"2d",
|
||
|
"7d",
|
||
|
"30d"
|
||
|
]
|
||
|
},
|
||
|
"timezone": "",
|
||
|
"title": "VictoriaMetrics",
|
||
|
"uid": "wNf0q_kZk",
|
||
|
"version": 15
|
||
|
}
|