2023-06-21 09:04:03 +02:00
|
|
|
{
|
|
|
|
"annotations": {
|
|
|
|
"list": [
|
|
|
|
{
|
|
|
|
"builtIn": 1,
|
|
|
|
"datasource": {
|
|
|
|
"type": "grafana",
|
|
|
|
"uid": "-- Grafana --"
|
|
|
|
},
|
|
|
|
"enable": true,
|
|
|
|
"hide": true,
|
|
|
|
"iconColor": "rgba(0, 211, 255, 1)",
|
|
|
|
"name": "Annotations & Alerts",
|
|
|
|
"target": {
|
|
|
|
"limit": 100,
|
|
|
|
"matchAny": false,
|
|
|
|
"tags": [],
|
|
|
|
"type": "dashboard"
|
|
|
|
},
|
|
|
|
"type": "dashboard"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"description": "",
|
|
|
|
"editable": true,
|
|
|
|
"fiscalYearStartMonth": 0,
|
|
|
|
"graphTooltip": 1,
|
|
|
|
"links": [],
|
|
|
|
"liveNow": false,
|
|
|
|
"panels": [
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "P4169E866C3094E38"
|
|
|
|
},
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"color": {
|
|
|
|
"mode": "palette-classic"
|
|
|
|
},
|
|
|
|
"custom": {
|
|
|
|
"axisCenteredZero": false,
|
|
|
|
"axisColorMode": "text",
|
|
|
|
"axisLabel": "",
|
|
|
|
"axisPlacement": "auto",
|
|
|
|
"barAlignment": 0,
|
|
|
|
"drawStyle": "line",
|
|
|
|
"fillOpacity": 0,
|
|
|
|
"gradientMode": "none",
|
|
|
|
"hideFrom": {
|
|
|
|
"legend": false,
|
|
|
|
"tooltip": false,
|
|
|
|
"viz": false
|
|
|
|
},
|
|
|
|
"lineInterpolation": "linear",
|
|
|
|
"lineWidth": 1,
|
|
|
|
"pointSize": 5,
|
|
|
|
"scaleDistribution": {
|
|
|
|
"type": "linear"
|
|
|
|
},
|
|
|
|
"showPoints": "auto",
|
|
|
|
"spanNulls": false,
|
|
|
|
"stacking": {
|
|
|
|
"group": "A",
|
|
|
|
"mode": "none"
|
|
|
|
},
|
|
|
|
"thresholdsStyle": {
|
|
|
|
"mode": "off"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"mappings": [],
|
|
|
|
"thresholds": {
|
|
|
|
"mode": "absolute",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"color": "green",
|
|
|
|
"value": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"color": "red",
|
|
|
|
"value": 80
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2023-10-13 15:13:41 +02:00
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"matcher": {
|
|
|
|
"id": "byRegexp",
|
|
|
|
"options": ".*VictoriaLogs.*"
|
|
|
|
},
|
|
|
|
"properties": [
|
|
|
|
{
|
|
|
|
"id": "color",
|
|
|
|
"value": {
|
|
|
|
"fixedColor": "yellow",
|
|
|
|
"mode": "fixed"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"matcher": {
|
|
|
|
"id": "byRegexp",
|
|
|
|
"options": ".*Loki.*"
|
|
|
|
},
|
|
|
|
"properties": [
|
|
|
|
{
|
|
|
|
"id": "color",
|
|
|
|
"value": {
|
|
|
|
"fixedColor": "green",
|
|
|
|
"mode": "fixed"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2023-06-21 09:04:03 +02:00
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 7,
|
|
|
|
"w": 24,
|
|
|
|
"x": 0,
|
|
|
|
"y": 0
|
|
|
|
},
|
|
|
|
"id": 4,
|
|
|
|
"options": {
|
|
|
|
"legend": {
|
|
|
|
"calcs": [
|
|
|
|
"last"
|
|
|
|
],
|
|
|
|
"displayMode": "table",
|
|
|
|
"placement": "right",
|
|
|
|
"showLegend": true
|
|
|
|
},
|
|
|
|
"tooltip": {
|
|
|
|
"mode": "single",
|
|
|
|
"sort": "none"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "P4169E866C3094E38"
|
|
|
|
},
|
|
|
|
"editorMode": "code",
|
2023-10-13 15:13:41 +02:00
|
|
|
"expr": "sum(rate(vl_rows_ingested_total))",
|
|
|
|
"legendFormat": "VictoriaLogs",
|
2023-06-21 09:04:03 +02:00
|
|
|
"range": true,
|
|
|
|
"refId": "A"
|
2023-10-13 15:13:41 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "P4169E866C3094E38"
|
|
|
|
},
|
|
|
|
"editorMode": "code",
|
|
|
|
"expr": "rate(loki_distributor_lines_received_total)",
|
|
|
|
"hide": false,
|
|
|
|
"legendFormat": "Loki",
|
|
|
|
"range": true,
|
|
|
|
"refId": "B"
|
2023-06-21 09:04:03 +02:00
|
|
|
}
|
|
|
|
],
|
2023-10-13 15:13:41 +02:00
|
|
|
"title": "Ingestion rate",
|
2023-06-21 09:04:03 +02:00
|
|
|
"type": "timeseries"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "P4169E866C3094E38"
|
|
|
|
},
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"color": {
|
|
|
|
"mode": "palette-classic"
|
|
|
|
},
|
|
|
|
"custom": {
|
|
|
|
"axisCenteredZero": false,
|
|
|
|
"axisColorMode": "text",
|
|
|
|
"axisLabel": "",
|
|
|
|
"axisPlacement": "auto",
|
|
|
|
"barAlignment": 0,
|
|
|
|
"drawStyle": "line",
|
|
|
|
"fillOpacity": 0,
|
|
|
|
"gradientMode": "none",
|
|
|
|
"hideFrom": {
|
|
|
|
"legend": false,
|
|
|
|
"tooltip": false,
|
|
|
|
"viz": false
|
|
|
|
},
|
|
|
|
"lineInterpolation": "linear",
|
|
|
|
"lineWidth": 1,
|
|
|
|
"pointSize": 5,
|
|
|
|
"scaleDistribution": {
|
|
|
|
"type": "linear"
|
|
|
|
},
|
|
|
|
"showPoints": "auto",
|
|
|
|
"spanNulls": false,
|
|
|
|
"stacking": {
|
|
|
|
"group": "A",
|
|
|
|
"mode": "none"
|
|
|
|
},
|
|
|
|
"thresholdsStyle": {
|
|
|
|
"mode": "off"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"mappings": [],
|
|
|
|
"thresholds": {
|
|
|
|
"mode": "absolute",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"color": "green",
|
|
|
|
"value": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-06-22 11:46:25 +02:00
|
|
|
"unit": "none"
|
2023-06-21 09:04:03 +02:00
|
|
|
},
|
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"matcher": {
|
|
|
|
"id": "byRegexp",
|
|
|
|
"options": ".*vlogs.*"
|
|
|
|
},
|
|
|
|
"properties": [
|
|
|
|
{
|
|
|
|
"id": "color",
|
|
|
|
"value": {
|
|
|
|
"fixedColor": "yellow",
|
|
|
|
"mode": "fixed"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"matcher": {
|
|
|
|
"id": "byRegexp",
|
2023-10-13 15:13:41 +02:00
|
|
|
"options": ".*loki.*"
|
2023-06-21 09:04:03 +02:00
|
|
|
},
|
|
|
|
"properties": [
|
|
|
|
{
|
|
|
|
"id": "color",
|
|
|
|
"value": {
|
|
|
|
"fixedColor": "green",
|
|
|
|
"mode": "fixed"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 11,
|
|
|
|
"w": 12,
|
|
|
|
"x": 0,
|
|
|
|
"y": 7
|
|
|
|
},
|
|
|
|
"id": 2,
|
|
|
|
"options": {
|
|
|
|
"legend": {
|
|
|
|
"calcs": [
|
|
|
|
"mean",
|
|
|
|
"min",
|
|
|
|
"max"
|
|
|
|
],
|
|
|
|
"displayMode": "table",
|
|
|
|
"placement": "bottom",
|
|
|
|
"showLegend": true
|
|
|
|
},
|
|
|
|
"tooltip": {
|
|
|
|
"mode": "single",
|
|
|
|
"sort": "none"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "P4169E866C3094E38"
|
|
|
|
},
|
|
|
|
"editorMode": "code",
|
2023-06-22 11:46:25 +02:00
|
|
|
"expr": "sum(rate(container_cpu_usage_seconds_total{name=~\"$containers\"})) by (name)",
|
2023-06-21 09:04:03 +02:00
|
|
|
"legendFormat": "__auto",
|
|
|
|
"range": true,
|
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
2023-06-22 11:46:25 +02:00
|
|
|
"title": "CPU cores usage",
|
2023-06-21 09:04:03 +02:00
|
|
|
"type": "timeseries"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "P4169E866C3094E38"
|
|
|
|
},
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"color": {
|
|
|
|
"mode": "palette-classic"
|
|
|
|
},
|
|
|
|
"custom": {
|
|
|
|
"axisCenteredZero": false,
|
|
|
|
"axisColorMode": "text",
|
|
|
|
"axisLabel": "",
|
|
|
|
"axisPlacement": "auto",
|
|
|
|
"barAlignment": 0,
|
|
|
|
"drawStyle": "line",
|
|
|
|
"fillOpacity": 0,
|
|
|
|
"gradientMode": "none",
|
|
|
|
"hideFrom": {
|
|
|
|
"legend": false,
|
|
|
|
"tooltip": false,
|
|
|
|
"viz": false
|
|
|
|
},
|
|
|
|
"lineInterpolation": "linear",
|
|
|
|
"lineWidth": 1,
|
|
|
|
"pointSize": 5,
|
|
|
|
"scaleDistribution": {
|
|
|
|
"type": "linear"
|
|
|
|
},
|
|
|
|
"showPoints": "auto",
|
|
|
|
"spanNulls": false,
|
|
|
|
"stacking": {
|
|
|
|
"group": "A",
|
|
|
|
"mode": "none"
|
|
|
|
},
|
|
|
|
"thresholdsStyle": {
|
|
|
|
"mode": "off"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"mappings": [],
|
|
|
|
"thresholds": {
|
|
|
|
"mode": "absolute",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"color": "green",
|
|
|
|
"value": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"unit": "bytes"
|
|
|
|
},
|
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"matcher": {
|
|
|
|
"id": "byRegexp",
|
|
|
|
"options": ".*vlogs.*"
|
|
|
|
},
|
|
|
|
"properties": [
|
|
|
|
{
|
|
|
|
"id": "color",
|
|
|
|
"value": {
|
|
|
|
"fixedColor": "yellow",
|
|
|
|
"mode": "fixed"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"matcher": {
|
|
|
|
"id": "byRegexp",
|
2023-10-13 15:13:41 +02:00
|
|
|
"options": ".*loki.*"
|
2023-06-21 09:04:03 +02:00
|
|
|
},
|
|
|
|
"properties": [
|
|
|
|
{
|
|
|
|
"id": "color",
|
|
|
|
"value": {
|
|
|
|
"fixedColor": "green",
|
|
|
|
"mode": "fixed"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 11,
|
|
|
|
"w": 12,
|
|
|
|
"x": 12,
|
|
|
|
"y": 7
|
|
|
|
},
|
|
|
|
"id": 3,
|
|
|
|
"options": {
|
|
|
|
"legend": {
|
|
|
|
"calcs": [
|
|
|
|
"min",
|
|
|
|
"max",
|
|
|
|
"mean"
|
|
|
|
],
|
|
|
|
"displayMode": "table",
|
|
|
|
"placement": "bottom",
|
|
|
|
"showLegend": true
|
|
|
|
},
|
|
|
|
"tooltip": {
|
|
|
|
"mode": "single",
|
|
|
|
"sort": "none"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "P4169E866C3094E38"
|
|
|
|
},
|
|
|
|
"editorMode": "code",
|
|
|
|
"expr": "sum(container_memory_rss{name=~\"$containers\"}) by (name)",
|
|
|
|
"legendFormat": "__auto",
|
|
|
|
"range": true,
|
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"title": "Memory Usage",
|
|
|
|
"type": "timeseries"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "P4169E866C3094E38"
|
|
|
|
},
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"color": {
|
|
|
|
"mode": "palette-classic"
|
|
|
|
},
|
|
|
|
"custom": {
|
|
|
|
"axisCenteredZero": false,
|
|
|
|
"axisColorMode": "text",
|
|
|
|
"axisLabel": "",
|
|
|
|
"axisPlacement": "auto",
|
|
|
|
"barAlignment": 0,
|
|
|
|
"drawStyle": "line",
|
|
|
|
"fillOpacity": 0,
|
|
|
|
"gradientMode": "none",
|
|
|
|
"hideFrom": {
|
|
|
|
"legend": false,
|
|
|
|
"tooltip": false,
|
|
|
|
"viz": false
|
|
|
|
},
|
|
|
|
"lineInterpolation": "linear",
|
|
|
|
"lineWidth": 1,
|
|
|
|
"pointSize": 5,
|
|
|
|
"scaleDistribution": {
|
|
|
|
"type": "linear"
|
|
|
|
},
|
|
|
|
"showPoints": "auto",
|
|
|
|
"spanNulls": false,
|
|
|
|
"stacking": {
|
|
|
|
"group": "A",
|
|
|
|
"mode": "none"
|
|
|
|
},
|
|
|
|
"thresholdsStyle": {
|
|
|
|
"mode": "off"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"mappings": [],
|
|
|
|
"thresholds": {
|
|
|
|
"mode": "absolute",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"color": "green",
|
|
|
|
"value": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"unit": "decbytes"
|
|
|
|
},
|
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"matcher": {
|
|
|
|
"id": "byRegexp",
|
|
|
|
"options": ".*vlogs.*"
|
|
|
|
},
|
|
|
|
"properties": [
|
|
|
|
{
|
|
|
|
"id": "color",
|
|
|
|
"value": {
|
|
|
|
"fixedColor": "yellow",
|
|
|
|
"mode": "fixed"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"matcher": {
|
|
|
|
"id": "byRegexp",
|
2023-10-13 15:13:41 +02:00
|
|
|
"options": ".*loki.*"
|
2023-06-21 09:04:03 +02:00
|
|
|
},
|
|
|
|
"properties": [
|
|
|
|
{
|
|
|
|
"id": "color",
|
|
|
|
"value": {
|
|
|
|
"fixedColor": "green",
|
|
|
|
"mode": "fixed"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 11,
|
|
|
|
"w": 12,
|
|
|
|
"x": 0,
|
|
|
|
"y": 18
|
|
|
|
},
|
|
|
|
"id": 5,
|
|
|
|
"options": {
|
|
|
|
"legend": {
|
|
|
|
"calcs": [
|
|
|
|
"min",
|
|
|
|
"max",
|
|
|
|
"mean"
|
|
|
|
],
|
|
|
|
"displayMode": "table",
|
|
|
|
"placement": "bottom",
|
|
|
|
"showLegend": true
|
|
|
|
},
|
|
|
|
"tooltip": {
|
|
|
|
"mode": "single",
|
|
|
|
"sort": "none"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "P4169E866C3094E38"
|
|
|
|
},
|
|
|
|
"editorMode": "code",
|
|
|
|
"expr": "sum(node_disk_usage_bytes{path=~\"$containers_selector\"}) by (path)",
|
|
|
|
"legendFormat": "__auto",
|
|
|
|
"range": true,
|
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"title": "Disk space used",
|
|
|
|
"type": "timeseries"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"refresh": "10s",
|
|
|
|
"schemaVersion": 37,
|
|
|
|
"style": "dark",
|
|
|
|
"tags": [],
|
|
|
|
"templating": {
|
|
|
|
"list": [
|
|
|
|
{
|
|
|
|
"hide": 2,
|
|
|
|
"name": "containers_selector",
|
2023-10-13 15:13:41 +02:00
|
|
|
"query": ".*(vlogs|loki).*",
|
2023-06-21 09:04:03 +02:00
|
|
|
"skipUrlSync": false,
|
|
|
|
"type": "constant"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"current": {
|
|
|
|
"selected": true,
|
|
|
|
"text": [
|
2023-10-13 15:13:41 +02:00
|
|
|
"All"
|
2023-06-21 09:04:03 +02:00
|
|
|
],
|
|
|
|
"value": [
|
2023-10-13 15:13:41 +02:00
|
|
|
"$__all"
|
2023-06-21 09:04:03 +02:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "P4169E866C3094E38"
|
|
|
|
},
|
|
|
|
"definition": "label_values(container_cpu_usage_seconds_total{name!=\"\",}, name)",
|
|
|
|
"hide": 0,
|
|
|
|
"includeAll": true,
|
|
|
|
"label": "",
|
|
|
|
"multi": true,
|
|
|
|
"name": "containers",
|
|
|
|
"options": [],
|
|
|
|
"query": {
|
|
|
|
"query": "label_values(container_cpu_usage_seconds_total{name!=\"\",}, name)",
|
|
|
|
"refId": "StandardVariableQuery"
|
|
|
|
},
|
|
|
|
"refresh": 1,
|
2023-10-13 15:13:41 +02:00
|
|
|
"regex": ".*benchmark-vlogs|benchmark-loki.*",
|
2023-06-21 09:04:03 +02:00
|
|
|
"skipUrlSync": false,
|
|
|
|
"sort": 1,
|
|
|
|
"type": "query"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"time": {
|
2023-10-13 15:13:41 +02:00
|
|
|
"from": "now-1h",
|
2023-06-21 09:04:03 +02:00
|
|
|
"to": "now"
|
|
|
|
},
|
|
|
|
"timepicker": {},
|
|
|
|
"timezone": "",
|
2023-10-13 15:13:41 +02:00
|
|
|
"title": "Loki vs VLogs",
|
|
|
|
"uid": "hkm6P6_4y",
|
|
|
|
"version": 1,
|
2023-06-21 09:04:03 +02:00
|
|
|
"weekStart": ""
|
|
|
|
}
|