On Thursday, 17 February 2022 at 22:02:31 UTC [email protected] wrote: > But to push values like pressure or temperature in our use case we need to > push model accuracy - we use gauge but till the next push the value is > still the previous value >
That is correct. The value scraped is the last known reading, and that's the right answer. Push gateway is *not* intended for recording timestamped data. It's designed for picking up data that "hangs around", like the status of a batch job which has terminated. It does not turn prometheus from a pull-gathering to a push-gathering data collection service. > In this scenario the only solution is to set it back to 0 ? > Does the measured temperature really drop down to zero degrees (freezing) in between readings? -- 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/e682a8cd-a130-4b98-85a1-54138e8ac5c0n%40googlegroups.com.

