nixos/prometheus: add missing dns_sd_configs types
From https://prometheus.io/docs/prometheus/latest/configuration/configuration/#dns_sd_config: > The type of DNS query to perform. One of SRV, A, AAAA, MX or NS. I also simplified the doc string as it's redundant with the generated docs.
This commit is contained in:
@@ -718,8 +718,8 @@ let
|
||||
'';
|
||||
};
|
||||
|
||||
type = mkDefOpt (types.enum [ "SRV" "A" "AAAA" ]) "SRV" ''
|
||||
The type of DNS query to perform. One of SRV, A, or AAAA.
|
||||
type = mkDefOpt (types.enum [ "SRV" "A" "AAAA" "MX" "NS" ]) "SRV" ''
|
||||
The type of DNS query to perform.
|
||||
'';
|
||||
|
||||
port = mkOpt types.port ''
|
||||
|
||||
Reference in New Issue
Block a user