MyNixOS website logo
option

services.anubis.instances.<name>.settings.METRICS_BIND

The address Anubis' metrics server listens to. See Go's net.Listen for syntax.

The metrics server is enabled by default and may be disabled. However, due to implementation details, this is only possible by setting a command line flag. See services.anubis.defaultOptions.extraFlags for an example.

Defaults to Unix domain sockets. To use TCP sockets, set this to a TCP address and METRICS_BIND_NETWORK to "tcp".

Declarations
Type
string
Default
"/run/anubis/anubis-‹name›-metrics.sock"
Example
"127.0.0.1:8081"