Page MenuHomePhorge

No OneTemporary

Authored By
Unknown
Size
138 KB
Referenced Files
None
Subscribers
None
diff --git a/helm/files/grafana-overview-dashboard.json b/helm/files/grafana-overview-dashboard.json
index c8719c2..0efcd16 100644
--- a/helm/files/grafana-overview-dashboard.json
+++ b/helm/files/grafana-overview-dashboard.json
@@ -1,2882 +1,3427 @@
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"links": [],
"panels": [
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
+ "id": 47,
+ "panels": [],
+ "title": "Postfix",
+ "type": "row"
+ },
+ {
+ "datasource": {
+ "type": "victoriametrics-logs-datasource",
+ "uid": "victorialogs1"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "barWidthFactor": 0.6,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "showValues": false,
+ "spanNulls": 3600000,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "dashed"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "dark-red",
+ "value": 4000
+ }
+ ]
+ },
+ "unit": "ms"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 1
+ },
+ "id": 48,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "hideZeros": false,
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "pluginVersion": "12.4.1",
+ "targets": [
+ {
+ "datasource": {
+ "type": "victoriametrics-logs-datasource",
+ "uid": "victorialogs1"
+ },
+ "editorMode": "code",
+ "expr": "container_name:amavis\n| TIMING\n| extract \"[total <timing> ms]\"\n| stats avg(timing) as avg_timing, max(timing) as max_timing",
+ "queryType": "statsRange",
+ "refId": "A"
+ },
+ {
+ "datasource": {
+ "type": "victoriametrics-logs-datasource",
+ "uid": "victorialogs1"
+ },
+ "editorMode": "code",
+ "expr": "container_name:amavis\n| TIMING\n| \"SA check\"\n| extract \"SA check: <sacheck> \"\n| stats avg(sacheck) as avg_sacheck, max(sacheck) as max_sacheck",
+ "queryType": "statsRange",
+ "refId": "SA check"
+ }
+ ],
+ "title": "Amavis TIMING",
+ "type": "timeseries"
+ },
+ {
+ "collapsed": false,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 9
+ },
"id": 34,
"panels": [],
"title": "HTTP",
"type": "row"
},
{
"datasource": {
"type": "victoriametrics-logs-datasource",
"uid": "victorialogs1"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
- "insertNulls": false,
+ "insertNulls": 3600000,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"showValues": false,
"spanNulls": 3600000,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
},
"unit": "reqps"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
- "y": 1
+ "y": 10
},
"id": 37,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.4.1",
"targets": [
{
"datasource": {
"type": "victoriametrics-logs-datasource",
"uid": "victorialogs1"
},
"editorMode": "code",
"expr": "container_name:proxy\n| status=\n| stats by (1m, status) count() as count\n| math (count / 60) as count\n",
"legendFormat": "Code: {{status}}",
"queryType": "statsRange",
"refId": "A",
"step": ""
}
],
"title": "Requests",
"type": "timeseries"
},
{
"datasource": {
"type": "victoriametrics-logs-datasource",
"uid": "victorialogs1"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"showValues": false,
- "spanNulls": 3600000,
+ "spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
},
- "unit": "cps"
+ "unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
- "y": 1
+ "y": 10
},
- "id": 35,
+ "id": 49,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.4.1",
"targets": [
{
"datasource": {
"type": "victoriametrics-logs-datasource",
"uid": "victorialogs1"
},
"editorMode": "code",
- "expr": "container_name:proxy\n| \"Connection refused\"\n| stats by (1m) count(*) as count\n| math (count / 60) as count",
- "legendFormat": "Refused connections",
+ "expr": "container_name:proxy\n| status=\n| stats by (status)\n avg(body-bytes) as avg-body-size,\n max(body-bytes) as max-body-size",
"queryType": "statsRange",
"refId": "A"
}
],
- "title": "Connection refused",
+ "title": "Request body size",
"type": "timeseries"
},
{
"datasource": {
"type": "victoriametrics-logs-datasource",
"uid": "victorialogs1"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"showValues": false,
"spanNulls": 3600000,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
},
"unit": "reqps"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
- "y": 9
+ "y": 18
},
"id": 42,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.4.1",
"targets": [
{
"datasource": {
"type": "victoriametrics-logs-datasource",
"uid": "victorialogs1"
},
"editorMode": "code",
"expr": "container_name:proxy\n| status=\n| replace_regexp(\"/apps/.*\", \"/apps/\") at url\n| replace_regexp(\"/grafana/.*\", \"/grafana/\") at url\n| stats by (1m, url) count() as count\n| math (count / 60) as count",
"legendFormat": "{{url}}",
"queryType": "statsRange",
"refId": "A"
}
],
"title": "Requests by path",
"type": "timeseries"
},
{
"datasource": {
"type": "victoriametrics-logs-datasource",
"uid": "victorialogs1"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"showValues": false,
- "spanNulls": false,
+ "spanNulls": 3600000,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
},
"unit": "cps"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
- "y": 9
+ "y": 18
},
- "id": 38,
+ "id": 35,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.4.1",
"targets": [
{
"datasource": {
"type": "victoriametrics-logs-datasource",
"uid": "victorialogs1"
},
"editorMode": "code",
- "expr": "container_name: proxy\n| closed keepalive connection\n| stats count(*) as count\n| math (count / 60) as count",
- "legendFormat": "Closed keepalive connections",
+ "expr": "container_name:proxy\n| \"Connection refused\"\n| stats by (1m) count(*) as count\n| math (count / 60) as count",
+ "legendFormat": "Refused connections",
"queryType": "statsRange",
"refId": "A"
}
],
- "title": "Closed keepalive connections",
+ "title": "Connection refused",
"type": "timeseries"
},
{
"datasource": {
"type": "victoriametrics-logs-datasource",
"uid": "victorialogs1"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"showValues": false,
"spanNulls": 3600000,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
- "y": 17
+ "y": 26
},
"id": 36,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.4.1",
"targets": [
{
"datasource": {
"type": "victoriametrics-logs-datasource",
"uid": "victorialogs1"
},
"editorMode": "code",
"expr": "container_name:proxy\n| status=\n| stats by (status)\n avg(request-time) as avg_duration,\n max(request-time) as max_duration",
"legendFormat": "{{status}}",
"queryType": "statsRange",
"refId": "A"
}
],
"title": "Requests duration by status",
"type": "timeseries"
},
{
- "collapsed": true,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 25
+ "datasource": {
+ "type": "victoriametrics-logs-datasource",
+ "uid": "victorialogs1"
},
- "id": 4,
- "panels": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "prometheus1"
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
},
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisBorderShow": false,
- "axisCenteredZero": false,
- "axisColorMode": "text",
- "axisLabel": "",
- "axisPlacement": "auto",
- "barAlignment": 0,
- "barWidthFactor": 0.6,
- "drawStyle": "line",
- "fillOpacity": 0,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "insertNulls": false,
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "auto",
- "showValues": false,
- "spanNulls": 3600000,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": 0
- }
- ]
- },
- "unit": "cps"
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "barWidthFactor": 0.6,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
},
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 160
- },
- "id": 6,
- "options": {
- "legend": {
- "calcs": [
- "mean"
- ],
- "displayMode": "list",
- "placement": "bottom",
- "showLegend": true
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
},
- "tooltip": {
- "hideZeros": false,
- "mode": "single",
- "sort": "none"
+ "showPoints": "auto",
+ "showValues": false,
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
}
},
- "pluginVersion": "12.4.1",
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "prometheus1"
- },
- "editorMode": "code",
- "expr": "kolab_log_postfix_relay_messages_total_rate1m{relay!=\"int-imapf.kolabnow.com\", status=\"sent\"}/60",
- "instant": false,
- "legendFormat": "Sent email",
- "range": true,
- "refId": "Sent email"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "prometheus1"
- },
- "editorMode": "code",
- "expr": "kolab_log_postfix_relay_messages_total_rate1m{relay=\"int-imapf.kolabnow.com\", status=\"sent\"}/60",
- "instant": false,
- "legendFormat": "Local deliveries",
- "range": true,
- "refId": "Local deliveries"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "prometheus1"
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
},
- "editorMode": "code",
- "expr": "kolab_log_postfix_relay_messages_total_rate1m{status!=\"sent\"}/60",
- "instant": false,
- "legendFormat": "Deferred/Bounced",
- "range": true,
- "refId": "Deferred/Bounced"
- }
- ],
- "title": "Sent emails",
- "type": "timeseries"
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "cps"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 26
+ },
+ "id": 38,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
},
+ "tooltip": {
+ "hideZeros": false,
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "pluginVersion": "12.4.1",
+ "targets": [
{
"datasource": {
- "type": "prometheus",
- "uid": "prometheus1"
+ "type": "victoriametrics-logs-datasource",
+ "uid": "victorialogs1"
},
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisBorderShow": false,
- "axisCenteredZero": false,
- "axisColorMode": "text",
- "axisLabel": "",
- "axisPlacement": "auto",
- "barAlignment": 0,
- "barWidthFactor": 0.6,
- "drawStyle": "line",
- "fillOpacity": 0,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "insertNulls": false,
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "auto",
- "showValues": false,
- "spanNulls": 3600000,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": 0
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- },
- "unit": "s"
- },
- "overrides": [
- {
- "__systemRef": "hideSeriesFrom",
- "matcher": {
- "id": "byNames",
- "options": {
- "mode": "exclude",
- "names": [
- "amavis-originating type: max_delay, status: sent",
- "amavis-originating type: delay, status: sent"
- ],
- "prefix": "All except:",
- "readOnly": true
- }
- },
- "properties": [
- {
- "id": "custom.hideFrom",
- "value": {
- "legend": false,
- "tooltip": true,
- "viz": true
- }
- }
- ]
- }
- ]
+ "editorMode": "code",
+ "expr": "container_name: proxy\n| closed keepalive connection\n| stats count(*) as count\n| math (count / 60) as count",
+ "legendFormat": "Closed keepalive connections",
+ "queryType": "statsRange",
+ "refId": "A"
+ }
+ ],
+ "title": "Closed keepalive connections",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "victoriametrics-logs-datasource",
+ "uid": "victorialogs1"
+ },
+ "fieldConfig": {
+ "defaults": {},
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 34
+ },
+ "id": 44,
+ "options": {
+ "dedupStrategy": "none",
+ "enableInfiniteScrolling": false,
+ "enableLogDetails": true,
+ "showControls": false,
+ "showLabels": false,
+ "showTime": true,
+ "sortOrder": "Descending",
+ "syntaxHighlighting": true,
+ "unwrappedColumns": false,
+ "wrapLogMessage": false
+ },
+ "pluginVersion": "12.4.1",
+ "targets": [
+ {
+ "datasource": {
+ "type": "victoriametrics-logs-datasource",
+ "uid": "victorialogs1"
},
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 12,
- "y": 160
+ "editorMode": "code",
+ "expr": "container_name: proxy\n| request-time=\n| extract \"request-time=<duration> \"\n| filter duration:>1",
+ "queryType": "instant",
+ "refId": "A"
+ }
+ ],
+ "title": "Slow HTTP requests (>1s)",
+ "type": "logs"
+ },
+ {
+ "collapsed": false,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 42
+ },
+ "id": 4,
+ "panels": [],
+ "title": "Performance metrics",
+ "type": "row"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "prometheus1"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
},
- "id": 21,
- "options": {
- "legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom",
- "showLegend": true
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "barWidthFactor": 0.6,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
},
- "tooltip": {
- "hideZeros": false,
- "mode": "single",
- "sort": "none"
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "showValues": false,
+ "spanNulls": 3600000,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
}
},
- "pluginVersion": "12.4.1",
- "targets": [
- {
- "editorMode": "code",
- "expr": "kolab_log_postfix_relay_delay_seconds",
- "legendFormat": "{{relay}} type: {{stats_result}}, status: {{status}}",
- "range": true,
- "refId": "Relay delays"
- }
- ],
- "title": "Relay delays",
- "type": "timeseries"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "prometheus1"
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ }
+ ]
},
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisBorderShow": false,
- "axisCenteredZero": false,
- "axisColorMode": "text",
- "axisLabel": "",
- "axisPlacement": "auto",
- "barAlignment": 0,
- "barWidthFactor": 0.6,
- "drawStyle": "line",
- "fillOpacity": 0,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "insertNulls": false,
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "auto",
- "showValues": false,
- "spanNulls": false,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": 0
- },
- {
- "color": "#EAB839",
- "value": 400
- },
- {
- "color": "red",
- "value": 1000
- }
- ]
- }
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 168
- },
- "id": 20,
- "options": {
- "legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom",
- "showLegend": true
- },
- "tooltip": {
- "hideZeros": false,
- "mode": "single",
- "sort": "none"
- }
- },
- "pluginVersion": "12.4.1",
- "targets": [
- {
- "editorMode": "builder",
- "expr": "sum by(queue) (kolab_mx_queue_length)",
- "legendFormat": "{{label_name}}",
- "range": true,
- "refId": "Queues"
- }
+ "unit": "cps"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 43
+ },
+ "id": 6,
+ "options": {
+ "legend": {
+ "calcs": [
+ "mean"
],
- "title": "Mail queues",
- "type": "timeseries"
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
},
+ "tooltip": {
+ "hideZeros": false,
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "pluginVersion": "12.4.1",
+ "targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus1"
},
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisBorderShow": false,
- "axisCenteredZero": false,
- "axisColorMode": "text",
- "axisLabel": "",
- "axisPlacement": "auto",
- "barAlignment": 0,
- "barWidthFactor": 0.6,
- "drawStyle": "line",
- "fillOpacity": 0,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "insertNulls": false,
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "auto",
- "showValues": false,
- "spanNulls": true,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": 0
- }
- ]
- },
- "unit": "reqps"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 12,
- "y": 168
- },
- "id": 5,
- "options": {
- "legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom",
- "showLegend": true
- },
- "tooltip": {
- "hideZeros": false,
- "mode": "single",
- "sort": "none"
- }
- },
- "pluginVersion": "12.4.1",
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "prometheus1"
- },
- "editorMode": "code",
- "expr": "sum(kolab_log_authenticate_rate1m/60)",
- "instant": false,
- "interval": "",
- "legendFormat": "Authentication rate",
- "range": true,
- "refId": "A"
- }
- ],
- "title": "Authentication attempts",
- "type": "timeseries"
+ "editorMode": "code",
+ "expr": "kolab_log_postfix_relay_messages_total_rate1m{relay!=\"int-imapf.kolabnow.com\", status=\"sent\"}/60",
+ "instant": false,
+ "legendFormat": "Sent email",
+ "range": true,
+ "refId": "Sent email"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus1"
},
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisBorderShow": false,
- "axisCenteredZero": false,
- "axisColorMode": "text",
- "axisLabel": "",
- "axisPlacement": "auto",
- "barAlignment": 0,
- "barWidthFactor": 0.6,
- "drawStyle": "line",
- "fillOpacity": 0,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "insertNulls": false,
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "auto",
- "showValues": false,
- "spanNulls": true,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": 0
- }
- ]
- },
- "unit": "reqps"
- },
- "overrides": []
+ "editorMode": "code",
+ "expr": "kolab_log_postfix_relay_messages_total_rate1m{relay=\"int-imapf.kolabnow.com\", status=\"sent\"}/60",
+ "instant": false,
+ "legendFormat": "Local deliveries",
+ "range": true,
+ "refId": "Local deliveries"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "prometheus1"
},
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 176
+ "editorMode": "code",
+ "expr": "kolab_log_postfix_relay_messages_total_rate1m{status!=\"sent\"}/60",
+ "instant": false,
+ "legendFormat": "Deferred/Bounced",
+ "range": true,
+ "refId": "Deferred/Bounced"
+ }
+ ],
+ "title": "Sent emails",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "prometheus1"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
},
- "id": 7,
- "options": {
- "legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom",
- "showLegend": true
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "barWidthFactor": 0.6,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
},
- "tooltip": {
- "hideZeros": false,
- "mode": "single",
- "sort": "none"
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "showValues": false,
+ "spanNulls": 3600000,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
}
},
- "pluginVersion": "12.4.1",
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "prometheus1"
- },
- "editorMode": "code",
- "expr": "{\"kolab_log_imap_login_rate1m\"}/60",
- "instant": false,
- "legendFormat": "{{pod_name}}",
- "range": true,
- "refId": "A"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "prometheus1"
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
},
- "editorMode": "code",
- "expr": "sum({\"kolab_log_imap_login_rate1m\", pod_name=~\"imapb.*\"})/60",
- "instant": false,
- "legendFormat": "Backend rate",
- "range": true,
- "refId": "Backends"
- }
- ],
- "title": "imap authentication rate",
- "type": "timeseries"
- },
- {
- "datasource": {
- "type": "victoriametrics-logs-datasource",
- "uid": "victorialogs1"
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
},
- "fieldConfig": {
- "defaults": {
- "custom": {
- "hideFrom": {
+ "unit": "s"
+ },
+ "overrides": [
+ {
+ "__systemRef": "hideSeriesFrom",
+ "matcher": {
+ "id": "byNames",
+ "options": {
+ "mode": "exclude",
+ "names": [
+ "amavis-originating type: max_delay, status: sent",
+ "amavis-originating type: delay, status: sent"
+ ],
+ "prefix": "All except:",
+ "readOnly": true
+ }
+ },
+ "properties": [
+ {
+ "id": "custom.hideFrom",
+ "value": {
"legend": false,
- "tooltip": false,
- "viz": false
- },
- "scaleDistribution": {
- "type": "linear"
+ "tooltip": true,
+ "viz": true
}
}
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 12,
- "y": 176
+ ]
+ }
+ ]
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 43
+ },
+ "id": 21,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "hideZeros": false,
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "pluginVersion": "12.4.1",
+ "targets": [
+ {
+ "editorMode": "code",
+ "expr": "kolab_log_postfix_relay_delay_seconds",
+ "legendFormat": "{{relay}} type: {{stats_result}}, status: {{status}}",
+ "range": true,
+ "refId": "Relay delays"
+ }
+ ],
+ "title": "Relay delays",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "prometheus1"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
},
- "id": 32,
- "options": {
- "calculate": false,
- "cellGap": 1,
- "color": {
- "exponent": 0.5,
- "fill": "dark-orange",
- "mode": "scheme",
- "reverse": false,
- "scale": "exponential",
- "scheme": "Oranges",
- "steps": 64
- },
- "exemplars": {
- "color": "rgba(255,0,255,0.7)"
- },
- "filterValues": {
- "le": 1e-9
- },
- "legend": {
- "show": true
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "barWidthFactor": 0.6,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
},
- "rowsFrame": {
- "layout": "auto"
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
},
- "tooltip": {
- "mode": "single",
- "showColorScale": false,
- "yHistogram": false
+ "showPoints": "auto",
+ "showValues": false,
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
},
- "yAxis": {
- "axisPlacement": "left",
- "reverse": false,
- "unit": ""
+ "thresholdsStyle": {
+ "mode": "off"
}
},
- "pluginVersion": "12.4.1",
- "targets": [
- {
- "datasource": {
- "type": "victoriametrics-logs-datasource",
- "uid": "victorialogs1"
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
},
- "editorMode": "code",
- "expr": "container_name:postfix\n| \"connect from\" \n| extract \"connect from <source_name>[<source_ip>]\"\n| stats by (1m, source_ip, source_name) count(*) as total_connections\n| sort by (total_connections) desc\n| limit 10",
- "legendFormat": "{{source_name}}({{source_ip}})",
- "queryType": "statsRange",
- "refId": "A"
- }
- ],
- "title": "Postfix connections",
- "type": "heatmap"
+ {
+ "color": "#EAB839",
+ "value": 400
+ },
+ {
+ "color": "red",
+ "value": 1000
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 51
+ },
+ "id": 20,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
},
+ "tooltip": {
+ "hideZeros": false,
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "pluginVersion": "12.4.1",
+ "targets": [
{
- "datasource": {
- "type": "prometheus",
- "uid": "prometheus1"
+ "editorMode": "builder",
+ "expr": "sum by(queue) (kolab_mx_queue_length)",
+ "legendFormat": "{{label_name}}",
+ "range": true,
+ "refId": "Queues"
+ }
+ ],
+ "title": "Mail queues",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "prometheus1"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
},
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisBorderShow": false,
- "axisCenteredZero": false,
- "axisColorMode": "text",
- "axisLabel": "",
- "axisPlacement": "auto",
- "barAlignment": 0,
- "barWidthFactor": 0.6,
- "drawStyle": "line",
- "fillOpacity": 0,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "insertNulls": false,
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "auto",
- "showValues": false,
- "spanNulls": false,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": 0
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- },
- "unit": "reqps"
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "barWidthFactor": 0.6,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
},
- "overrides": []
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "showValues": false,
+ "spanNulls": true,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
},
- "gridPos": {
- "h": 10,
- "w": 12,
- "x": 0,
- "y": 184
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ }
+ ]
},
- "id": 1,
- "options": {
- "legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom",
- "showLegend": true
+ "unit": "reqps"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 51
+ },
+ "id": 5,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "hideZeros": false,
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "pluginVersion": "12.4.1",
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "prometheus1"
+ },
+ "editorMode": "code",
+ "expr": "sum(kolab_log_authenticate_rate1m/60)",
+ "instant": false,
+ "interval": "",
+ "legendFormat": "Authentication rate",
+ "range": true,
+ "refId": "A"
+ }
+ ],
+ "title": "Authentication attempts",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "prometheus1"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "barWidthFactor": 0.6,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
},
- "tooltip": {
- "hideZeros": false,
- "mode": "single",
- "sort": "none"
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "showValues": false,
+ "spanNulls": true,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
}
},
- "pluginVersion": "12.4.1",
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "prometheus1"
- },
- "disableTextWrap": false,
- "editorMode": "code",
- "expr": "kolab_horizon_jobs_per_minute/60",
- "fullMetaSearch": false,
- "includeNullMetadata": true,
- "legendFormat": "Job rate",
- "range": true,
- "refId": "A",
- "useBackend": false
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ }
+ ]
+ },
+ "unit": "reqps"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 59
+ },
+ "id": 7,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "hideZeros": false,
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "pluginVersion": "12.4.1",
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "prometheus1"
+ },
+ "editorMode": "code",
+ "expr": "{\"kolab_log_imap_login_rate1m\"}/60",
+ "instant": false,
+ "legendFormat": "{{pod_name}}",
+ "range": true,
+ "refId": "A"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "prometheus1"
+ },
+ "editorMode": "code",
+ "expr": "sum({\"kolab_log_imap_login_rate1m\", pod_name=~\"imapb.*\"})/60",
+ "instant": false,
+ "legendFormat": "Backend rate",
+ "range": true,
+ "refId": "Backends"
+ }
+ ],
+ "title": "imap authentication rate",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "victoriametrics-logs-datasource",
+ "uid": "victorialogs1"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "custom": {
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "scaleDistribution": {
+ "type": "linear"
}
- ],
- "title": "Horizon jobs",
- "type": "timeseries"
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 59
+ },
+ "id": 32,
+ "options": {
+ "calculate": false,
+ "cellGap": 1,
+ "color": {
+ "exponent": 0.5,
+ "fill": "dark-orange",
+ "mode": "scheme",
+ "reverse": false,
+ "scale": "exponential",
+ "scheme": "Oranges",
+ "steps": 64
+ },
+ "exemplars": {
+ "color": "rgba(255,0,255,0.7)"
+ },
+ "filterValues": {
+ "le": 1e-9
},
+ "legend": {
+ "show": true
+ },
+ "rowsFrame": {
+ "layout": "auto"
+ },
+ "tooltip": {
+ "mode": "single",
+ "showColorScale": false,
+ "yHistogram": false
+ },
+ "yAxis": {
+ "axisPlacement": "left",
+ "reverse": false,
+ "unit": ""
+ }
+ },
+ "pluginVersion": "12.4.1",
+ "targets": [
{
"datasource": {
"type": "victoriametrics-logs-datasource",
"uid": "victorialogs1"
},
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisBorderShow": false,
- "axisCenteredZero": false,
- "axisColorMode": "text",
- "axisLabel": "",
- "axisPlacement": "auto",
- "barAlignment": 0,
- "barWidthFactor": 0.6,
- "drawStyle": "line",
- "fillOpacity": 0,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "insertNulls": false,
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "auto",
- "showValues": false,
- "spanNulls": 3600000,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": 0
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- },
- "unit": "reqps"
+ "editorMode": "code",
+ "expr": "container_name:postfix\n| \"connect from\" \n| extract \"connect from <source_name>[<source_ip>]\"\n| stats by (1m, source_ip, source_name) count(*) as total_connections\n| sort by (total_connections) desc\n| limit 10",
+ "legendFormat": "{{source_name}}({{source_ip}})",
+ "queryType": "statsRange",
+ "refId": "A"
+ }
+ ],
+ "title": "Postfix connections",
+ "type": "heatmap"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "prometheus1"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "barWidthFactor": 0.6,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
},
- "overrides": []
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "showValues": false,
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
},
- "gridPos": {
- "h": 10,
- "w": 12,
- "x": 12,
- "y": 184
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
},
- "id": 33,
- "options": {
- "legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom",
- "showLegend": true
+ "unit": "reqps"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 10,
+ "w": 12,
+ "x": 0,
+ "y": 67
+ },
+ "id": 1,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "hideZeros": false,
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "pluginVersion": "12.4.1",
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "prometheus1"
+ },
+ "disableTextWrap": false,
+ "editorMode": "code",
+ "expr": "kolab_horizon_jobs_per_minute/60",
+ "fullMetaSearch": false,
+ "includeNullMetadata": true,
+ "legendFormat": "Job rate",
+ "range": true,
+ "refId": "A",
+ "useBackend": false
+ }
+ ],
+ "title": "Horizon jobs",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "victoriametrics-logs-datasource",
+ "uid": "victorialogs1"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "barWidthFactor": 0.6,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
},
- "tooltip": {
- "hideZeros": false,
- "mode": "single",
- "sort": "none"
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "showValues": false,
+ "spanNulls": 3600000,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
}
},
- "pluginVersion": "12.4.1",
- "targets": [
- {
- "datasource": {
- "type": "victoriametrics-logs-datasource",
- "uid": "victorialogs1"
- },
- "editorMode": "code",
- "expr": "container_name:postfix\n| \"NOQUEUE\"\n| extract \"]: <error_code> \"\n| stats by (1m, error_code) count(*) as total_connections\n| math (total_connections / 60) as total_connections",
- "legendFormat": "Error code: {{error_code}} {{error_message}}",
- "queryType": "statsRange",
- "refId": "A"
- }
- ],
- "title": "Postfix NOQUEUE",
- "type": "timeseries"
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "reqps"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 10,
+ "w": 12,
+ "x": 12,
+ "y": 67
+ },
+ "id": 33,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "hideZeros": false,
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "pluginVersion": "12.4.1",
+ "targets": [
+ {
+ "datasource": {
+ "type": "victoriametrics-logs-datasource",
+ "uid": "victorialogs1"
+ },
+ "editorMode": "code",
+ "expr": "container_name:postfix\n| \"NOQUEUE\"\n| extract \"]: <error_code> \"\n| stats by (1m, error_code) count(*) as total_connections\n| math (total_connections / 60) as total_connections",
+ "legendFormat": "NOQUEUE: {{error_code}}",
+ "queryType": "statsRange",
+ "refId": "A"
+ },
+ {
+ "datasource": {
+ "type": "victoriametrics-logs-datasource",
+ "uid": "victorialogs1"
+ },
+ "editorMode": "code",
+ "expr": "container_name:postfix\n| \"command rejected\"\n| extract \"]: <error_code> \"\n| stats by (1m, error_code) count(*) as total_connections\n| math (total_connections / 60) as total_connections",
+ "legendFormat": "Command rejected {{error_code}}",
+ "queryType": "statsRange",
+ "refId": "B"
+ }
+ ],
+ "title": "Postfix NOQUEUE/rejected",
+ "type": "timeseries"
+ },
+ {
+ "collapsed": false,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 77
+ },
+ "id": 39,
+ "panels": [],
+ "title": "Kolab Services",
+ "type": "row"
+ },
+ {
+ "datasource": {
+ "type": "victoriametrics-logs-datasource",
+ "uid": "victorialogs1"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "barWidthFactor": 0.6,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "showValues": false,
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "reqps"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 78
+ },
+ "id": 40,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "hideZeros": false,
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "pluginVersion": "12.4.1",
+ "targets": [
+ {
+ "datasource": {
+ "type": "victoriametrics-logs-datasource",
+ "uid": "victorialogs1"
+ },
+ "editorMode": "code",
+ "expr": "pod_name: kolab-services* | \"api/webhooks/\" | extract \"api/webhooks/<hook> [<memory>]: <duration> sec. <status> .\" | stats by (hook) count(*) as count | math(count / 60) as count",
+ "legendFormat": "Hook: {{hook}}",
+ "queryType": "statsRange",
+ "refId": "Requests"
+ },
+ {
+ "datasource": {
+ "type": "victoriametrics-logs-datasource",
+ "uid": "victorialogs1"
+ },
+ "editorMode": "code",
+ "expr": "pod_name: kolab-services* | \"api/webhooks/\" | extract \"api/webhooks/<hook> [<memory>]: <duration> sec. <status> .\" | filter code:>300| stats by (hook) count(*) as count | math(count / 60) as count",
+ "legendFormat": "Errors: {{hook}}",
+ "queryType": "statsRange",
+ "refId": "Errors"
+ }
+ ],
+ "title": "Services requests",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "victoriametrics-logs-datasource",
+ "uid": "victorialogs1"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "barWidthFactor": 0.6,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "showValues": false,
+ "spanNulls": 3600000,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "s"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 78
+ },
+ "id": 41,
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "hideZeros": false,
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "pluginVersion": "12.4.1",
+ "targets": [
+ {
+ "datasource": {
+ "type": "victoriametrics-logs-datasource",
+ "uid": "victorialogs1"
+ },
+ "editorMode": "code",
+ "expr": "pod_name: kolab-services* | \"api/webhooks/\" | extract \"api/webhooks/<hook> [<memory>]: <duration> sec. <status> .\" | stats by (hook) avg(duration) as duration, max(duration) as max_duration",
+ "queryType": "statsRange",
+ "refId": "A"
+ }
+ ],
+ "title": "Request duration",
+ "type": "timeseries"
+ },
+ {
+ "collapsed": false,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 86
+ },
+ "id": 3,
+ "panels": [],
+ "title": "Logs",
+ "type": "row"
+ },
+ {
+ "datasource": {
+ "type": "victoriametrics-logs-datasource",
+ "uid": "victorialogs1"
+ },
+ "fieldConfig": {
+ "defaults": {},
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 9,
+ "w": 24,
+ "x": 0,
+ "y": 87
+ },
+ "id": 16,
+ "options": {
+ "dedupStrategy": "none",
+ "enableInfiniteScrolling": true,
+ "enableLogDetails": true,
+ "showControls": true,
+ "showTime": true,
+ "sortOrder": "Descending",
+ "syntaxHighlighting": true,
+ "unwrappedColumns": false,
+ "wrapLogMessage": false
+ },
+ "pluginVersion": "12.4.1",
+ "targets": [
+ {
+ "datasource": {
+ "type": "victoriametrics-logs-datasource",
+ "uid": "victorialogs1"
+ },
+ "editorMode": "code",
+ "expr": "container_name: proxy",
+ "queryType": "instant",
+ "refId": "A"
+ }
+ ],
+ "title": "Proxy",
+ "type": "logs"
+ },
+ {
+ "datasource": {
+ "type": "victoriametrics-logs-datasource",
+ "uid": "victorialogs1"
+ },
+ "fieldConfig": {
+ "defaults": {},
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 9,
+ "w": 24,
+ "x": 0,
+ "y": 96
+ },
+ "id": 2,
+ "options": {
+ "dedupStrategy": "none",
+ "enableInfiniteScrolling": false,
+ "enableLogDetails": true,
+ "prettifyLogMessage": false,
+ "showCommonLabels": false,
+ "showControls": false,
+ "showLabels": false,
+ "showTime": true,
+ "sortOrder": "Descending",
+ "unwrappedColumns": false,
+ "wrapLogMessage": false
+ },
+ "pluginVersion": "12.4.1",
+ "targets": [
+ {
+ "datasource": {
+ "type": "victoriametrics-logs-datasource",
+ "uid": "victorialogs1"
+ },
+ "editorMode": "code",
+ "expr": "container_name: imap",
+ "queryType": "instant",
+ "refId": "A"
+ }
+ ],
+ "title": "imap",
+ "type": "logs"
+ },
+ {
+ "datasource": {
+ "type": "victoriametrics-logs-datasource",
+ "uid": "victorialogs1"
+ },
+ "fieldConfig": {
+ "defaults": {},
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 24,
+ "x": 0,
+ "y": 105
+ },
+ "id": 17,
+ "options": {
+ "dedupStrategy": "none",
+ "enableInfiniteScrolling": true,
+ "enableLogDetails": true,
+ "showControls": true,
+ "showTime": true,
+ "sortOrder": "Descending",
+ "syntaxHighlighting": true,
+ "unwrappedColumns": false,
+ "wrapLogMessage": false
+ },
+ "pluginVersion": "12.4.1",
+ "targets": [
+ {
+ "datasource": {
+ "type": "victoriametrics-logs-datasource",
+ "uid": "victorialogs1"
+ },
+ "direction": "desc",
+ "editorMode": "code",
+ "expr": "container_name: roundcube",
+ "queryType": "instant",
+ "refId": "A"
+ }
+ ],
+ "title": "Roundcube",
+ "type": "logs"
+ },
+ {
+ "datasource": {
+ "type": "victoriametrics-logs-datasource",
+ "uid": "victorialogs1"
+ },
+ "fieldConfig": {
+ "defaults": {},
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 24,
+ "x": 0,
+ "y": 113
+ },
+ "id": 15,
+ "options": {
+ "dedupStrategy": "none",
+ "enableInfiniteScrolling": true,
+ "enableLogDetails": true,
+ "showControls": false,
+ "showTime": true,
+ "sortOrder": "Descending",
+ "syntaxHighlighting": true,
+ "unwrappedColumns": false,
+ "wrapLogMessage": false
+ },
+ "pluginVersion": "12.4.1",
+ "targets": [
+ {
+ "datasource": {
+ "type": "victoriametrics-logs-datasource",
+ "uid": "victorialogs1"
+ },
+ "direction": "desc",
+ "editorMode": "code",
+ "expr": "container_name: kolab",
+ "queryType": "instant",
+ "refId": "A"
+ }
+ ],
+ "title": "Kolab",
+ "type": "logs"
+ },
+ {
+ "datasource": {
+ "type": "victoriametrics-logs-datasource",
+ "uid": "victorialogs1"
+ },
+ "fieldConfig": {
+ "defaults": {},
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 24,
+ "x": 0,
+ "y": 121
+ },
+ "id": 18,
+ "options": {
+ "dedupStrategy": "none",
+ "enableInfiniteScrolling": true,
+ "enableLogDetails": true,
+ "showControls": true,
+ "showTime": true,
+ "sortOrder": "Descending",
+ "syntaxHighlighting": true,
+ "unwrappedColumns": false,
+ "wrapLogMessage": false
+ },
+ "pluginVersion": "12.4.1",
+ "targets": [
+ {
+ "datasource": {
+ "type": "victoriametrics-logs-datasource",
+ "uid": "victorialogs1"
+ },
+ "editorMode": "code",
+ "expr": "container_name: postfix\n| NOT \"from int-fw036\" # Filter out healthcheck noise\n| NOT \"from int-fw037\"\n| NOT \"warning: run-time library vs. compile-time header version mismatch\" # Irrelevant warning because of RHEL packaging\n| format \"<pod_name> <process>: <_msg>\"",
+ "queryType": "instant",
+ "refId": "A"
+ }
+ ],
+ "title": "Postfix",
+ "type": "logs"
+ },
+ {
+ "datasource": {
+ "type": "victoriametrics-logs-datasource",
+ "uid": "victorialogs1"
+ },
+ "fieldConfig": {
+ "defaults": {},
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 24,
+ "x": 0,
+ "y": 129
+ },
+ "id": 19,
+ "options": {
+ "dedupStrategy": "none",
+ "enableInfiniteScrolling": true,
+ "enableLogDetails": true,
+ "showControls": true,
+ "showTime": true,
+ "sortOrder": "Descending",
+ "syntaxHighlighting": true,
+ "unwrappedColumns": false,
+ "wrapLogMessage": false
+ },
+ "pluginVersion": "12.4.1",
+ "targets": [
+ {
+ "datasource": {
+ "type": "victoriametrics-logs-datasource",
+ "uid": "victorialogs1"
+ },
+ "editorMode": "code",
+ "expr": "container_name: amavis",
+ "queryType": "instant",
+ "refId": "A"
}
],
- "title": "Performance metrics",
- "type": "row"
+ "title": "Amavis",
+ "type": "logs"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
- "y": 26
+ "y": 137
},
- "id": 39,
+ "id": 27,
"panels": [],
- "title": "Kolab Services",
+ "title": "ActiveSync",
"type": "row"
},
{
"datasource": {
"type": "victoriametrics-logs-datasource",
"uid": "victorialogs1"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"showValues": false,
- "spanNulls": false,
+ "spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
},
- "unit": "reqps"
+ "unit": "ms"
},
- "overrides": []
+ "overrides": [
+ {
+ "__systemRef": "hideSeriesFrom",
+ "matcher": {
+ "id": "byNames",
+ "options": {
+ "mode": "exclude",
+ "names": [
+ "Max{cmd=\"Sync\"}"
+ ],
+ "prefix": "All except:",
+ "readOnly": true
+ }
+ },
+ "properties": [
+ {
+ "id": "custom.hideFrom",
+ "value": {
+ "legend": false,
+ "tooltip": true,
+ "viz": true
+ }
+ }
+ ]
+ }
+ ]
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
- "y": 27
+ "y": 138
},
- "id": 40,
+ "id": 28,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.4.1",
"targets": [
{
"datasource": {
"type": "victoriametrics-logs-datasource",
"uid": "victorialogs1"
},
"editorMode": "code",
- "expr": "pod_name: kolab-services* | \"api/webhooks/\" | extract \"api/webhooks/<hook> [<memory>]: <duration> sec. <status> .\" | stats by (hook) count(*) as count | math(count / 60) as count",
- "legendFormat": "Hook: {{hook}}",
- "queryType": "statsRange",
- "refId": "Requests"
- },
- {
- "datasource": {
- "type": "victoriametrics-logs-datasource",
- "uid": "victorialogs1"
- },
- "editorMode": "code",
- "expr": "pod_name: kolab-services* | \"api/webhooks/\" | extract \"api/webhooks/<hook> [<memory>]: <duration> sec. <status> .\" | filter code:>300| stats by (hook) count(*) as count | math(count / 60) as count",
- "legendFormat": "Errors: {{hook}}",
+ "expr": "container_name:\"roundcube\"\n| Microsoft-Server-ActiveSync\n| Cmd=\n| extract \"] <duration> \\\"POST /Microsoft-Server-ActiveSync\"\n| extract \"Cmd=<cmd>&\"\n| extract \"DeviceId=<device_id>&\"\n| stats by (cmd) \n avg(duration) as \"Average\",\n max(duration) as \"Max\"",
+ "legendFormat": "",
"queryType": "statsRange",
- "refId": "Errors"
+ "refId": "A"
}
],
- "title": "Services requests",
+ "title": "Command duration",
"type": "timeseries"
},
{
"datasource": {
"type": "victoriametrics-logs-datasource",
"uid": "victorialogs1"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"showValues": false,
- "spanNulls": 3600000,
+ "spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
},
- "unit": "s"
+ "unit": "reqps"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
- "y": 27
+ "y": 138
},
- "id": 41,
+ "id": 29,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.4.1",
"targets": [
{
"datasource": {
"type": "victoriametrics-logs-datasource",
"uid": "victorialogs1"
},
"editorMode": "code",
- "expr": "pod_name: kolab-services* | \"api/webhooks/\" | extract \"api/webhooks/<hook> [<memory>]: <duration> sec. <status> .\" | stats by (hook) avg(duration) as duration, max(duration) as max_duration",
+ "expr": "container_name: roundcube\n| Microsoft-Server-ActiveSync\n| Cmd=\n| extract \"Cmd=<cmd>&\"\n| extract \"HTTP/1.0\\\" <status> <size>\"\n| stats by (cmd, 1m) count() as total_req\n| math(total_req / 60) as total_req",
+ "legendFormat": "Command: {{cmd}}",
"queryType": "statsRange",
- "refId": "A"
- }
- ],
- "title": "Request duration",
- "type": "timeseries"
- },
- {
- "collapsed": false,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 35
- },
- "id": 3,
- "panels": [],
- "title": "Logs",
- "type": "row"
- },
- {
- "datasource": {
- "type": "victoriametrics-logs-datasource",
- "uid": "victorialogs1"
- },
- "fieldConfig": {
- "defaults": {},
- "overrides": []
- },
- "gridPos": {
- "h": 9,
- "w": 24,
- "x": 0,
- "y": 36
- },
- "id": 16,
- "options": {
- "dedupStrategy": "none",
- "enableInfiniteScrolling": true,
- "enableLogDetails": true,
- "showControls": true,
- "showTime": true,
- "sortOrder": "Descending",
- "syntaxHighlighting": true,
- "unwrappedColumns": false,
- "wrapLogMessage": false
- },
- "pluginVersion": "12.4.1",
- "targets": [
+ "refId": "Request counts"
+ },
{
"datasource": {
"type": "victoriametrics-logs-datasource",
"uid": "victorialogs1"
},
"editorMode": "code",
- "expr": "container_name: proxy",
- "queryType": "instant",
- "refId": "A"
+ "expr": "container_name: roundcube\n| Microsoft-Server-ActiveSync\n| Cmd=\n| extract \"Cmd=<cmd>&\"\n| extract \"HTTP/1.0\\\" <status> <size>\"\n| filter status >= 400\n| stats by (1m, cmd) count() as error_count\n| math(error_count / 60) as error_count",
+ "legendFormat": "Errors {{ cmd }}",
+ "queryType": "statsRange",
+ "refId": "Errors"
}
],
- "title": "Proxy",
- "type": "logs"
+ "title": "Commands & Errors",
+ "type": "timeseries"
},
{
"datasource": {
"type": "victoriametrics-logs-datasource",
"uid": "victorialogs1"
},
"fieldConfig": {
- "defaults": {},
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ }
+ },
+ "mappings": []
+ },
"overrides": []
},
"gridPos": {
- "h": 9,
- "w": 24,
+ "h": 8,
+ "w": 12,
"x": 0,
- "y": 45
+ "y": 146
},
- "id": 2,
+ "id": 30,
"options": {
- "dedupStrategy": "none",
- "enableInfiniteScrolling": false,
- "enableLogDetails": true,
- "prettifyLogMessage": false,
- "showCommonLabels": false,
- "showControls": false,
- "showLabels": false,
- "showTime": true,
- "sortOrder": "Descending",
- "unwrappedColumns": false,
- "wrapLogMessage": false
+ "legend": {
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "pieType": "pie",
+ "reduceOptions": {
+ "calcs": [
+ "lastNotNull"
+ ],
+ "fields": "",
+ "values": false
+ },
+ "sort": "desc",
+ "tooltip": {
+ "hideZeros": false,
+ "mode": "single",
+ "sort": "none"
+ }
},
"pluginVersion": "12.4.1",
"targets": [
{
"datasource": {
"type": "victoriametrics-logs-datasource",
"uid": "victorialogs1"
},
"editorMode": "code",
- "expr": "container_name: imap",
- "queryType": "instant",
+ "expr": "container_name: roundcube\n| Microsoft-Server-ActiveSync\n| Cmd=\n| extract \"Cmd=<cmd>&\"\n| stats by (1m, cmd) count() as rate_per_minute",
+ "legendFormat": "{{cmd}}",
+ "queryType": "statsRange",
"refId": "A"
}
],
- "title": "imap",
- "type": "logs"
+ "title": "Commands per minute",
+ "type": "piechart"
},
{
- "datasource": {
- "type": "victoriametrics-logs-datasource",
- "uid": "victorialogs1"
- },
- "fieldConfig": {
- "defaults": {},
- "overrides": []
- },
+ "collapsed": false,
"gridPos": {
- "h": 8,
+ "h": 1,
"w": 24,
"x": 0,
- "y": 54
- },
- "id": 17,
- "options": {
- "dedupStrategy": "none",
- "enableInfiniteScrolling": true,
- "enableLogDetails": true,
- "showControls": true,
- "showTime": true,
- "sortOrder": "Descending",
- "syntaxHighlighting": true,
- "unwrappedColumns": false,
- "wrapLogMessage": false
+ "y": 154
},
- "pluginVersion": "12.4.1",
- "targets": [
- {
- "datasource": {
- "type": "victoriametrics-logs-datasource",
- "uid": "victorialogs1"
- },
- "direction": "desc",
- "editorMode": "code",
- "expr": "container_name: roundcube",
- "queryType": "instant",
- "refId": "A"
- }
- ],
- "title": "Roundcube",
- "type": "logs"
+ "id": 22,
+ "panels": [],
+ "title": "Troubleshooting",
+ "type": "row"
},
{
"datasource": {
"type": "victoriametrics-logs-datasource",
"uid": "victorialogs1"
},
+ "description": "Shows deliveries that took over 100s. No data is a good sign.",
"fieldConfig": {
"defaults": {},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 24,
+ "w": 12,
"x": 0,
- "y": 62
+ "y": 155
},
- "id": 15,
+ "id": 14,
"options": {
"dedupStrategy": "none",
- "enableInfiniteScrolling": true,
+ "enableInfiniteScrolling": false,
"enableLogDetails": true,
"showControls": false,
+ "showLabels": false,
"showTime": true,
"sortOrder": "Descending",
"syntaxHighlighting": true,
+ "timestampResolution": "ms",
"unwrappedColumns": false,
"wrapLogMessage": false
},
"pluginVersion": "12.4.1",
"targets": [
{
"datasource": {
"type": "victoriametrics-logs-datasource",
"uid": "victorialogs1"
},
- "direction": "desc",
"editorMode": "code",
- "expr": "container_name: kolab",
+ "expr": "container_name:postfix\n| \"delay=\"\n| extract \"delay=<delay>,\"\n| delay:>100\n",
+ "maxLines": 50,
"queryType": "instant",
"refId": "A"
}
],
- "title": "Kolab",
+ "title": "Long delivery delays",
"type": "logs"
},
{
"datasource": {
"type": "victoriametrics-logs-datasource",
"uid": "victorialogs1"
},
"fieldConfig": {
- "defaults": {},
+ "defaults": {
+ "custom": {
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "scaleDistribution": {
+ "type": "linear"
+ }
+ }
+ },
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 24,
- "x": 0,
- "y": 70
+ "w": 12,
+ "x": 12,
+ "y": 155
},
- "id": 18,
+ "id": 46,
"options": {
- "dedupStrategy": "none",
- "enableInfiniteScrolling": true,
- "enableLogDetails": true,
- "showControls": true,
- "showTime": true,
- "sortOrder": "Descending",
- "syntaxHighlighting": true,
- "unwrappedColumns": false,
- "wrapLogMessage": false
+ "calculate": false,
+ "cellGap": 1,
+ "color": {
+ "exponent": 0.5,
+ "fill": "dark-orange",
+ "mode": "scheme",
+ "reverse": false,
+ "scale": "exponential",
+ "scheme": "Oranges",
+ "steps": 64
+ },
+ "exemplars": {
+ "color": "rgba(255,0,255,0.7)"
+ },
+ "filterValues": {
+ "le": 1e-9
+ },
+ "legend": {
+ "show": true
+ },
+ "rowsFrame": {
+ "layout": "auto"
+ },
+ "tooltip": {
+ "mode": "single",
+ "showColorScale": false,
+ "yHistogram": false
+ },
+ "yAxis": {
+ "axisPlacement": "left",
+ "reverse": false
+ }
},
"pluginVersion": "12.4.1",
"targets": [
{
"datasource": {
"type": "victoriametrics-logs-datasource",
"uid": "victorialogs1"
},
"editorMode": "code",
- "expr": "container_name: postfix",
- "queryType": "instant",
+ "expr": "container_name:postfix\n| \"Greylisted\"\n| extract \"from=<from> \"\n| stats by (1m, from) count(*) as count\n| sort by (count) desc\n| limit 10",
+ "legendFormat": "from: {{from}}",
+ "queryType": "statsRange",
"refId": "A"
}
],
- "title": "Postfix",
- "type": "logs"
+ "title": "Greylisting",
+ "type": "heatmap"
},
{
"datasource": {
"type": "victoriametrics-logs-datasource",
"uid": "victorialogs1"
},
"fieldConfig": {
"defaults": {},
"overrides": []
},
"gridPos": {
"h": 8,
- "w": 24,
+ "w": 12,
"x": 0,
- "y": 78
+ "y": 163
},
- "id": 19,
+ "id": 31,
"options": {
"dedupStrategy": "none",
"enableInfiniteScrolling": true,
"enableLogDetails": true,
"showControls": true,
"showTime": true,
"sortOrder": "Descending",
- "syntaxHighlighting": true,
"unwrappedColumns": false,
"wrapLogMessage": false
},
"pluginVersion": "12.4.1",
"targets": [
{
"datasource": {
"type": "victoriametrics-logs-datasource",
"uid": "victorialogs1"
},
"editorMode": "code",
- "expr": "container_name: amavis",
+ "expr": "container_name:postfix\n| \"status=bounced\"",
"queryType": "instant",
"refId": "A"
}
],
- "title": "Amavis",
+ "title": "Bounces",
"type": "logs"
},
{
- "collapsed": true,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 86
+ "datasource": {
+ "type": "victoriametrics-logs-datasource",
+ "uid": "victorialogs1"
},
- "id": 27,
- "panels": [
- {
- "datasource": {
- "type": "victoriametrics-logs-datasource",
- "uid": "victorialogs1"
- },
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisBorderShow": false,
- "axisCenteredZero": false,
- "axisColorMode": "text",
- "axisLabel": "",
- "axisPlacement": "auto",
- "barAlignment": 0,
- "barWidthFactor": 0.6,
- "drawStyle": "line",
- "fillOpacity": 0,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "insertNulls": false,
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "auto",
- "showValues": false,
- "spanNulls": true,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": 0
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- },
- "unit": "ms"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 447
- },
- "id": 28,
- "options": {
- "legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom",
- "showLegend": true
+ "fieldConfig": {
+ "defaults": {
+ "custom": {
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
},
- "tooltip": {
- "hideZeros": false,
- "mode": "single",
- "sort": "none"
- }
- },
- "pluginVersion": "12.4.1",
- "targets": [
- {
- "datasource": {
- "type": "victoriametrics-logs-datasource",
- "uid": "victorialogs1"
- },
- "editorMode": "code",
- "expr": "container_name:\"roundcube\"\n| Microsoft-Server-ActiveSync\n| Cmd=\n| extract \"] <duration> \\\"POST /Microsoft-Server-ActiveSync\"\n| extract \"Cmd=<cmd>&\"\n| extract \"DeviceId=<device_id>&\"\n| stats by (cmd) \n avg(duration) as \"Average\",\n max(duration) as \"Max\"",
- "legendFormat": "",
- "queryType": "statsRange",
- "refId": "A"
+ "scaleDistribution": {
+ "type": "linear"
}
- ],
- "title": "Command duration",
- "type": "timeseries"
+ }
},
- {
- "datasource": {
- "type": "victoriametrics-logs-datasource",
- "uid": "victorialogs1"
- },
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisBorderShow": false,
- "axisCenteredZero": false,
- "axisColorMode": "text",
- "axisLabel": "",
- "axisPlacement": "auto",
- "barAlignment": 0,
- "barWidthFactor": 0.6,
- "drawStyle": "line",
- "fillOpacity": 0,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "insertNulls": false,
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "auto",
- "showValues": false,
- "spanNulls": true,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": 0
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- },
- "unit": "reqps"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 12,
- "y": 447
- },
- "id": 29,
- "options": {
- "legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom",
- "showLegend": true
- },
- "tooltip": {
- "hideZeros": false,
- "mode": "single",
- "sort": "none"
- }
- },
- "pluginVersion": "12.4.1",
- "targets": [
- {
- "datasource": {
- "type": "victoriametrics-logs-datasource",
- "uid": "victorialogs1"
- },
- "editorMode": "code",
- "expr": "container_name: roundcube\n| Microsoft-Server-ActiveSync\n| Cmd=\n| extract \"Cmd=<cmd>&\"\n| extract \"HTTP/1.0\\\" <status> <size>\"\n| stats by (cmd, 1m) count() as total_req\n| math(total_req / 60) as total_req",
- "legendFormat": "Command: {{cmd}}",
- "queryType": "statsRange",
- "refId": "Request counts"
- },
- {
- "datasource": {
- "type": "victoriametrics-logs-datasource",
- "uid": "victorialogs1"
- },
- "editorMode": "code",
- "expr": "container_name: roundcube\n| Microsoft-Server-ActiveSync\n| Cmd=\n| extract \"Cmd=<cmd>&\"\n| extract \"HTTP/1.0\\\" <status> <size>\"\n| filter status >= 400\n| stats by (1m, cmd) count() as error_count\n| math(error_count / 60) as error_count",
- "legendFormat": "Errors {{ cmd }}",
- "queryType": "statsRange",
- "refId": "Errors"
- }
- ],
- "title": "Commands & Errors",
- "type": "timeseries"
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 163
+ },
+ "id": 43,
+ "options": {
+ "calculate": false,
+ "cellGap": 1,
+ "color": {
+ "exponent": 0.5,
+ "fill": "dark-orange",
+ "mode": "scheme",
+ "reverse": false,
+ "scale": "exponential",
+ "scheme": "Oranges",
+ "steps": 64
},
- {
- "datasource": {
- "type": "victoriametrics-logs-datasource",
- "uid": "victorialogs1"
- },
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- }
- },
- "mappings": []
- },
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 455
- },
- "id": 30,
- "options": {
- "legend": {
- "displayMode": "list",
- "placement": "bottom",
- "showLegend": true
- },
- "pieType": "pie",
- "reduceOptions": {
- "calcs": [
- "lastNotNull"
- ],
- "fields": "",
- "values": false
- },
- "sort": "desc",
- "tooltip": {
- "hideZeros": false,
- "mode": "single",
- "sort": "none"
- }
+ "exemplars": {
+ "color": "rgba(255,0,255,0.7)"
+ },
+ "filterValues": {
+ "le": 1e-9
+ },
+ "legend": {
+ "show": true
+ },
+ "rowsFrame": {
+ "layout": "auto"
+ },
+ "tooltip": {
+ "mode": "single",
+ "showColorScale": false,
+ "yHistogram": false
+ },
+ "yAxis": {
+ "axisPlacement": "left",
+ "reverse": false
+ }
+ },
+ "pluginVersion": "12.4.1",
+ "targets": [
+ {
+ "datasource": {
+ "type": "victoriametrics-logs-datasource",
+ "uid": "victorialogs1"
},
- "pluginVersion": "12.4.1",
- "targets": [
- {
- "datasource": {
- "type": "victoriametrics-logs-datasource",
- "uid": "victorialogs1"
- },
- "editorMode": "code",
- "expr": "container_name: roundcube\n| Microsoft-Server-ActiveSync\n| Cmd=\n| extract \"Cmd=<cmd>&\"\n| stats by (1m, cmd) count() as rate_per_minute",
- "legendFormat": "{{cmd}}",
- "queryType": "statsRange",
- "refId": "A"
- }
- ],
- "title": "Commands per minute",
- "type": "piechart"
+ "editorMode": "code",
+ "expr": "container_name:postfix\n| \"status=bounced\" \n| extract \"to=<to> \"\n| stats by (1m, to) count(*) as bounces\n| sort by (bounces) desc\n| limit 10",
+ "legendFormat": "to: {{to}}",
+ "queryType": "statsRange",
+ "refId": "A"
}
],
- "title": "ActiveSync",
- "type": "row"
+ "title": "Top 10 bounced targets",
+ "type": "heatmap"
},
{
- "collapsed": true,
+ "datasource": {
+ "type": "victoriametrics-logs-datasource",
+ "uid": "victorialogs1"
+ },
+ "fieldConfig": {
+ "defaults": {},
+ "overrides": []
+ },
"gridPos": {
- "h": 1,
- "w": 24,
+ "h": 8,
+ "w": 12,
"x": 0,
- "y": 87
+ "y": 171
},
- "id": 22,
- "panels": [
+ "id": 45,
+ "options": {
+ "dedupStrategy": "none",
+ "enableInfiniteScrolling": false,
+ "enableLogDetails": true,
+ "showControls": false,
+ "showTime": true,
+ "sortOrder": "Descending",
+ "unwrappedColumns": false,
+ "wrapLogMessage": false
+ },
+ "pluginVersion": "12.4.1",
+ "targets": [
{
"datasource": {
"type": "victoriametrics-logs-datasource",
"uid": "victorialogs1"
},
- "description": "Shows deliveries that took over 100s. No data is a good sign.",
- "fieldConfig": {
- "defaults": {},
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 448
- },
- "id": 14,
- "options": {
- "dedupStrategy": "none",
- "enableInfiniteScrolling": false,
- "enableLogDetails": true,
- "showControls": false,
- "showLabels": false,
- "showTime": true,
- "sortOrder": "Descending",
- "syntaxHighlighting": true,
- "timestampResolution": "ms",
- "unwrappedColumns": false,
- "wrapLogMessage": false
- },
- "pluginVersion": "12.4.1",
- "targets": [
- {
- "datasource": {
- "type": "victoriametrics-logs-datasource",
- "uid": "victorialogs1"
- },
- "editorMode": "code",
- "expr": "container_name:postfix\n| \"delay=\"\n| extract \"delay=<delay>,\"\n| delay:>100\n",
- "maxLines": 50,
- "queryType": "instant",
- "refId": "A"
- }
- ],
- "title": "Long delivery delays",
- "type": "logs"
+ "editorMode": "code",
+ "expr": "container_name:postfix OR container_name: kolab pod_name: kolab-services*\n| filter \"NOQUEUE\" OR \"SPF\"\n| format \"<process> <_msg>\"",
+ "queryType": "instant",
+ "refId": "A"
},
{
"datasource": {
"type": "victoriametrics-logs-datasource",
"uid": "victorialogs1"
},
- "fieldConfig": {
- "defaults": {},
- "overrides": []
- },
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 456
- },
- "id": 31,
- "options": {
- "dedupStrategy": "none",
- "enableInfiniteScrolling": false,
- "enableLogDetails": true,
- "showControls": false,
- "showTime": false,
- "sortOrder": "Descending",
- "unwrappedColumns": false,
- "wrapLogMessage": false
- },
- "pluginVersion": "12.4.1",
- "targets": [
- {
- "datasource": {
- "type": "victoriametrics-logs-datasource",
- "uid": "victorialogs1"
- },
- "editorMode": "code",
- "expr": "container_name:postfix\n| \"status=bounced\"",
- "queryType": "instant",
- "refId": "A"
- }
- ],
- "title": "Bounces",
- "type": "logs"
- },
+ "editorMode": "code",
+ "expr": "container_name:postfix\n| \"command rejected\"\n| format \"<process> <_msg>\"",
+ "queryType": "instant",
+ "refId": "B"
+ }
+ ],
+ "title": "NOQUEUE / Rejected",
+ "type": "logs"
+ },
+ {
+ "datasource": {
+ "type": "victoriametrics-logs-datasource",
+ "uid": "victorialogs1"
+ },
+ "fieldConfig": {
+ "defaults": {},
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 171
+ },
+ "id": 50,
+ "options": {
+ "dedupStrategy": "none",
+ "enableInfiniteScrolling": false,
+ "enableLogDetails": true,
+ "showControls": false,
+ "showTime": true,
+ "sortOrder": "Descending",
+ "unwrappedColumns": false,
+ "wrapLogMessage": false
+ },
+ "pluginVersion": "12.4.1",
+ "targets": [
{
"datasource": {
"type": "victoriametrics-logs-datasource",
"uid": "victorialogs1"
},
- "fieldConfig": {
- "defaults": {},
- "overrides": []
+ "editorMode": "code",
+ "expr": "container_name: imap\n| \"mupdate_connect failed\" OR \"no mechanism available\" OR \"Internal error\"",
+ "queryType": "instant",
+ "refId": "A"
+ }
+ ],
+ "title": "IMAP Errors",
+ "type": "logs"
+ },
+ {
+ "datasource": {
+ "type": "victoriametrics-logs-datasource",
+ "uid": "victorialogs1"
+ },
+ "fieldConfig": {
+ "defaults": {},
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 12,
+ "x": 0,
+ "y": 179
+ },
+ "id": 23,
+ "options": {
+ "dedupStrategy": "none",
+ "enableInfiniteScrolling": false,
+ "enableLogDetails": true,
+ "showControls": false,
+ "showTime": true,
+ "sortOrder": "Descending",
+ "unwrappedColumns": false,
+ "wrapLogMessage": false
+ },
+ "pluginVersion": "12.4.1",
+ "targets": [
+ {
+ "datasource": {
+ "type": "victoriametrics-logs-datasource",
+ "uid": "victorialogs1"
},
- "gridPos": {
- "h": 8,
- "w": 12,
- "x": 0,
- "y": 464
+ "editorMode": "code",
+ "expr": "container_name: kolab OR container_name: horizon OR container_name: roundcube | error OR exception OR Error OR Exception | filter !production.INFO",
+ "queryType": "instant",
+ "refId": "A"
+ }
+ ],
+ "title": "Exceptions",
+ "type": "logs"
+ },
+ {
+ "collapsed": false,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 187
+ },
+ "id": 24,
+ "panels": [],
+ "title": "General",
+ "type": "row"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "prometheus1"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
},
- "id": 23,
- "options": {
- "dedupStrategy": "none",
- "enableInfiniteScrolling": false,
- "enableLogDetails": true,
- "showControls": false,
- "showTime": false,
- "sortOrder": "Descending",
- "unwrappedColumns": false,
- "wrapLogMessage": false
- },
- "pluginVersion": "12.4.1",
- "targets": [
- {
- "datasource": {
- "type": "victoriametrics-logs-datasource",
- "uid": "victorialogs1"
- },
- "editorMode": "code",
- "expr": "container_name: kolab OR horizon OR roundcube | error OR exception",
- "queryType": "instant",
- "refId": "A"
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "barWidthFactor": 0.6,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "auto",
+ "showValues": false,
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
}
- ],
- "title": "Exceptions",
- "type": "logs"
+ },
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 9,
+ "w": 3,
+ "x": 0,
+ "y": 188
+ },
+ "hideTimeOverride": false,
+ "id": 25,
+ "interval": "1h",
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "hideZeros": false,
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "pluginVersion": "12.4.1",
+ "targets": [
+ {
+ "editorMode": "code",
+ "exemplar": false,
+ "expr": "kolab_users_count",
+ "instant": false,
+ "legendFormat": "{{state}}",
+ "range": true,
+ "refId": "A"
}
],
- "title": "Troubleshooting",
- "type": "row"
+ "timeFrom": "30d",
+ "title": "Users",
+ "type": "timeseries"
},
{
- "collapsed": true,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 88
+ "datasource": {
+ "type": "prometheus",
+ "uid": "prometheus1"
},
- "id": 24,
- "panels": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "prometheus1"
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
},
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisBorderShow": false,
- "axisCenteredZero": false,
- "axisColorMode": "text",
- "axisLabel": "",
- "axisPlacement": "auto",
- "barAlignment": 0,
- "barWidthFactor": 0.6,
- "drawStyle": "line",
- "fillOpacity": 0,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "insertNulls": false,
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "auto",
- "showValues": false,
- "spanNulls": false,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": 0
- }
- ]
- }
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "barWidthFactor": 0.6,
+ "drawStyle": "line",
+ "fillOpacity": 0,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
},
- "overrides": []
- },
- "gridPos": {
- "h": 9,
- "w": 3,
- "x": 0,
- "y": 318
- },
- "hideTimeOverride": false,
- "id": 25,
- "interval": "1h",
- "options": {
- "legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom",
- "showLegend": true
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
},
- "tooltip": {
- "hideZeros": false,
- "mode": "single",
- "sort": "none"
+ "showPoints": "auto",
+ "showValues": false,
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
}
},
- "pluginVersion": "12.4.1",
- "targets": [
- {
- "editorMode": "code",
- "exemplar": false,
- "expr": "kolab_users_count",
- "instant": false,
- "legendFormat": "{{state}}",
- "range": true,
- "refId": "A"
- }
- ],
- "timeFrom": "30d",
- "title": "Users",
- "type": "timeseries"
+ "mappings": [],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": 0
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ }
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 9,
+ "w": 3,
+ "x": 3,
+ "y": 188
+ },
+ "id": 26,
+ "interval": "1h",
+ "options": {
+ "legend": {
+ "calcs": [],
+ "displayMode": "list",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "hideZeros": false,
+ "mode": "single",
+ "sort": "none"
+ }
+ },
+ "pluginVersion": "12.4.1",
+ "targets": [
+ {
+ "editorMode": "code",
+ "expr": "kolab_payers_active_count ",
+ "legendFormat": "Payers active",
+ "range": true,
+ "refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus1"
},
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "palette-classic"
- },
- "custom": {
- "axisBorderShow": false,
- "axisCenteredZero": false,
- "axisColorMode": "text",
- "axisLabel": "",
- "axisPlacement": "auto",
- "barAlignment": 0,
- "barWidthFactor": 0.6,
- "drawStyle": "line",
- "fillOpacity": 0,
- "gradientMode": "none",
- "hideFrom": {
- "legend": false,
- "tooltip": false,
- "viz": false
- },
- "insertNulls": false,
- "lineInterpolation": "linear",
- "lineWidth": 1,
- "pointSize": 5,
- "scaleDistribution": {
- "type": "linear"
- },
- "showPoints": "auto",
- "showValues": false,
- "spanNulls": false,
- "stacking": {
- "group": "A",
- "mode": "none"
- },
- "thresholdsStyle": {
- "mode": "off"
- }
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": 0
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- }
- },
- "overrides": []
- },
- "gridPos": {
- "h": 9,
- "w": 3,
- "x": 3,
- "y": 318
- },
- "id": 26,
- "interval": "1h",
- "options": {
- "legend": {
- "calcs": [],
- "displayMode": "list",
- "placement": "bottom",
- "showLegend": true
- },
- "tooltip": {
- "hideZeros": false,
- "mode": "single",
- "sort": "none"
- }
- },
- "pluginVersion": "12.4.1",
- "targets": [
- {
- "editorMode": "code",
- "expr": "kolab_payers_active_count ",
- "legendFormat": "Payers active",
- "range": true,
- "refId": "A"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "prometheus1"
- },
- "editorMode": "builder",
- "expr": "kolab_payers_count",
- "instant": false,
- "legendFormat": "Payers",
- "range": true,
- "refId": "B"
- }
- ],
- "timeFrom": "30d",
- "title": "Payers",
- "type": "timeseries"
+ "editorMode": "builder",
+ "expr": "kolab_payers_count",
+ "instant": false,
+ "legendFormat": "Payers",
+ "range": true,
+ "refId": "B"
}
],
- "title": "General",
- "type": "row"
+ "timeFrom": "30d",
+ "title": "Payers",
+ "type": "timeseries"
},
{
"collapsed": true,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
- "y": 89
+ "y": 197
},
"id": 8,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus1"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "smooth",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"showValues": false,
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
- "y": 842
+ "y": 2380
},
"id": 10,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "right",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.4.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus1"
},
"editorMode": "code",
"expr": "sum(rate(container_cpu_usage_seconds_total{cluster=\"\", container!=\"POD\"}[5m])) by (pod, namespace)",
"hide": true,
"instant": false,
"legendFormat": "__auto",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus1"
},
"editorMode": "code",
"expr": "sum(rate(container_cpu_usage_seconds_total{pod!=\"\"}[5m])) by (pod)",
"instant": false,
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "CPU",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus1"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"showValues": false,
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
- "y": 850
+ "y": 2388
},
"id": 9,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "right",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.4.0",
"targets": [
{
"disableTextWrap": false,
"editorMode": "code",
"expr": "sum(container_memory_usage_bytes{container!=\"\"} / 1024 / 1024) without (id, pod, image, instance, job, name)",
"fullMetaSearch": false,
"includeNullMetadata": true,
"legendFormat": "__auto",
"range": true,
"refId": "A",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus1"
},
"editorMode": "code",
"expr": "sum(\n label_replace(\n container_memory_usage_bytes{pod!=\"\"},\n \"deployment\", \"$1\", \"pod\", \"(.+)-[^-]+-[^-]+\"\n ) / 1024 / 1024\n) by (namespace,deployment)",
"hide": true,
"instant": false,
"legendFormat": "__auto",
"range": true,
"refId": "B"
}
],
"title": "Memory",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus1"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"showValues": false,
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
- "y": 858
+ "y": 2396
},
"id": 11,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.4.0",
"targets": [
{
"editorMode": "code",
"expr": "sum by (persistentvolumeclaim) (kubelet_volume_stats_available_bytes / 1024 / 1024)",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "PVC available mb",
"type": "timeseries"
}
],
"title": "Kubernetes",
"type": "row"
}
],
"preload": false,
"refresh": "",
"schemaVersion": 42,
"tags": [],
"templating": {
"list": [
{
"baseFilters": [],
"datasource": {
"type": "victoriametrics-logs-datasource",
"uid": "victorialogs1"
},
"description": "Add custom filters to log queries",
"filters": [],
"label": "Logfilters",
"name": "logfilters",
"type": "adhoc"
}
]
},
"time": {
- "from": "2026-03-10T10:01:25.588Z",
- "to": "2026-03-10T10:06:56.201Z"
+ "from": "now-15m",
+ "to": "now"
},
"timepicker": {},
"timezone": "browser",
"title": "Kolab",
"uid": "befpnnt3hswe8a",
- "version": 37,
+ "version": 51,
"weekStart": ""
}

File Metadata

Mime Type
text/x-diff
Expires
Sat, Apr 4, 7:19 AM (1 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18746793
Default Alt Text
(138 KB)

Event Timeline