Compare commits
3 Commits
Author | SHA1 | Date |
---|---|---|
David | c1adba5514 | |
David | 8e7685802a | |
David | a8ce5a7ebf |
|
@ -27,7 +27,12 @@ sudo systemctl start prometheus-node-exporter
|
|||
|
||||
Installing a collector for the metrics now available on `:9100` is left as an exercise for the reader, but I figure if you're devoted to tracking system metrics enough to try and install prometheus on your Steam Deck you've probably already got a setup for that.
|
||||
|
||||
## Future Incompatabilities
|
||||
|
||||
If and when SteamOS is "rebased" onto a newer version of Arch (that is, the `VERSION_ID` in `/etc/os-release` is incremented), you'll need to update the `VERSION_ID` in `/var/lib/extensions/prometheus-node-exporter/usr/lib/extension-release.d/extension-release.prometheus-node-exporter` to match, then re-merge the extensions via `sudo systemd-sysext refresh`.
|
||||
|
||||
## References
|
||||
|
||||
* <https://tailscale.com/blog/steam-deck/>
|
||||
* <https://blogs.igalia.com/berto/2022/09/13/adding-software-to-the-steam-deck-with-systemd-sysext/>
|
||||
* <https://forum.tailscale.com/t/steam-deck-support/2583/7>
|
||||
|
|
|
@ -13,7 +13,7 @@ mkdir -p prometheus/usr/{bin,lib/{systemd/system,extension-release.d}}
|
|||
tar xzf node-exporter.tgz
|
||||
|
||||
cp -vrf node_exporter-*/node_exporter prometheus/usr/bin/node_exporter
|
||||
cat > prometheus/usr/lib/systemd/system/prometheus-node-exporter.service <<- EOM
|
||||
cat > /etc/systemd/system/prometheus-node-exporter.service <<- EOM
|
||||
[Unit]
|
||||
Description=Prometheus exporter for machine metrics
|
||||
Requires=network-online.target
|
||||
|
|
Loading…
Reference in New Issue