nixos/prometheus: use types.port for metrics port type

This commit is contained in:
Phillip Cloud 2021-01-10 13:08:22 -05:00
parent cad83fc596
commit de96ffeb1c

View File

@ -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.
'';