README.md in healthety-0.0.1 vs README.md in healthety-0.0.2
- old
+ new
@@ -9,15 +9,16 @@
### Usage
require "healthety"
Healthety.workers do
- host "127.0.0.1"
+ server "127.0.0.1"
port 8124
worker :load_average do
interval 0.5
- value rand(10)
+ # Get load average with a system call (OS X)
+ value `w | head -n1 | cut -f4 -d":" | cut -f2 -d" "`.to_f
end
worker :memory do
interval 2
value rand(10)