How to update prometheus.yml file of prometheus if it is running as service on mac? Please share the command to update prometheus prometheus.yml file on mac.
How to update prometheus.yml file of prometheus if it is running as service on mac? Please share the command to update prometheus prometheus.yml file on mac.
if you installed prometheus with brew, and run with brew services start prometheus
you can edit the config file which in /usr/local/etc/prometheus.yml,then you can restart prometheus with command brew services restart prometheus