MyNixOS website logo
option

services.prometheus.scrapeConfigs.*.dockerswarm_sd_configs.*.port

The port to scrape metrics from, when role is nodes, and for discovered tasks and services that don't have published ports.

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