Commit e32dc78
fix: also pad high-resolution metric query window
The high-res metric query (period=1s) also fails with the original
1-minute window due to CloudWatch eventual consistency. Apply the same
padded window and sum all returned data points, since only the
high-resolution metric appears at 1-second granularity.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 38c7a4d commit e32dc78
1 file changed
Lines changed: 6 additions & 5 deletions
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
123 | | - | |
| 122 | + | |
| 123 | + | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
127 | | - | |
128 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
129 | 130 | | |
130 | 131 | | |
0 commit comments