diff options
author | Phillip Cloud <cloud@standard.ai> | 2021-01-10 13:08:22 -0500 |
---|---|---|
committer | Phillip Cloud <cloud@standard.ai> | 2021-01-10 13:08:48 -0500 |
commit | de96ffeb1c264a15635d0bdf4c6120aaa6296c7d (patch) | |
tree | 576d1c597ea7ec46907ec076402459ef784f727a /nixos/modules/services/monitoring/prometheus/default.nix | |
parent | cad83fc5964ef4fad78cc03a9c61588d1efcd11b (diff) | |
download | nixpkgs-de96ffeb1c264a15635d0bdf4c6120aaa6296c7d.tar nixpkgs-de96ffeb1c264a15635d0bdf4c6120aaa6296c7d.tar.gz nixpkgs-de96ffeb1c264a15635d0bdf4c6120aaa6296c7d.tar.bz2 nixpkgs-de96ffeb1c264a15635d0bdf4c6120aaa6296c7d.tar.lz nixpkgs-de96ffeb1c264a15635d0bdf4c6120aaa6296c7d.tar.xz nixpkgs-de96ffeb1c264a15635d0bdf4c6120aaa6296c7d.tar.zst nixpkgs-de96ffeb1c264a15635d0bdf4c6120aaa6296c7d.zip |
nixos/prometheus: use types.port for metrics port type
Diffstat (limited to 'nixos/modules/services/monitoring/prometheus/default.nix')
-rw-r--r-- | nixos/modules/services/monitoring/prometheus/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
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. ''; |