From 462c6fe4b115804ea4d5bee7103c0f46ff9f9cfb Mon Sep 17 00:00:00 2001 From: Travis Athougies Date: Tue, 28 Apr 2020 10:22:03 -0700 Subject: [PATCH] [nixos/prometheus] promTypes.filter.value -> promTypes.filter.values The new configuration name for this is plural. Currently, attempting to enable ec2 SD results in a `promtool check config` error (cherry picked from commit 8389fb8f169bf770cdadf856030bf698ff0baeec) --- nixos/modules/services/monitoring/prometheus/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/monitoring/prometheus/default.nix b/nixos/modules/services/monitoring/prometheus/default.nix index b67f697ca0de..46c3ff3a7ef0 100644 --- a/nixos/modules/services/monitoring/prometheus/default.nix +++ b/nixos/modules/services/monitoring/prometheus/default.nix @@ -306,7 +306,7 @@ let ''; }; - value = mkOption { + values = mkOption { type = types.listOf types.str; default = []; description = ''