From de96ffeb1c264a15635d0bdf4c6120aaa6296c7d Mon Sep 17 00:00:00 2001 From: Phillip Cloud Date: Sun, 10 Jan 2021 13:08:22 -0500 Subject: nixos/prometheus: use types.port for metrics port type --- nixos/modules/services/monitoring/prometheus/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/modules/services/monitoring') diff --git a/nixos/modules/services/monitoring/prometheus/default.nix b/nixos/modules/services/monitoring/prometheus/default.nix index 367250e2813..d46cacec0a7 100644 --- a/nixos/modules/services/monitoring/prometheus/default.nix +++ b/nixos/modules/services/monitoring/prometheus/default.nix @@ -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. ''; -- cgit 1.4.1