How to configure a specific IP in prometheus yml configuration file?
问题 I would like to run Prometheus with a specific IP address. By default, it is running on localhost. I don't see any such option in the prometheus configuration 回答1: You can use the command line option for configuring your listen address ./prometheus --web.listen-address="0.0.0.0:9090" 回答2: If you're using the packages for Debian-based systems, you can persistently modify the command line argument --web.listen-address in /etc/default/prometheus (and same for /etc/default/prometheus-node