Tool to migrate Prometheus 1.x data directories to the 2.0 format.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
vendor
.gitignore
Gopkg.lock
Gopkg.toml
LICENSE
README.md
main.go

README.md

prom-data-migrator

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.

Prerequisites

Golang 1.9 or higher

Build

go build

Run

./prom-data-migrator -v1-dir=./data-old -v2-dir=./data-new 2> migration.log

Flags

./prom-data-migrator -h