Difference between revisions of "Prometheus installation"

From wikieduonline
Jump to navigation Jump to search
 
(10 intermediate revisions by 6 users not shown)
Line 2: Line 2:
  
 
* [[Linux]]:
 
* [[Linux]]:
** <code>Ubuntu: [[apt install]] prometheus</code>
+
** <code>Ubuntu: [[apt install prometheus -y]]</code>
 
**  [[How To Install Prometheus in Linux from binaries]]
 
**  [[How To Install Prometheus in Linux from binaries]]
  
 
* [[macOS]]:  
 
* [[macOS]]:  
** <code>[[brew install prometheus]] && [[brew services start]] prometheus</code>
+
** <code>[[brew install prometheus]] && [[brew services start prometheus]]</code>
 
** <code>brew install [[node_exporter]]</code>. Connect to: http://localhost:9101/metrics
 
** <code>brew install [[node_exporter]]</code>. Connect to: http://localhost:9101/metrics
  
Line 13: Line 13:
 
** <code>docker pull prom/[[node-exporter]]</code> although it's not recommended to deploy it as a Docker container because it requires access to the host system<ref>https://github.com/prometheus/node_exporter</ref>
 
** <code>docker pull prom/[[node-exporter]]</code> although it's not recommended to deploy it as a Docker container because it requires access to the host system<ref>https://github.com/prometheus/node_exporter</ref>
  
* Helm (Beta)
+
* Helm (Beta): [[helm install prometheus]]
** <code>[[helm repo add]] prometheus-community https://prometheus-community.github.io/helm-charts</code>
+
** <code>[[helm repo add prometheus-community]] https://prometheus-community.github.io/helm-charts</code>
 
** <code>[[helm repo update]]</code>
 
** <code>[[helm repo update]]</code>
** <code>[[helm install]] [RELEASE_NAME] prometheus-community/kube-prometheus-stack</code>
+
** <code>[[helm install RELEASE_NAME prometheus-community/kube-prometheus-stack]]</code>
  
 +
 +
Connecting:
 +
* http://localhost:9090
 +
 +
== Related ==
 +
* <code>[[helm search repo prometheus-community]]</code>
 +
* <code>[[pip install prometheus-client]]</code>
 +
* <code>[[/var/log/prometheus/]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 17:20, 6 July 2023

Advertising: