Can you show the result of 
com_nokia_neo_metrics_subscriber_counter_perfsdb_total, without the delta() 
wrapper, using query_range 
<https://prometheus.io/docs/prometheus/latest/querying/api/#range-queries> over 
the 5 minute window in question?

delta()[5m] shows the difference between the first and last values in the 
time window(*).  So if the value at the start of the window is 1, and the 
value at the end is 1, then delta() will correctly return zero.

(*) actually it's extrapolated from the first and last point within the 
window, to the values it would have had at the very start and very end of 
the window. For details:
https://prometheus.io/docs/prometheus/latest/querying/functions/#delta

-- 
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/0d0e40c6-f19b-4f5e-b8b7-04fecc68e5ac%40googlegroups.com.

Reply via email to