Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: caa6aba529
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (11 sloc) 0.241 kB
$:.push "lib"
require "prometheus"
r = Prometheus::Reactor.new do
start_process "vm_stat 1" do
check running, :every => 1
check memory_usage, :below => 150.mb, :every => 5 do
must_pass 3, :of => 5
end
end
end
r.start
Jump to Line
Something went wrong with that request. Please try again.