Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion observability-lib/grafana/alerts.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ func newReduceSettingsOptions(options expr.ExprTypeReduceSettings) cog.Builder[e

func newConditionQuery(options ConditionQuery) *alerting.QueryBuilder {
if options.IntervalMs == nil {
options.IntervalMs = Pointer[float64](1000)
// Recommended value for intervalMs is 30s
options.IntervalMs = Pointer[float64](30 * 1000)
}

if options.MaxDataPoints == nil {
Expand Down
Loading