Are evaluation periods on alarms being calculated correctly?
Asked by
Eoghan Glynn
The evaluation period calculation:
https:/
now = utils.utcnow()
end_idx = now.replace(
start_idx = end_idx - evaluation_periods * datetools.Minute()
appears suspect, in particular the start index being set to now - evaluation_periods * datetools.Minute().
Shouldn't the factor on evaluation_periods be the period length as opposed to a constant one minute?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Synaps Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Eoghan Glynn
- Solved:
- Last query:
- Last reply:
To post a message you must log in.