services.prometheus.scrapeConfigs.*.docker_sd_configs.*.port
NixOS option
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
declared in: nixos/modules/services/monitoring/prometheus/default.nixView source on NixOS/nixpkgs →null