diff options
author | Tom Hunger <tehunger@gmail.com> | 2016-09-04 19:59:32 +0100 |
---|---|---|
committer | Tom Hunger <tehunger@gmail.com> | 2016-09-04 20:03:45 +0100 |
commit | d4599165010f1541219cf32278e21a18ef8db8f7 (patch) | |
tree | 2c381c5d803b74b0af1e7d5fff82cb6658421b9f /nixos/modules/services | |
parent | 58869cf31020c8eca25f63f8c9d6d2d89f731166 (diff) | |
download | nixlib-d4599165010f1541219cf32278e21a18ef8db8f7.tar nixlib-d4599165010f1541219cf32278e21a18ef8db8f7.tar.gz nixlib-d4599165010f1541219cf32278e21a18ef8db8f7.tar.bz2 nixlib-d4599165010f1541219cf32278e21a18ef8db8f7.tar.lz nixlib-d4599165010f1541219cf32278e21a18ef8db8f7.tar.xz nixlib-d4599165010f1541219cf32278e21a18ef8db8f7.tar.zst nixlib-d4599165010f1541219cf32278e21a18ef8db8f7.zip |
prometheus service: rename values to match prometheus 1.0 naming.
Diffstat (limited to 'nixos/modules/services')
-rw-r--r-- | nixos/modules/services/monitoring/prometheus.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/modules/services/monitoring/prometheus.nix b/nixos/modules/services/monitoring/prometheus.nix index 50cfff19ade3..31979d2660cc 100644 --- a/nixos/modules/services/monitoring/prometheus.nix +++ b/nixos/modules/services/monitoring/prometheus.nix @@ -152,8 +152,8 @@ let List of file service discovery configurations. ''; }; - target_groups = mkOption { - type = types.listOf promTypes.target_group; + static_configs = mkOption { + type = types.listOf promTypes.static_config; default = []; apply = x: map _filter x; description = '' @@ -171,7 +171,7 @@ let }; }; - promTypes.target_group = types.submodule { + promTypes.static_config = types.submodule { options = { targets = mkOption { type = types.listOf types.str; @@ -251,7 +251,7 @@ let promTypes.file_sd_config = types.submodule { options = { - names = mkOption { + files = mkOption { type = types.listOf types.str; description = '' Patterns for files from which target groups are extracted. Refer |