about summary refs log tree commit diff
path: root/nixos/tests/prometheus.nix
Commit message (Collapse)AuthorAge
* nixos/prometheus: require one alertmanager configuration parameterAndreas Rammhold2018-11-23
| | | | | | | | | | | 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.
* [bot] nixos/*: remove unused arguments in lambdasvolth2018-07-20
|
* nixos/tests: unbreak prometheus testBjørn Forsman2017-10-16
| | | | | Commit 271d3f7a432f ("prometheus service: globalConfig.labels is obsolete") removed globalConfig.labels. Update the test config accordingly.
* nixos: unbreak prometheus testBjørn Forsman2016-12-20
| | | | | | target_groups was renamed to static_configs in d459916504 ("prometheus service: rename values to match prometheus 1.0 naming."). Catch up.
* prometheus service: addBenjamin Staffin2016-09-04
This is based on @benleys work: https://github.com/NixOS/nixpkgs/pull/8216 I updated changed the user and group ids.