add dap-update script, add i3 & alacritty shortcut for bold font

This commit is contained in:
2025-02-10 23:19:52 +01:00
parent 1a1e3c7242
commit 3c9f625688
7 changed files with 50 additions and 4 deletions

28
raspberry/metrics.md Normal file
View File

@@ -0,0 +1,28 @@
# prometheus + graphana to monitor node
*(src: https://theawesomegarage.com/blog/monitor-your-raspberry-pi-with-prometheus-and-grafana)*
```
sudo apt install prometheus
sudo apt-get install prometheus-node-exporter
```
now visiting http://localhost:9100/metrics should return metrics
start the prometheus-node-exporter:
```
sudo systemctl enable prometheus-node-exporter
sudo systemctl start prometheus-node-exporter
```
for monitoring too the mounted devices (ie. usb):
edit `/etc/default/prometheus-node-exporter`:
```
ARGS="--collector.filesystem.mount-points-exclude="^/(dev|proc|run|sys|mnt|var/lib/docker/.+)($|/)""
```
restart the service:
`sudo systemctl restart prometheus-node-exporter`
Install Graphana: https://grafana.com/docs/grafana/latest/setup-grafana/installation/