services.prometheus.scrapeConfigs.*.dns_sd_configs.*.port

NixOS option

The port number used if the query type is not SRV.

type: null or 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default
null
declared in: nixos/modules/services/monitoring/prometheus/default.nixView source on NixOS/nixpkgs →