Skip to content

Commit 9b680b5

Browse files
authored
Fix 2 issues with Monitoring docs (#727)
* Fix template prometheus config * Add missing install commands for grafana * Add sudo apt update
1 parent 8ad295d commit 9b680b5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

book/src/users/monitoring.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ scrape_configs:
107107
- job_name: 'node_exporter'
108108
static_configs:
109109
- targets: ['localhost:9100']
110-
- job_name: 'trin'
110+
- job_name: 'trin'
111111
static_configs:
112112
- targets: ['localhost:9101']
113113
```
@@ -207,6 +207,10 @@ Node explorer uses port 9100 by default.
207207

208208
Install
209209
```sh
210+
sudo apt-get install -y apt-transport-https software-properties-common wget
211+
sudo wget -q -O /usr/share/keyrings/grafana.key https://apt.grafana.com/gpg.key
212+
echo "deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com stable main" | sudo tee -a /etc/apt/sources.list.d/grafana.list
213+
sudo apt update
210214
sudo apt install grafana
211215
```
212216
Open config

0 commit comments

Comments
 (0)