Skip to content

fix(cloudwatch_metrics): revert to cron expression #64

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 13, 2023
Merged

fix(cloudwatch_metrics): revert to cron expression #64

merged 1 commit into from
Mar 13, 2023

Conversation

jta
Copy link

@jta jta commented Mar 13, 2023

PR #62 fixed our schedule expression to fire at the correct cadence, but subtly changed the time at which the rule would trigger. The use of the rate function ensures a rule will trigger at regular intervals from rule creation. Given the nature of the data we are collecting, we want rules to trigger aligned to fixed time boundaries (e.g. every minute, every hour). This commit reintroduces a correct cron expression.

PR #62 fixed our schedule expression to fire at the correct cadence, but
subtly changed the time at which the rule would trigger. The use of the
`rate` function ensures a rule will trigger at regular intervals from
rule creation. Given the nature of the data we are collecting, we want
rules to trigger aligned to fixed time boundaries (e.g. every minute,
every hour). This commit reintroduces a correct cron expression.
@jta jta requested review from bendrucker and aping1 as code owners March 13, 2023 18:48
@jta jta merged commit 604dc58 into main Mar 13, 2023
@jta jta deleted the joao/cron branch March 13, 2023 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants