I'm trying to trigger an alert using Grafana Loki. If no log seen by 5AM, each day need to trigger an alert.
Here is the query I came up with. I dont think its correct as the offset 16h25m
: shifts the time range by 16 hours and 25 minutes.
count_over_time({env="dev", app="test-app"} |="YOUR Test Keyword" [1d] offset 16h25m) == 0
Any Grafana Loki expert who has any suggestions.