mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-03 01:13:25 +03:00
nixos/prometheus: use types.port for metrics port type
This commit is contained in:
parent
cad83fc596
commit
de96ffeb1c
@ -594,7 +594,7 @@ let
|
||||
Refresh interval to re-read the cloud instance list.
|
||||
'';
|
||||
|
||||
port = mkDefOpt types.int "80" ''
|
||||
port = mkDefOpt types.port "80" ''
|
||||
The port to scrape metrics from. If using the public IP address, this
|
||||
must instead be specified in the relabeling rule.
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user