summary refs log tree commit diff
path: root/nixos/tests/prometheus.nix
Commit message (Collapse)AuthorAge
* nixos/qemu-vm: default memorySize 384 -> 1024Artturin2021-11-21
| | | | | | | | | the default hasn't been changed since 2009 this can improve our test performances nixos/tests: remove explicit memorySize <1024 1024MiB is now the default
* nixos/prometheus: remove services.prometheus.environmentFileBas van Dijk2021-11-07
| | | | The option `services.prometheus.environmentFile` has been removed since it was causing [issues](https://github.com/NixOS/nixpkgs/issues/126083) and Prometheus now has native support for secret files.
* module/prometheus: optionally support reloading on config changesBas van Dijk2021-11-04
| | | | | | | | | | | | | | The new option `services.prometheus.enableReload` has been introduced which, when enabled, causes the prometheus systemd service to reload when its config file changes. More specifically the following property holds: switching to a configuration (`switch-to-configuration`) that changes the prometheus configuration only finishes successully when prometheus has finished loading the new configuration. `enableReload` is `false` by default in which case the old semantics of restarting the prometheus systemd service are in effect.
* nixos/tests/prometheus: increase `memorySize`Maximilian Bosch2020-12-23
| | | | | | | Apparently, our NixOS tests need more RAM now. This was needed for e.g. the `gitea`-test as well[1]. [1] affb72eccd5284defab1b557be65f45f8a02c86d
* nixos/tests/prometheus: remove invalid thanos config flagAndreas Rammhold2020-11-01
| | | | | | | | Upstream has apparently changed the configuration format and is now throwing an error when the `encrypt_sse` option is set. According to the current version of the documentation encryption moved to the `sse_config` option that (is optional and) offers all the features we do not use or care about for this test.
* nixos/tests/prometheus: Use curl --failScott Worley2020-10-25
|
* prometheus: 2.19.3 -> 2.20.1, fix thanos testWilliButz2020-08-20
|
* prometheus: 2.17.2 -> 2.18.1Sergey Lukjanov2020-05-08
|
* nixos/prometheus: Port prometheus test to pythonJacek Galowicz2019-11-24
|
* nixos/tests: remove prometheus_1 testWilliButz2019-09-06
|
* 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.