Sorry, but I'm afraid you cannot backfill historical data into prometheus.  
Prometheus will only scrape the current/latest value.  Backfill is a 
feature being considered for the future 
<https://prometheus.io/docs/introduction/roadmap/#backfill-time-series>.

For now, you will need to look at a different storage engine.  I suggest 
VictoriaMetrics, which is prometheus-compatible (i.e. it supports 
prometheus API and promQL and can be configured as a remote-write endpoint 
for prometheus) and it *does* support the back-filling that you want to 
do.  However it's not a remote-read endpoint, so for example prometheus' 
alerting engine can't read data from it.  If you're only ingesting daily 
then this is unlikely to be a limitation.

Also check out other storage integrations 
<https://prometheus.io/docs/operating/integrations/#remote-endpoints-and-storage>
 
which support both remote write and remote read, as you could populate the 
backend directly but prometheus can still read from them.

-- 
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/fc3f5c0b-c187-4698-9028-14144a7f38c4%40googlegroups.com.

Reply via email to