Hi Grafana Community,
I’m encountering an issue with a Terraform-managed alert in Grafana. When I view the alert configuration in the UI, the time range is displayed as 1d
. However, when I inspect the generated query during runtime, it seems to cover a time range of 3d to now
.
Here’s the setup:
- The alert is defined using Terraform.
- In the UI, the query editor clearly shows the time range as
1d
when editing the alert. - Despite this, during execution, the query unexpectedly uses a
3d to now
range.
I’ve attached screenshots for reference:
- The query editor showing the
1d
time range during editing. - The runtime query output showing a time range of
3d to now
.
Has anyone experienced a similar discrepancy between the time range in the UI and the actual execution? Could this be due to a Terraform configuration mismatch or a caching issue?
Any guidance or suggestions on how to debug or resolve this would be greatly appreciated!
Thank you!