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,15 @@
{ config, pkgs, lib, ... }:
{
services.prometheus.exporters.dovecot = {
enable = true;
};
services.victoriametrics.extraScrapeConfigs = [
''
- job_name: "dovecot-exporter"
static_configs:
- targets: ['localhost:9166']
''
];
}