NOTE: This tool is DEPRECATED in favor of https://gitlab.com/gitlab-org/prometheus-storage-migrator, which is both more memory-efficient and correct (it also migrates series that don't have particular labels like instance
).
Tool to migrate Prometheus 1.x data directories to the 2.0 format.
Golang 1.9 or higher
go build
./prom-data-migrator -v1-dir=./data-old -v2-dir=./data-new 2> migration.log
./prom-data-migrator -h