I have a counter that first scraped with >0 value. However increase() does not pick it up, still saying there was zero increase(). Is that expected?I'm on Prometheus 2.0.0.
--
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 prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/575e6688-738a-4eca-bc33-2742862513c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On 21 November 2017 at 13:20, <hai...@gmail.com> wrote:I have a counter that first scraped with >0 value. However increase() does not pick it up, still saying there was zero increase(). Is that expected?I'm on Prometheus 2.0.0.Yes, that's expected. There was no increase, merely a time series appearing out of thin air. It is recommended to initialise all potential labels for your metrics to 0 to avoid this.