This is the snap for node-exporter. Exporter for hardware and OS metrics exposed by *NIX kernels, written in Go with pluggable metric collectors.
Published for with 💝 by The Canonical Observability Team
sudo snap install node-exporter
The node-exporter
snap requires some interfaces to be manually connected in order to grant permission to collect certain metrics. Without these connections, only basic metrics are available. To connect all exposed interfaces, run the following commands after installation:
sudo snap connect node-exporter:hardware-observe
sudo snap connect node-exporter:mount-observe
sudo snap connect node-exporter:network-observe
sudo snap connect node-exporter:system-observe
Collectors can be enabled/disabled using the collectors
and no-collectors
configuration options with this snap. To specify multiple collectors, use a quoted string with space-separated values. For example:
sudo snap set node-exporter collectors=ntp
sudo snap set node-exporter no-collectors="mdadm netstat"
Reference the prometheus/node_exporter README.md for the list of collectors enabled by default.
Currently this strictly confined snap has no access to system files that prevents the following collectors from operating correctly:
- buddyinfo
- logind
- mountstats
- slabinfo
- softirqs
For more details read:
https://forum.snapcraft.io/t/should-some-snapd-interfaces-be-modified/48242