Storing future timestamps in Prometheus

20 views
Skip to first unread message

Hari Krishna Reddy Golamari

unread,
Jul 14, 2020, 2:45:06 AM7/14/20
to Prometheus Users
HI,

My use case is to Pull data (lets say CPU utilisation) from prometheus using httpAPI,
Do a 4 hour forecast using Some ML models like deepAR or LSTM,
push the forecasted values to prometheus 

Trigger an alarm when the actual data deviates from forecast

BLOCKER : cant able to push more than 20 future timestamps to Prometheus

Brian Brazil

unread,
Jul 14, 2020, 3:25:34 AM7/14/20
to Hari Krishna Reddy Golamari, Prometheus Users
This is a sanity check to prevent breaking your Prometheus, as if you ingest data into the future you can no longer ingest data in the present. I'd suggest ingesting the data at now, and then using offset.

--
Reply all
Reply to author
Forward
0 new messages