Repository navigation
Commit a4f6856
authored
feat: allow tile alerts to use 1m as an interval option (#3327)
## Summary
Adding a `1m` option in non-dev environments for tile alert windows. Not sure if it was intentional to make this dev-only, but it'd be really nice for us to be able to use 1m as the window, because in conjunction with consecutive windows, this allows us to do something like 1m window over 5 consecutive windows, which AFAICT is a stricter condition than a single 5m window (1 consecutive), because we'd get 5 samples instead of aggregating across the entire window into one big sample (which means a very noisy single minute could trip a 5m window alert, but maybe not the second minute of five 1m window alerts).
Not sure if this reasoning makes sense, so happy to explain more, and thanks!
Wasn't sure if a frontend-only change required a changeset, etc. or not - happy to add that1 parent fd3d947 commit a4f6856
2 files changed
Lines changed: 6 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
25 | | - | |
26 | 24 | | |
27 | 25 | | |
28 | 26 | | |
| |||
121 | 119 | | |
122 | 120 | | |
123 | 121 | | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
| 122 | + | |
134 | 123 | | |
135 | 124 | | |
136 | 125 | | |
| |||
0 commit comments