Hi Muzaffar, You can take the blocks from the data dir of one Prometheus and place it in another Prometheus while enabling vertical compaction. That way the 2nd Prometheus will pick up the blocks from the other Prometheus.
You can pick the blocks which satisfy your time ranges, else there is no other way to snapshot a range of data yet. Thanks, Ganesh On Mon, Feb 24, 2020 at 7:32 PM Muzaffar Mohammed < [email protected]> wrote: > Hello All, > > Please, I have been looking for a tool to export subset of Prometheus data > (e.g. 2 months of data out of 1 year data) and inject it into another > Prometheus server. I looked in the web, but could not find such a tool (or > capability in Prometheus). > > I checked the HTTP API query, but there is no way to inject the retrieved > data into another Prometheus server. Also the remote_read is not an option > as the two servers are in different networks (that could not be linked > together). > > Do you know about such a tool please? > > Thanks in advance, > > Best regards, > Muzaffar > > -- > You received this message because you are subscribed to the Google Groups > "Prometheus Developers" 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-developers/bc16733d-38e5-4ceb-8349-7fa76e639030%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-developers/bc16733d-38e5-4ceb-8349-7fa76e639030%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Prometheus Developers" 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-developers/CAKYffmf23nzCdHVX767Cm42EY-1E%3DtRX8p6FY1K9KWhBPi%3DxCg%40mail.gmail.com.

