Hi, On 6/9/20 12:16 AM, Shallow Purple wrote: > We have certain metrics which are aggregated and for which datapoint > comes in every 10 min interval or 1 hour interval. > So, I ask for data for right now, there might not be any but few minutes > later, one datapoint will arrive. Hence, we want to set a lookback. > > From the Prometheus CLI, we have an option to set the lookback but I am > not sure how to set is while using a Prometheus operator > (https://github.com/coreos/prometheus-operator )
I'm not sure if changing the lookback value is a good idea. Wouldn't it be an option to always expose the data (even if some minutes old) and provide an additional metric witht the timestamp of the last update? I guess this would be simpler to work with. Kind regards, Christian -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/60b5fa68-cd7a-0724-3865-2328f5a935dd%40hoffmann-christian.info.