How to specify lookback using Prometheus Operator

6 views
Skip to first unread message

Shallow Purple

unread,
Jun 8, 2020, 6:16:38 PM6/8/20
to Prometheus Users
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 )


Thanks for all the help.

Christian Hoffmann

unread,
Jun 11, 2020, 6:56:28 AM6/11/20
to Shallow Purple, Prometheus Users
Hi,
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
Reply all
Reply to author
Forward
0 new messages