Migrating Data from Prometheus to InfluxDB

To migrate previously stored data from Prometeus to InfluxDB, complete this task. Use the executable utility, prom2influx.

Prerequisites

TIBCO FTL Release 5.4 deprecates Prometheus for managing monitoring data.

Procedure

  1. Ensure that the Prometheus server is running.
  2. Ensure that the InfluxDB server is running.
  3. Run the migration utility. For example, this command migrates all the data points in Prometheus:
    prom2influx -prometheus http://prom_host:9090
                -influx http://influx_host:8086
    The duration of this step depends on the amount of data you migrate, network communication bandwidth and speeds, and other factors.
    You can migrate a subset of the data by specifying the -start and -range parameters, for example:
    prom2influx -prometheus http://prom_host:9090
                -influx http://influx_host:8086
                -start 2018-03-12T12:00:57-05:00
                -range 1y

What to do next

InfluxDB now contains the specified data points.