MyNixOS website logo
option

services.prometheus.scrapeConfigs.*.ec2_sd_configs.*.port

The port to scrape metrics from. If using the public IP address, this must instead be specified in the relabeling rule.

Defaults to 80 in prometheus when set to null.

Declarations
Type
null or 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default
null