diff options
| author | Andreas Rammhold <andreas@rammhold.de> | 2018-11-04 19:27:43 +0100 |
|---|---|---|
| committer | Andreas Rammhold <andreas@rammhold.de> | 2018-11-23 19:45:17 +0100 |
| commit | 51c30821199f8b3170fdf5f54921f20a1082ad79 (patch) | |
| tree | 606e4825acef101fe21db32a7b30f7c755f3e264 /pkgs/development/python-modules/GitPython/hardcode-git-path.patch | |
| parent | b1032db5a9a2c65737a4fb2a8410224e6b87db56 (diff) | |
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.
Diffstat (limited to 'pkgs/development/python-modules/GitPython/hardcode-git-path.patch')
0 files changed, 0 insertions, 0 deletions
