Extraordinary claims require extraordinary evidence. I don't believe there's a bug in prometheus: I believe there's a bug in how you are using it. But unless you show the data, there's no way to demonstrate this.
On Wednesday, 17 August 2022 at 04:36:43 UTC+1 [email protected] wrote: > > yeah. I want only that the servers are down for the whole two days. Its > value should always be zero(0) throughout the last 'X' days. > > But max_over_time is giving me the info if the servers are down for even > one minute from the last 'X' days. > > Thanks & regards, > Bharath kumar. > On Tuesday, 16 August 2022 at 20:27:30 UTC+5:30 Stuart Clark wrote: > >> On 2022-08-16 15:08, BHARATH KUMAR wrote: >> > hello, >> > >> > max_over_time(up[2d]) == 0 is giving me the info like ...for the last >> > two days if the server goes down for 1 minute also it was displaying >> > in the graph which I don't want. I want the information that for the >> > last "X" days it should be completely in an unreachable state. >> > >> >> So you are only wanting it if every single scrape failed over the past 2 >> days? >> >> Try sum() instead of max_over_time(). >> >> -- >> Stuart Clark >> > -- 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/7e5443c1-ec7a-43ea-a400-674bbd93d5f1n%40googlegroups.com.

