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
(Created page with "* Linux: ** <code>Ubuntu: apt install prometheus</code> ** How To Install Prometheus in Linux from binaries * macOS: ** <code>brew install prometheus && b...") |
|||
Line 1: | Line 1: | ||
− | * Linux: | + | * [[Linux]]: |
** <code>Ubuntu: [[apt install]] prometheus</code> | ** <code>Ubuntu: [[apt install]] prometheus</code> | ||
** [[How To Install Prometheus in Linux from binaries]] | ** [[How To Install Prometheus in Linux from binaries]] | ||
Line 7: | Line 7: | ||
** <code>brew install [[node_exporter]]</code>. Connect to: http://localhost:9101/metrics | ** <code>brew install [[node_exporter]]</code>. Connect to: http://localhost:9101/metrics | ||
− | * Using Docker containers: | + | * Using [[Docker]] containers: |
** <code>[[docker pull]] prom/prometheus && [[docker run]] -p [[9090]]:9090 prom/prometheus</code><ref>https://prometheus.io/docs/prometheus/latest/installation/</ref> and connect to http://localhost:9090/ | ** <code>[[docker pull]] prom/prometheus && [[docker run]] -p [[9090]]:9090 prom/prometheus</code><ref>https://prometheus.io/docs/prometheus/latest/installation/</ref> and connect to http://localhost:9090/ | ||
** <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> |
Revision as of 17:14, 22 October 2020
- Linux:
Ubuntu: apt install prometheus
- How To Install Prometheus in Linux from binaries
- macOS:
brew install prometheus && brew services start prometheus
brew install node_exporter
. Connect to: http://localhost:9101/metrics
- Using Docker containers:
docker pull prom/prometheus && 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]
See also
- 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: