klen / graphite-beacon

Simple alerting system for Graphite metrics
MIT License
453 stars 118 forks source link

time_window priority in alert.py #97

Open chaosong opened 8 years ago

chaosong commented 8 years ago

self.time_window 's value should be interval_to_graphite(options.get('time_window', self.reactor.options.get('time_window', self.interval))) in alert.py, or the time_window option is useless in the configuration's main block

graearea commented 8 years ago

This is a problem that we ran into. the configuration of time_window in the main block is completely useless and MUST be overwritten in each alert for it to work.