Difference between revisions of "Brew install prometheus"

From wikieduonline
Jump to navigation Jump to search
 
(4 intermediate revisions by 2 users not shown)
Line 3: Line 3:
  
  
  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 15: Line 15:
  
  
 +
Binaries:
 +
[[prometheus_brew_services]]
 +
[[prometheus]]
 +
[[promtool]]
  
  
 
== 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: