You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Operators migrating Grafana alerts should not have to manually fix query evaluation mode after migration. A rule configured as Instant or Range in Grafana should produce a Kibana rule that evaluates metrics the same way — without silent semantic drift.
User problem
Grafana exposes two query modes in the alert form:
Grafana UI
Operator intent
Instant
Evaluate the current value (“WHEN QUERY IS ABOVE N”)
Range
Evaluate over a time window at a chosen Interval / resolution
The migration pipeline currently treats alert queries uniformly and emits a range-style query (step=1m) for both. That causes:
Product goal
Operators migrating Grafana alerts should not have to manually fix query evaluation mode after migration. A rule configured as Instant or Range in Grafana should produce a Kibana rule that evaluates metrics the same way — without silent semantic drift.
User problem
Grafana exposes two query modes in the alert form:
The migration pipeline currently treats alert queries uniformly and emits a range-style query (
step=1m) for both. That causes:Operators see a plausible PromQL expression and threshold, but alert behavior does not match Grafana.
Desired outcome
instant: true)time=now(), nosteprange: true)step=from Interval /intervalMsOut of scope (separate tracks)
for) → Grafana pending period is dropped — migrated alerts fire immediately instead of after a sustained breach #174Delivery breakdown
This epic is satisfied when both child issues are done:
time=now(), nostep; no over-fire on recovered metricsstep=derived from Grafana Interval / metadata, not hardcoded1mImplementation should read
instant/rangefrom the exported Grafana query model when choosing the PROMQL selector.Success criteria (epic level)
step=1s, notstep=1mHow to validate (QA)
Use a small Grafana alert fixture set:
Related