17 lines
273 B
Nix
17 lines
273 B
Nix
{ config, pkgs, lib, ... }:
|
|
|
|
{
|
|
|
|
services.prometheus.exporters.postfix = {
|
|
enable = true;
|
|
};
|
|
|
|
services.victoriametrics.extraScrapeConfigs = [
|
|
''
|
|
- job_name: "postfix-exporter"
|
|
static_configs:
|
|
- targets: ['localhost:9154']
|
|
''
|
|
];
|
|
}
|