+9
nixos/doc/manual/from_md/release-notes/rl-2111.section.xml
+9
nixos/doc/manual/from_md/release-notes/rl-2111.section.xml
···
+2
nixos/doc/manual/release-notes/rl-2111.section.md
+2
nixos/doc/manual/release-notes/rl-2111.section.md
···- A new option `services.prometheus.enableReload` has been added which can be enabled to reload the prometheus service when its config file changes instead of restarting.+- 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.- the nginx option has been removed, in the new configuration, please use the `dokuwiki.webserver = "nginx"` instead.
+9
-82
nixos/modules/services/monitoring/prometheus/default.nix
+9
-82
nixos/modules/services/monitoring/prometheus/default.nix
······"--alertmanager.notification-queue-capacity=${toString cfg.alertmanagerNotificationQueueCapacity}"·········-EnvironmentFile = mkIf (cfg.environmentFile != null && !cfg.enableReload) [ cfg.environmentFile ];······ExecStart = "${pkgs.logger}/bin/logger 'prometheus-config-reload will only reload prometheus when reloaded itself.'";
+1
-10
nixos/tests/prometheus.nix
+1
-10
nixos/tests/prometheus.nix
······