nixos/prometheus: use ports type

Changed files
+12 -12
nixos
modules
services
monitoring
prometheus
+12 -12
nixos/modules/services/monitoring/prometheus/default.nix
···
Refresh interval to re-read the instance list.
'';
-
port = mkDefOpt types.int "80" ''
The port to scrape metrics from. If using the public IP
address, this must instead be specified in the relabeling
rule.
···
};
promTypes.digitalocean_sd_config = mkSdConfigModule {
-
port = mkDefOpt types.int "80" ''
The port to scrape metrics from.
'';
···
'';
};
-
port = mkDefOpt types.int "80" ''
The port to scrape metrics from, when `role` is nodes, and for discovered
tasks and services that don't have published ports.
'';
···
The type of DNS query to perform. One of SRV, A, or AAAA.
'';
-
port = mkOpt types.int ''
The port number used if the query type is not SRV.
'';
···
Refresh interval to re-read the instance list.
'';
-
port = mkDefOpt types.int "80" ''
The port to scrape metrics from. If using the public IP
address, this must instead be specified in the relabeling
rule.
···
'';
};
-
port = mkDefOpt types.int "80" ''
The port to scrape metrics from.
'';
···
Refresh interval to re-read the instance list.
'';
-
port = mkDefOpt types.int "80" ''
The port to scrape metrics from. If using the public IP address, this must
instead be specified in the relabeling rule.
'';
···
};
promTypes.linode_sd_config = mkSdConfigModule {
-
port = mkDefOpt types.int "80" ''
The port to scrape metrics from.
'';
···
Refresh interval to re-read the instance list.
'';
-
port = mkDefOpt types.int "80" ''
The port to scrape metrics from. If using the public IP address, this must
instead be specified in the relabeling rule.
'';
···
Refresh interval to re-read the resources list.
'';
-
port = mkDefOpt types.int "80" ''
The port to scrape metrics from.
'';
};
···
'';
};
-
port = mkDefOpt types.int "80" ''
The port to scrape metrics from.
'';
···
If omitted all containers owned by the requesting account are scraped.
'';
-
port = mkDefOpt types.int "9163" ''
The port to use for discovery and metric scraping.
'';
···
Refresh interval to re-read the instance list.
'';
+
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.
···
};
promTypes.digitalocean_sd_config = mkSdConfigModule {
+
port = mkDefOpt types.port "80" ''
The port to scrape metrics from.
'';
···
'';
};
+
port = mkDefOpt types.port "80" ''
The port to scrape metrics from, when `role` is nodes, and for discovered
tasks and services that don't have published ports.
'';
···
The type of DNS query to perform. One of SRV, A, or AAAA.
'';
+
port = mkOpt types.port ''
The port number used if the query type is not SRV.
'';
···
Refresh interval to re-read the instance list.
'';
+
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.
···
'';
};
+
port = mkDefOpt types.port "80" ''
The port to scrape metrics from.
'';
···
Refresh interval to re-read the instance list.
'';
+
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.
'';
···
};
promTypes.linode_sd_config = mkSdConfigModule {
+
port = mkDefOpt types.port "80" ''
The port to scrape metrics from.
'';
···
Refresh interval to re-read the instance list.
'';
+
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.
'';
···
Refresh interval to re-read the resources list.
'';
+
port = mkDefOpt types.port "80" ''
The port to scrape metrics from.
'';
};
···
'';
};
+
port = mkDefOpt types.port "80" ''
The port to scrape metrics from.
'';
···
If omitted all containers owned by the requesting account are scraped.
'';
+
port = mkDefOpt types.port "9163" ''
The port to use for discovery and metric scraping.
'';