Hi,

  I am trying to define an alert rule which fires everyday at a specific 
time if a request from a specific  client doesn't happen at least once. My 
expression is 

*sum(increase(request_Count{key="clientId"}[24h])) < 1 and ON() hour() > 1 
< 3*

*scrape interval : *30s (I cannot change this) 

I tried the expression in grafana and I can see it is coming as expected. I 
can see metrics for the requests coming But defining the same expression in 
an alert, I am getting alerts. I have double checked  the metrics and it is 
having data and it shouldn't fire these alerts.

Can someone help me out here and point out if something is wrong?

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/04625439-ff90-4085-a31c-173523810e99n%40googlegroups.com.

Reply via email to