mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
prometheus service: rename values to match prometheus 1.0 naming.
This commit is contained in:
parent
58869cf310
commit
d459916501
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user