@@ -164,10 +164,8 @@ var (
164164 Info : "100" ,
165165 },
166166 GroupBy : GroupByNamespace ,
167- TrendOffset : & v1.Duration {Duration : time .Minute * 30 },
168- TrendDuration : & v1.Duration {Duration : time .Minute * 30 },
169- // TrendOffset: &v1.Duration{Duration: 24 * time.Hour},
170- // TrendDuration: &v1.Duration{Duration: time.Hour},
167+ TrendOffset : & v1.Duration {Duration : 24 * time .Hour },
168+ TrendDuration : & v1.Duration {Duration : time .Hour },
171169 },
172170 },
173171 },
@@ -180,21 +178,17 @@ var (
180178 Warning : "200" ,
181179 },
182180 GroupBy : GroupByNode ,
183- TrendOffset : & v1.Duration {Duration : time .Minute * 30 },
184- TrendDuration : & v1.Duration {Duration : time .Minute * 30 },
185- // TrendOffset: &v1.Duration{Duration: 24 * time.Hour},
186- // TrendDuration: &v1.Duration{Duration: time.Hour},
181+ TrendOffset : & v1.Duration {Duration : 24 * time .Hour },
182+ TrendDuration : & v1.Duration {Duration : time .Hour },
187183 },
188184 {
189185 Thresholds : HealthRuleThresholds {
190186 Info : "100" ,
191187 Warning : "500" ,
192188 },
193189 GroupBy : GroupByNamespace ,
194- TrendOffset : & v1.Duration {Duration : time .Minute * 30 },
195- TrendDuration : & v1.Duration {Duration : time .Minute * 30 },
196- // TrendOffset: &v1.Duration{Duration: 24 * time.Hour},
197- // TrendDuration: &v1.Duration{Duration: time.Hour},
190+ TrendOffset : & v1.Duration {Duration : 24 * time .Hour },
191+ TrendDuration : & v1.Duration {Duration : time .Hour },
198192 },
199193 },
200194 },
@@ -207,26 +201,23 @@ var (
207201 Warning : "200" ,
208202 },
209203 GroupBy : GroupByNode ,
210- TrendOffset : & v1.Duration {Duration : time .Minute * 30 },
211- TrendDuration : & v1.Duration {Duration : time .Minute * 30 },
212- // TrendOffset: &v1.Duration{Duration: 24 * time.Hour},
213- // TrendDuration: &v1.Duration{Duration: time.Hour},
204+ TrendOffset : & v1.Duration {Duration : 24 * time .Hour },
205+ TrendDuration : & v1.Duration {Duration : time .Hour },
214206 },
215207 {
216208 Thresholds : HealthRuleThresholds {
217209 Info : "100" ,
218210 Warning : "500" ,
219211 },
220212 GroupBy : GroupByNamespace ,
221- TrendOffset : & v1.Duration {Duration : time .Minute * 30 },
222- TrendDuration : & v1.Duration {Duration : time .Minute * 30 },
223- // TrendOffset: &v1.Duration{Duration: 24 * time.Hour},
224- // TrendDuration: &v1.Duration{Duration: time.Hour},
213+ TrendOffset : & v1.Duration {Duration : 24 * time .Hour },
214+ TrendDuration : & v1.Duration {Duration : time .Hour },
225215 },
226216 },
227217 },
228218 {
229219 Template : HealthRuleIngress5xxErrors ,
220+ Mode : ModeRecording ,
230221 Variants : []HealthRuleVariant {
231222 {
232223 Thresholds : HealthRuleThresholds {
@@ -239,6 +230,7 @@ var (
239230 },
240231 {
241232 Template : HealthRuleIngressHTTPLatencyTrend ,
233+ Mode : ModeRecording ,
242234 Variants : []HealthRuleVariant {
243235 {
244236 Thresholds : HealthRuleThresholds {
0 commit comments