Merge pull request #303914 from SuperSandro2000/prom-port-type

nixos/prometheus: use ports type

authored by Sandro and committed by GitHub f712cc6b e0c9ecbd

+12 -12
+12 -12
nixos/modules/services/monitoring/prometheus/default.nix
··· 537 Refresh interval to re-read the instance list. 538 ''; 539 540 - port = mkDefOpt types.int "80" '' 541 The port to scrape metrics from. If using the public IP 542 address, this must instead be specified in the relabeling 543 rule. ··· 609 }; 610 611 promTypes.digitalocean_sd_config = mkSdConfigModule { 612 - port = mkDefOpt types.int "80" '' 613 The port to scrape metrics from. 614 ''; 615 ··· 626 ''; 627 }; 628 629 - port = mkDefOpt types.int "80" '' 630 The port to scrape metrics from, when `role` is nodes, and for discovered 631 tasks and services that don't have published ports. 632 ''; ··· 687 The type of DNS query to perform. One of SRV, A, or AAAA. 688 ''; 689 690 - port = mkOpt types.int '' 691 The port number used if the query type is not SRV. 692 ''; 693 ··· 731 Refresh interval to re-read the instance list. 732 ''; 733 734 - port = mkDefOpt types.int "80" '' 735 The port to scrape metrics from. If using the public IP 736 address, this must instead be specified in the relabeling 737 rule. ··· 840 ''; 841 }; 842 843 - port = mkDefOpt types.int "80" '' 844 The port to scrape metrics from. 845 ''; 846 ··· 999 Refresh interval to re-read the instance list. 1000 ''; 1001 1002 - port = mkDefOpt types.int "80" '' 1003 The port to scrape metrics from. If using the public IP address, this must 1004 instead be specified in the relabeling rule. 1005 ''; ··· 1007 }; 1008 1009 promTypes.linode_sd_config = mkSdConfigModule { 1010 - port = mkDefOpt types.int "80" '' 1011 The port to scrape metrics from. 1012 ''; 1013 ··· 1148 Refresh interval to re-read the instance list. 1149 ''; 1150 1151 - port = mkDefOpt types.int "80" '' 1152 The port to scrape metrics from. If using the public IP address, this must 1153 instead be specified in the relabeling rule. 1154 ''; ··· 1193 Refresh interval to re-read the resources list. 1194 ''; 1195 1196 - port = mkDefOpt types.int "80" '' 1197 The port to scrape metrics from. 1198 ''; 1199 }; ··· 1231 ''; 1232 }; 1233 1234 - port = mkDefOpt types.int "80" '' 1235 The port to scrape metrics from. 1236 ''; 1237 ··· 1307 If omitted all containers owned by the requesting account are scraped. 1308 ''; 1309 1310 - port = mkDefOpt types.int "9163" '' 1311 The port to use for discovery and metric scraping. 1312 ''; 1313
··· 537 Refresh interval to re-read the instance list. 538 ''; 539 540 + port = mkDefOpt types.port "80" '' 541 The port to scrape metrics from. If using the public IP 542 address, this must instead be specified in the relabeling 543 rule. ··· 609 }; 610 611 promTypes.digitalocean_sd_config = mkSdConfigModule { 612 + port = mkDefOpt types.port "80" '' 613 The port to scrape metrics from. 614 ''; 615 ··· 626 ''; 627 }; 628 629 + port = mkDefOpt types.port "80" '' 630 The port to scrape metrics from, when `role` is nodes, and for discovered 631 tasks and services that don't have published ports. 632 ''; ··· 687 The type of DNS query to perform. One of SRV, A, or AAAA. 688 ''; 689 690 + port = mkOpt types.port '' 691 The port number used if the query type is not SRV. 692 ''; 693 ··· 731 Refresh interval to re-read the instance list. 732 ''; 733 734 + port = mkDefOpt types.port "80" '' 735 The port to scrape metrics from. If using the public IP 736 address, this must instead be specified in the relabeling 737 rule. ··· 840 ''; 841 }; 842 843 + port = mkDefOpt types.port "80" '' 844 The port to scrape metrics from. 845 ''; 846 ··· 999 Refresh interval to re-read the instance list. 1000 ''; 1001 1002 + port = mkDefOpt types.port "80" '' 1003 The port to scrape metrics from. If using the public IP address, this must 1004 instead be specified in the relabeling rule. 1005 ''; ··· 1007 }; 1008 1009 promTypes.linode_sd_config = mkSdConfigModule { 1010 + port = mkDefOpt types.port "80" '' 1011 The port to scrape metrics from. 1012 ''; 1013 ··· 1148 Refresh interval to re-read the instance list. 1149 ''; 1150 1151 + port = mkDefOpt types.port "80" '' 1152 The port to scrape metrics from. If using the public IP address, this must 1153 instead be specified in the relabeling rule. 1154 ''; ··· 1193 Refresh interval to re-read the resources list. 1194 ''; 1195 1196 + port = mkDefOpt types.port "80" '' 1197 The port to scrape metrics from. 1198 ''; 1199 }; ··· 1231 ''; 1232 }; 1233 1234 + port = mkDefOpt types.port "80" '' 1235 The port to scrape metrics from. 1236 ''; 1237 ··· 1307 If omitted all containers owned by the requesting account are scraped. 1308 ''; 1309 1310 + port = mkDefOpt types.port "9163" '' 1311 The port to use for discovery and metric scraping. 1312 ''; 1313