nixpkgs/nixos/modules/services/monitoring/prometheus
Bas van Dijk 57e5b75f9c nixos/prometheus: filter out the _module attr in a central place
We previously filtered out the `_module` attribute in a NixOS
configuration by filtering it using the option's `apply` function.

This meant that every option that had a submodule type needed to have
this apply function. Adding this function is easy to forget thus this
mechanism is error prone.

We now recursively filter out the `_module` attributes at the place we
construct the Prometheus configuration file. Since we now do the filtering
centrally we don't have to do it per option making it less prone to errors.
2019-04-17 14:08:16 +02:00
..
exporters Rollback versionning of services.prometheus.{exporters, alertmanager}. 2019-03-25 14:36:46 +01:00
alertmanager.nix nixos/prometheus/alertmanager: use DynamicUser instead of nobody 2019-04-10 20:38:40 +02:00
default.nix nixos/prometheus: filter out the _module attr in a central place 2019-04-17 14:08:16 +02:00
exporters.nix Rollback versionning of services.prometheus.{exporters, alertmanager}. 2019-03-25 14:36:46 +01:00
exporters.xml docs: format 2018-09-29 20:51:11 -04:00
pushgateway.nix nixos/prometheus/pushgateway: add module and test 2019-04-16 08:09:38 +02:00