[ https://issues.apache.org/jira/browse/EAGLE-522?focusedWorklogId=280726&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-280726 ]
ASF GitHub Bot logged work on EAGLE-522: ---------------------------------------- Author: ASF GitHub Bot Created on: 23/Jul/19 00:57 Start Date: 23/Jul/19 00:57 Worklog Time Spent: 10m Work Description: pkuwm commented on pull request #426: [EAGLE-522] Implement HOURLY_RULE for Absence Alert. URL: https://github.com/apache/eagle/pull/426 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 280726) Time Spent: 10m Remaining Estimate: 0h > Implement HOURLY_RULE for Absence Alert. > ---------------------------------------- > > Key: EAGLE-522 > URL: https://issues.apache.org/jira/browse/EAGLE-522 > Project: Eagle > Issue Type: Improvement > Affects Versions: v0.5.0 > Reporter: H Lu > Assignee: H Lu > Priority: Major > Fix For: v0.5.1 > > Time Spent: 10m > Remaining Estimate: 0h > > Absence alert HOURLY_RULE is another use case for customers' needs. > We need to schedule jobs to be run every x hours. Current absence alert only > supports daily rule, but not our case. So HOURLY_RULE should be supported. > The policy for the hourly_rule should be like the following. > // "numOfFields, f1_name, f2_name, f1_value, f2_value, absenceWindowRuleType, > startTime, endTime, interval" > example: "1,jobID,job1,hourly_rule,2016-09-09 12:00:00,2016-09-09 > 13:00:00,10:00:00" > That being said, job1 starts during the period 2016-09-09 12:00:00 ~ > 2016-09-09 13:00:00, and the job should start again every 10:00:00 hours > after the period. > If not, absence alert will be triggered. -- This message was sent by Atlassian JIRA (v7.6.14#76016)