Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 561
Dinesh Reddy Avatar asked Dec 06 '22 10:12

Dinesh Reddy


1 Answers

You can use the command line option for configuring your listen address

./prometheus --web.listen-address="0.0.0.0:9090" 
like image 72
Nithin Avatar answered Jan 13 '23 14:01

Nithin