Exporter sends stale values instead of no value, from bursty source #750
Replies: 2 comments 2 replies
-
Hello, I converted this to a discussion as this behavior is by design, not an issue with the client. Typically, when you want to create an exporter collecting data from another source you will typically want to use a Custom Collector to create the values at scrape time so the information is correct for that moment. You can also specifically call Hope that helps! |
Beta Was this translation helpful? Give feedback.
-
Having this same problem as well. Were you ever able to find a nice solution or was there ever some documentation released @csmarchbanks ? I am not sure how to approach this problem almost 3 years later. If I was to use the |
Beta Was this translation helpful? Give feedback.
-
I have data source, power meters, who report at random times. I put their values into a Gauge.
Some meters report often, every 30 seconds. Some report every 12 hours.
When the data arrives at least a frequently as the prometheus time-frame interval, there is no weirdness. When the time between data points is longer, the exporter reports the last reported value, which looks like it's asserting that the value hasn't changed, when in fact it has no idea if the value has changed.
I am kind of new to Prometheus and I may be doing something wrong, I admit, but I think I can get a better idea from truthful time reports
1000,null,null,null,null,null,null,3000,null,null,null,null,null,null,null,null,null,null,null,null,8000
than a series of mostly lies
1000,1000,1000,1000,1000,1000,1000,3000,3000,3000,3000,3000,3000,3000,3000,3000,3000,3000,3000,3000,8000
Beta Was this translation helpful? Give feedback.
All reactions