On Tue, Apr 14, 2020 at 1:38 PM Brian Candler <[email protected]> wrote:

> 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.
>

An additional important detail is that VictoriaMetrics supports CSV data
ingestion
<https://github.com/VictoriaMetrics/VictoriaMetrics/blob/master/README.md#how-to-import-csv-data>
additionally to backfilling
<https://github.com/VictoriaMetrics/VictoriaMetrics/blob/master/README.md#backfilling>
.


>
> 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
> <https://groups.google.com/d/msgid/prometheus-users/fc3f5c0b-c187-4698-9028-14144a7f38c4%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Best Regards,

Aliaksandr

-- 
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/CAPbKnmCRPu7_VHe32Ou2BXGxD1C%2BzAGX1_J3kcfvjHeQ_PstiQ%40mail.gmail.com.

Reply via email to