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
..
2018-11-19 01:09:54 +01:00
2018-09-21 09:22:03 +02:00
2018-08-31 21:19:53 -05:00
2018-08-03 09:40:32 +02:00
2018-09-21 01:17:41 +02:00
2018-11-14 18:58:45 +01:00
2018-08-29 19:38:00 +02:00
2018-06-24 16:10:32 +02:00
2018-10-28 19:13:12 +00:00
2018-10-30 14:33:35 +00:00
2018-08-24 15:48:39 +02:00