Commit 604dc58
João Taveira Araújo
fix(cloudwatch_metrics): revert to cron expression (#64)
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.1 parent 168d9ca commit 604dc58
2 files changed
+13
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
39 | 49 | | |
40 | 50 | | |
41 | 51 | | |
42 | | - | |
| 52 | + | |
43 | 53 | | |
44 | 54 | | |
45 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
| 38 | + | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
0 commit comments