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.
|
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
|
The port to scrape metrics from. If using the public IP address, this
|
||||||
must instead be specified in the relabeling rule.
|
must instead be specified in the relabeling rule.
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user