Sha256: a53adde856b2f3f4aebc8f570fca9a39b0890f83f4d264969ce94abeffd7f514

Contents?: true

Size: 332 Bytes

Versions: 2

Compression:

Stored size: 332 Bytes

Contents

created_at = Time.parse('2015-01-01 14:00:01').to_i * 1000

query <<-QUERY
  sum(last_1m):sum:Engine.current_thrust.status{status:error}.as_count() < 50
QUERY

obj({
  created_at: created_at,
  id: 100500,
  message: "Houston, we have a problem @pagerduty-Houston",
  name: "Engine thrust",
  query: query,
  type: "query alert"
})

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
doggy-0.2.2 examples/my-monitor.rb
doggy-0.2.0 examples/my-monitor.rb