You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sysload exporter is prometheus style, go implementation of gree/sysload .
Sysload is a metric that aims to measure system load as percentage instead of load average.For further information, Please refer to original description.
usage
usage: sysload_exporter [<flags>]
Flags:
-h, --help Show context-sensitive help (also try --help-long and --help-man).
--debug Debug mode.
--info show current information and exit
-b, --target-block-devices=TARGET-BLOCK-DEVICES
Target block devices to track io utils
-i, --target-network-devices=TARGET-NETWORK-DEVICES
Target network devices to check interrupting
--listen-address=":9858" The address to listen on for HTTP requests.
--interrupted-threshold=40.0
Threshold to consider interrupted cpu usage as sysload
--refresh-rate=15 metrics refresh rate(should be 1 - 30)
--path.procfs="/proc" procfs mountpoint.
try sysload in docker environment
run
#run sysload exporter and stress
docker-compose up -d
docker-compose exec sysload sh -c 'stress --cpu `grep -c processor /proc/cpuinfo`'# in another terminal
watch 'curl -s localhost:9858/metrics |grep "^sysload"'