grafana_dashboards/Postfix-1699113965485.json

2265 lines
49 KiB
JSON
Raw Permalink Normal View History

2023-11-04 16:07:09 +00:00
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"description": "Prometheus Postfix exporter metrics.",
"editable": true,
"fiscalYearStartMonth": 0,
"gnetId": 10013,
"graphTooltip": 0,
"id": 9,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"datasource": {
"type": "loki",
"uid": "c0696081-8d61-4fbd-bde3-6510cbc6b07f"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 31,
"panels": [],
"targets": [
{
"datasource": {
"type": "loki",
"uid": "c0696081-8d61-4fbd-bde3-6510cbc6b07f"
},
"refId": "A"
}
],
"title": "cleanup(8)",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"fill": 8,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 1
},
"hiddenSeries": false,
"id": 2,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "10.2.0",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"expr": "rate(postfix_cleanup_messages_processed_total{instance=~\"$instance\"}[5m])",
"legendFormat": "{{ instance }}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Message processing rate",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "ops",
"logBase": 1,
"min": 0,
"show": true
},
{
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 1
},
"hiddenSeries": false,
"id": 3,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "10.2.0",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"expr": "rate(postfix_cleanup_messages_rejected_total{instance=~\"$instance\"}[5m])",
"legendFormat": "{{ instance }}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Rejection ratio",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "percentunit",
"logBase": 1,
"show": true
},
{
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"collapsed": false,
"datasource": {
"type": "loki",
"uid": "c0696081-8d61-4fbd-bde3-6510cbc6b07f"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 8
},
"id": 32,
"panels": [],
"targets": [
{
"datasource": {
"type": "loki",
"uid": "c0696081-8d61-4fbd-bde3-6510cbc6b07f"
},
"refId": "A"
}
],
"title": "lmtp(8)",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"fill": 8,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 9
},
"hiddenSeries": false,
"id": 5,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "10.2.0",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"expr": "rate(postfix_lmtp_messages_processed_total{instance=~\"$instance\"}[5m])",
"legendFormat": "{{ instance }}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Message processing rate",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "ops",
"logBase": 1,
"min": 0,
"show": true
},
{
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"fill": 8,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 9
},
"hiddenSeries": false,
"id": 6,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "10.2.0",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"expr": "(sum(rate(postfix_lmtp_delivery_delay_seconds_sum{instance=~\"$instance\"}[5m])) by (stage)) / (sum(rate(postfix_lmtp_delivery_delay_seconds_count{instance=~\"$instance\"}[5m])) by (stage))",
"legendFormat": "{{ stage }}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Average delivery duration by stage",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"logBase": 1,
"min": 0,
"show": true
},
{
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"collapsed": false,
"datasource": {
"type": "loki",
"uid": "c0696081-8d61-4fbd-bde3-6510cbc6b07f"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 16
},
"id": 33,
"panels": [],
"targets": [
{
"datasource": {
"type": "loki",
"uid": "c0696081-8d61-4fbd-bde3-6510cbc6b07f"
},
"refId": "A"
}
],
"title": "pipe(8)",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"fill": 8,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 17
},
"hiddenSeries": false,
"id": 8,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "10.2.0",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"expr": "rate(postfix_pipe_delivery_delay_seconds_count{instance=~\"$instance\"}[5m])",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{ instance }} {{ relay }} {{stage}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Message processing rate",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "ops",
"logBase": 1,
"min": 0,
"show": true
},
{
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"fill": 8,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 17
},
"hiddenSeries": false,
"id": 9,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "10.2.0",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"expr": "sum(rate(postfix_pipe_delivery_delay_seconds_count{instance=~\"$instance\"}[5m])) by (stage)",
"legendFormat": "{{ stage }}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Average delivery duration by stage",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"logBase": 1,
"min": 0,
"show": true
},
{
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"collapsed": false,
"datasource": {
"type": "loki",
"uid": "c0696081-8d61-4fbd-bde3-6510cbc6b07f"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 24
},
"id": 34,
"panels": [],
"targets": [
{
"datasource": {
"type": "loki",
"uid": "c0696081-8d61-4fbd-bde3-6510cbc6b07f"
},
"refId": "A"
}
],
"title": "qmgr(8)",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"fill": 8,
"gridPos": {
"h": 7,
"w": 8,
"x": 0,
"y": 25
},
"id": 11,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"expr": "rate(postfix_qmgr_messages_inserted_size_bytes_count{instance=~\"$instance\"}[5m])",
"legendFormat": "{{ instance }}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Message insertion rate",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "ops",
"logBase": 1,
"min": 0,
"show": true
},
{
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"fill": 8,
"gridPos": {
"h": 7,
"w": 8,
"x": 8,
"y": 25
},
"id": 12,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"expr": "rate(postfix_qmgr_messages_inserted_size_bytes_sum{instance=~\"$instance\"}[5m])",
"legendFormat": "{{ instance }}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Message insertion bandwidth",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "Bps",
"logBase": 1,
"min": 0,
"show": true
},
{
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"fill": 8,
"gridPos": {
"h": 7,
"w": 8,
"x": 16,
"y": 25
},
"id": 13,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"expr": "rate(postfix_qmgr_messages_removed_total{instance=~\"$instance\"}[5m])",
"legendFormat": "{{ instance }}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Message removal rate",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "ops",
"logBase": 1,
"min": 0,
"show": true
},
{
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"collapsed": false,
"datasource": {
"type": "loki",
"uid": "c0696081-8d61-4fbd-bde3-6510cbc6b07f"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 32
},
"id": 35,
"panels": [],
"targets": [
{
"datasource": {
"type": "loki",
"uid": "c0696081-8d61-4fbd-bde3-6510cbc6b07f"
},
"refId": "A"
}
],
"title": "showq(8)",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"fill": 8,
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 33
},
"id": 15,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"expr": "postfix_showq_message_size_bytes_count{instance=~\"$instance\"}",
"legendFormat": "{{ instance }} {{ queue }}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Number of enqueued messages",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"min": 0,
"show": true
},
{
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"fill": 8,
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 40
},
"id": 16,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"expr": "postfix_showq_message_size_bytes_sum{instance=~\"$instance\"}",
"legendFormat": "{{ instance }} {{ queue }}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Size of enqueued messages",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "decbytes",
"logBase": 1,
"min": 0,
"show": true
},
{
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"fill": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 40
},
"id": 17,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"expr": "avg(postfix_showq_message_age_seconds_count{instance=~\"$instance\"}) by (instance)",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{ instance }} {{ queue }}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Average age of enqueued messages",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"logBase": 1,
"show": true
},
{
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"collapsed": false,
"datasource": {
"type": "loki",
"uid": "c0696081-8d61-4fbd-bde3-6510cbc6b07f"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 47
},
"id": 36,
"panels": [],
"targets": [
{
"datasource": {
"type": "loki",
"uid": "c0696081-8d61-4fbd-bde3-6510cbc6b07f"
},
"refId": "A"
}
],
"title": "smtp(8)",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"fill": 8,
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 48
},
"id": 19,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"expr": "rate(postfix_smtp_delivery_delay_seconds_count{instance=~\"$instance\"}[5m])",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{ instance }} {{stage}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Message processing rate",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "ops",
"logBase": 1,
"min": 0,
"show": true
},
{
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"fill": 8,
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 48
},
"id": 20,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"expr": "(sum(rate(postfix_smtp_delivery_delay_seconds_sum{instance=~\"$instance\"}[5m])) by (stage)) / (sum(rate(postfix_smtp_delivery_delay_seconds_count{instance=~\"$instance\"}[5m])) by (stage))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{ stage }}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Average delivery duration by stage",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"logBase": 1,
"min": 0,
"show": true
},
{
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "loki",
"uid": "c0696081-8d61-4fbd-bde3-6510cbc6b07f"
},
"fill": 1,
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 55
},
"id": 40,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "loki",
"uid": "c0696081-8d61-4fbd-bde3-6510cbc6b07f"
},
"expr": "(sum(rate(postfix_smtp_tls_connections_total{instance=~\"$instance\"}[5m])) by (instance)) / (sum(rate(postfix_smtp_delivery_delay_seconds_count{instance=~\"$instance\"}[5m])) by (instance))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{instance}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "TLS conection ratio",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "percentunit",
"logBase": 1,
"max": "1",
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"fill": 8,
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 55
},
"id": 21,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"percentage": true,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"expr": "rate(postfix_smtp_tls_connections_total[5m])",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{ protocol }}: {{ cipher }}, {{ trust }}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "TLS protocol/cipher usage",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"max": 100,
"min": 0,
"show": true
},
{
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"collapsed": false,
"datasource": {
"type": "loki",
"uid": "c0696081-8d61-4fbd-bde3-6510cbc6b07f"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 62
},
"id": 37,
"panels": [],
"targets": [
{
"datasource": {
"type": "loki",
"uid": "c0696081-8d61-4fbd-bde3-6510cbc6b07f"
},
"refId": "A"
}
],
"title": "smtpd(8)",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"fill": 8,
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 63
},
"id": 23,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"expr": "rate(postfix_smtpd_connects_total{instance=~\"$instance\"}[5m])",
"legendFormat": "{{ instance }}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Connect rate",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "ops",
"logBase": 1,
"min": 0,
"show": true
},
{
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"fill": 8,
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 63
},
"id": 24,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"expr": "rate(postfix_smtpd_disconnects_total{instance=~\"$instance\"}[5m])",
"legendFormat": "{{ instance }}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Disconnect rate",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "ops",
"logBase": 1,
"min": 0,
"show": true
},
{
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"fill": 8,
"gridPos": {
"h": 7,
"w": 8,
"x": 0,
"y": 70
},
"id": 25,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"expr": "rate(postfix_smtpd_connections_lost_total{instance=~\"$instance\"}[5m])",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{ instance }} {{after_stage}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Connections lost",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "ops",
"logBase": 1,
"min": 0,
"show": true
},
{
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"fill": 8,
"gridPos": {
"h": 7,
"w": 8,
"x": 8,
"y": 70
},
"id": 26,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"expr": "rate(postfix_smtpd_sasl_authentication_failures_total{instance=~\"$instance\"}[5m])",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{ instance }}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "SASL authentication failures",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "ops",
"logBase": 1,
"min": 0,
"show": true
},
{
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"fill": 8,
"gridPos": {
"h": 7,
"w": 8,
"x": 16,
"y": 70
},
"id": 27,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"expr": "rate(postfix_smtpd_forward_confirmed_reverse_dns_errors_total{instance=~\"$instance\"}[5m])",
"legendFormat": "{{ instance }}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Forward-confirmed reverse DNS erros",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "ops",
"logBase": 1,
"min": 0,
"show": true
},
{
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"fill": 8,
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 77
},
"id": 28,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"expr": "rate(postfix_smtpd_messages_processed_total{instance=~\"$instance\"}[5m])",
"legendFormat": "{{ instance }}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Message processing rate",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "ops",
"logBase": 1,
"min": 0,
"show": true
},
{
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"fill": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 77
},
"id": 29,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"expr": "rate(postfix_smtpd_messages_rejected_total{instance=~\"$instance\"}[5m])",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{ instance }} {{code}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Rejection ratio",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "percentunit",
"logBase": 1,
"show": true
},
{
"show": false
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "loki",
"uid": "c0696081-8d61-4fbd-bde3-6510cbc6b07f"
},
"fill": 1,
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 84
},
"id": 39,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "loki",
"uid": "c0696081-8d61-4fbd-bde3-6510cbc6b07f"
},
"expr": "(sum(rate(postfix_smtpd_tls_connections_total{instance=~\"$instance\"}[5m])) by (instance)) / (sum(rate(postfix_smtpd_connects_total{instance=~\"$instance\"}[5m])) by (instance))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{instance}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "TLS conection ratio",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "percentunit",
"logBase": 1,
"max": "1",
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"fill": 8,
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 84
},
"id": 30,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"percentage": true,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"expr": "rate(postfix_smtpd_tls_connections_total[5m])",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{ protocol }}: {{ cipher }}, {{ trust }}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "TLS protocol/cipher usage",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"max": 100,
"min": 0,
"show": true
},
{
"show": false
}
],
"yaxis": {
"align": false
}
}
],
"refresh": "",
"schemaVersion": 38,
"tags": [],
"templating": {
"list": [
{
"current": {
"selected": false,
"text": "All",
"value": "$__all"
},
"datasource": {
"type": "prometheus",
"uid": "a723478f-b9ea-4bb9-b86d-a2de1cb5bc5d"
},
"definition": "",
"hide": 0,
"includeAll": true,
"multi": true,
"name": "instance",
"options": [],
"query": "label_values(postfix_up,instance)",
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
"timezone": "",
"title": "Postfix",
"uid": "h36Havfik",
"version": 1,
"weekStart": ""
}