--server-prometheus-bind-address
- CLI
- --server-prometheus-bind-address
- REST
- CLI only
Moves /metrics off the main listener to its own TCP listener at this address, so Prometheus scrapes a private interface. Set it with --server-prometheus-bind-port.
Example
CLI
Run locally
zshot --server --server-bind-address 0.0.0.0 \
--server-enable-prometheus \
--server-prometheus-bind-address 127.0.0.1 \
--server-prometheus-bind-port 9464