Sha256: d96e96f9b8e2a338c846bcdcc0defb8d9d103bfe97a8240e9b33cd1e20b8e33e

Contents?: true

Size: 162 Bytes

Versions: 28

Compression:

Stored size: 162 Bytes

Contents

# This template monitors a metric and if it detects nil (no data) for over a minute it alerts
raise "Custom raise message goes here" if (@a.values.inject :+) == 0

Version data entries

28 entries across 23 versions & 1 rubygems

Version Path
rearview-1.2.3-jruby public/rearview-src/monitors/outage.rb
rearview-1.2.3-jruby public/rearview/monitors/outage.rb
rearview-1.2.2.rc.2-jruby public/rearview/monitors/outage.rb
rearview-1.2.2.rc.2-jruby public/rearview-src/monitors/outage.rb
rearview-1.2.2.rc.1-jruby public/rearview-src/monitors/outage.rb
rearview-1.2.2.rc.1-jruby public/rearview/monitors/outage.rb
rearview-1.2.1-jruby public/rearview-src/monitors/outage.rb
rearview-1.2.1-jruby public/rearview/monitors/outage.rb
rearview-1.2.0-jruby public/rearview/monitors/outage.rb
rearview-1.2.0-jruby public/rearview-src/monitors/outage.rb
rearview-1.1.2-jruby public/monitors/outage.rb
rearview-1.1.1-jruby public/monitors/outage.rb
rearview-1.1.0-jruby public/monitors/outage.rb
rearview-1.0.3.rc.4-jruby public/monitors/outage.rb
rearview-1.0.3.rc.3-jruby public/monitors/outage.rb
rearview-1.0.3.rc.2-jruby public/monitors/outage.rb
rearview-1.0.3.rc.1-jruby public/monitors/outage.rb
rearview-1.0.2-jruby public/monitors/outage.rb
rearview-1.0.2.rc.4-jruby public/monitors/outage.rb
rearview-1.0.2.rc.3-jruby public/monitors/outage.rb