Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[infra] Tweak node exporter instructions

Manav Rathic4109d1c4837
diff --git a/infra/services/prometheus/README.md b/infra/services/prometheus/README.md
index 372f74be7d..349b3aaa46 100644
--- a/infra/services/prometheus/README.md
+++ b/infra/services/prometheus/README.md
@@ -2,8 +2,6 @@
Install `prometheus.service` on an instance if it is running something that exports custom Prometheus metrics. In particular, museum does.
-If it is an instance whose metrics (CPU, disk, RAM etc) we want to monitor, also install [node-exporter](https://prometheus.io/docs/guides/node-exporter/) itself (Note that our prepare-instance script already installs node-exporter).
-
## Installing
Prometheus doesn't currently support environment variables in config file, so remember to change the hardcoded `XX-HOSTNAME` too in addition to adding the `remote_write` configuration.
@@ -21,4 +19,10 @@ Tell systemd to pick up new service definitions, enable the units (so that they
```sh
sudo systemctl daemon-reload
sudo systemctl enable --now prometheus
-```
\ No newline at end of file
+```
+
+If it is an instance whose metrics (CPU, disk, RAM etc) we want to monitor, also install [node-exporter](https://prometheus.io/docs/guides/node-exporter/):
+
+```sh
+sudo apt-get install -y prometheus-node-exporter
+```