Currently I have a metric that simply change over time by +1 every once in a while. Let's call it Parcel. Now, I am using idelta function to see the difference in time so that if this is on a graph, it will look like a spike up. The reason for this is that I would like to use Grafana to alert me whenever Parcel got a change.
On Grafana, this is what I got right now: The yellow line is Parcel, and it goes from 1 to 2 in here correctly, but the green line (a little hard to see here as it intersects with Grafana's red Alert line at y = 0) stays at 0 and didn't spike up. The metric used for the green line is idelta(parcel[20s]) . My prometheus.yml has the following scrape interval: scrape_interval: 5s evaluation_interval: 5s So what am I doing wrong here? Iono -- 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/e4b587b1-5b4d-463e-b7b9-99963f39f38dn%40googlegroups.com.

