Sha256: ae1bc774e08ef0f174e265a5facf8bfc504beee8e83b5a641e7eee8e46e555ff
Contents?: true
Size: 1.3 KB
Versions: 3
Compression:
Stored size: 1.3 KB
Contents
# Sample Dogfile # See DataDog's documentation for information on arguments. # http://docs.datadoghq.com/api/#monitors # DogWatch.monitor do monitor 'test_alert' do type :metric_alert query 'avg(last_1dm):avg:system.cpu.user{region:us-east-1} > 20' message 'A message to include with notifications for this monitor.'\ 'Email notifications can be sent to specific users by '\ 'using the same \'@username\' notation as events.' tags %w(A list of tags to associate with your monitor) options do silenced '*': nil notify_no_data false no_data_timeframe 3 timeout_h 99 renotify_interval 60 escalation_message 'oh snap' include_tags true end end monitor 'test_alert2' do type :metric_alert query 'avg(last_1m):avg:system.cpu.user{region:us-east-1} > 20' message 'A message to include with notifications for this monitor.'\ 'Email notifications can be sent to specific users by '\ 'using the same \'@username\' notation as events.' tags %w(A list of tags to associate with your monitor) options do silenced '*': nil notify_no_data false no_data_timeframe 3 timeout_h 99 renotify_interval 60 escalation_message 'oh snap' include_tags true end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
dogwatch-1.2.0 | example/Dogfile |
dogwatch-1.1.1 | example/Dogfile |
dogwatch-1.1.0 | example/Dogfile |