Difference between revisions of "Prometheus installation"
Jump to navigation
Jump to search
↑ https://prometheus.io/docs/prometheus/latest/installation/
↑ https://github.com/prometheus/node_exporter
(6 intermediate revisions by 4 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]] | + | ** <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 == | == Related == | ||
* <code>[[helm search repo prometheus-community]]</code> | * <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
https://prometheus.io/docs/prometheus/latest/installation/
- macOS:
brew install prometheus && brew services start prometheus
brew install node_exporter
. Connect to: http://localhost:9101/metrics
- Using Docker containers:
docker run -p 9090:9090 prom/prometheus
[1] and connect to http://localhost:9090/docker pull prom/node-exporter
although it's not recommended to deploy it as a Docker container because it requires access to the host system[2]
- Helm (Beta): helm install prometheus
Connecting:
Related[edit]
See also[edit]
- Prometheus: Prometheus installation,
9090
, storage, Prometheus exporters: Node exporter9100
, Blackbox exporter, Prometheus alertmanager (changelog), Prometheus versions, Prometheus Node exporter releases,promtool
,amtool, tsdb
,/etc/default/prometheus, /etc/prometheus/prometheus.yml, journalctl -u prometheus
,/etc/default/prometheus-node-exporter
, PromQL,alert:
, Prometheus Operator, Thanos, VictoriaMetrics, PushGateway, Prometheus API,values.yml
, Amazon Managed Service for Prometheus
Advertising: