3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/services/monitoring/prometheus
Andreas Rammhold 51c3082119 nixos/prometheus: require one alertmanager configuration parameter
This commit adds an assertion that checks that either `configFile` or
`configuration` is configured for alertmanager. The alertmanager config
can not be an empty attributeset. The check executed with `amtool` fails
before the service even has the chance to start. We should probably not
allow a broken alertmanager configuration anyway.

This also introduces a test for alertmanager configuration that piggy
backs on the existing prometheus tests.
2018-11-23 19:45:17 +01:00
..
exporters prometheus-tor-exporter: init at 0.3 2018-10-13 10:10:29 +02:00
alertmanager.nix nixos/prometheus: require one alertmanager configuration parameter 2018-11-23 19:45:17 +01:00
default.nix nixos/prometheus: check configuration before starting service 2018-11-04 15:08:44 +01:00
exporters.nix prometheus-tor-exporter: init at 0.3 2018-10-13 10:10:29 +02:00
exporters.xml docs: format 2018-09-29 20:51:11 -04:00