Migrating data from InfluxDB to Prometheus?

1,583 views
Skip to first unread message

dcadwa...@gmail.com

unread,
May 19, 2017, 12:27:57 PM5/19/17
to Prometheus Users
We're considering moving from InfluxDB to Prometheus.  Are there any methods to migrate data from InfluxDB to Prometheus, or would we need to start fresh?

Thanks!

Brian Brazil

unread,
May 19, 2017, 12:30:57 PM5/19/17
to dcadwa...@gmail.com, Prometheus Users
On 19 May 2017 at 17:27, <dcadwa...@gmail.com> wrote:
We're considering moving from InfluxDB to Prometheus.  Are there any methods to migrate data from InfluxDB to Prometheus, or would we need to start fresh?

There's no real way to do this currently, it's easiest to start fresh. It's likely the structure of all your metrics will change anyway.

--

srra...@gmail.com

unread,
Jan 28, 2018, 3:22:35 PM1/28/18
to Prometheus Users
We are also considering that, can we write instrumentation to read from Influxdb and write to push gateway onto prometheus? Will be able to save the timestamps?

Thanks!

Vishnu B

unread,
Apr 9, 2020, 9:35:30 AM4/9/20
to Prometheus Users
Did you find a solution for this?

Regards,
Vishnu

Brian Candler

unread,
Apr 9, 2020, 10:46:08 AM4/9/20
to Prometheus Users
The answer is the same: you cannot migrate or backfill data into prometheus.  It's a feature being considered for the future:
You can back-fill into VictoriaMetrics which has a prometheus-compatible API, and can also act as a remote-write endpoint for prometheus.  Hence you can use prometheus for the short-term buffering and alerting, and VM for the long-term storage and querying.

Other options like Thanos or Cortex might support back-fill, but I haven't used these.

Vishnu B

unread,
Apr 9, 2020, 1:41:14 PM4/9/20
to Prometheus Users
Thanks Brian
Reply all
Reply to author
Forward
0 new messages