Merge Influxdb data into a prometheus

10 views
Skip to first unread message

Puneet Singh

unread,
Feb 7, 2023, 7:35:44 AM2/7/23
to Prometheus Users
Hi,
I had a setup wherein monitoring data from prometheus (storage.tsdb.path=/mondata/prometheus) was being synced with influxdb ([meta] dir=/mondata/influxdb/meta, [data] dir =  /mondata/influxdb/data , wal-dir = /mondata/influxdb/wal  ) using "remote_write".

After ~6 months , the data in the /mondata/promtheus seems to have been corrupted as prometheus now fails to start if   storage.tsdb.path=/mondata/prometheus,
but starts up without issues if i use    storage.tsdb.path=/mondata/prometheus1.

Is it possible to import all the existing data from influxdb to prometheus?,
I have prometheus as the data source of grafana's dashboards , so i plan to maintain  past ~8 months (storage.tsdb.retention.time) of monitoring data into prometheus.

Please advice.
- puneet

Reply all
Reply to author
Forward
0 new messages