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.
- Type
null or 16 bit unsigned integer; between 0 and 65535 (both inclusive)- Default
null- Declared
- <nixpkgs/nixos/modules/services/monitoring/prometheus/default.nix>