services.nar-serve.metricsAddress
NixOS option
string
Written as a quoted string
Address to serve Prometheus metrics from, as host:port. The metrics get their own listener, thus they can stay on an address that is not the one the service answers the world from. An empty string does not serve metrics.
type: stringDefault
""
Example
declared in: nixos/modules/services/networking/nar-serve.nixView source on NixOS/nixpkgs →"127.0.0.1:9464"