feat: add metrics exporters for Dovecot and Postfix, update Signal execution command, and improve configuration management

This commit is contained in:
2025-06-03 23:06:40 +02:00
parent 436903543b
commit e8bf13275e
10 changed files with 102 additions and 3 deletions

View File

@@ -0,0 +1,16 @@
{ config, pkgs, lib, ... }:
{
services.prometheus.exporters.postfix = {
enable = true;
};
services.victoriametrics.extraScrapeConfigs = [
''
- job_name: "postfix-exporter"
static_configs:
- targets: ['localhost:9154']
''
];
}