From 8389fb8f169bf770cdadf856030bf698ff0baeec 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 --- 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 84a72afac2f7..76b1f755447b 100644 --- a/nixos/modules/services/monitoring/prometheus/default.nix +++ b/nixos/modules/services/monitoring/prometheus/default.nix @@ -307,7 +307,7 @@ let ''; }; - value = mkOption { + values = mkOption { type = types.listOf types.str; default = []; description = ''