Difference between revisions of "Brew install prometheus"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
  When run from `[[brew services]]`, `prometheus` is run from
 
  When run from `[[brew services]]`, `prometheus` is run from
 
  `prometheus_brew_services` and uses the flags in:
 
  `prometheus_brew_services` and uses the flags in:
     /Users/your-user/brew/etc/prometheus.args
+
     /Users/your-user/brew/etc/[[prometheus.args]]
 
   
 
   
 
  To restart prometheus after an upgrade:
 
  To restart prometheus after an upgrade:
Line 23: Line 23:
 
== Related ==
 
== Related ==
 
* <code>[[brew upgrade]] prometheus</code>
 
* <code>[[brew upgrade]] prometheus</code>
 
+
* [[brew install node_exporter]]
  
 
== See also ==
 
== See also ==
 +
* {{prometheus.yml}}
 
* {{Prometheus}}
 
* {{Prometheus}}
  
 
[[Category:Prometheus]]
 
[[Category:Prometheus]]

Latest revision as of 05:53, 14 June 2024


When run from `brew services`, `prometheus` is run from
`prometheus_brew_services` and uses the flags in:
   /Users/your-user/brew/etc/prometheus.args

To restart prometheus after an upgrade:
  brew services restart prometheus
Or, if you don't want/need a background service you can just run:
  /Users/your-user/brew/opt/prometheus/bin/prometheus_brew_services
==> Summary
🍺  /Users/your-user/brew/Cellar/prometheus/2.37.0: 22 files, 201.9MB


Binaries:

prometheus_brew_services
prometheus
promtool


Related[edit]

See also[edit]

Advertising: