From 51306cb158ed029cb82c8a46b9715e4c76e47ace Mon Sep 17 00:00:00 2001 From: Christian Hoffmann Date: Mon, 7 Sep 2020 16:30:07 +0200 Subject: [PATCH] docs: add promtool version in rule migration cmd (#6989) `promtool update rules` is no longer available after Prometheus 2.5. Document this to avoid confusion such as in #6988. Signed-off-by: Christian Hoffmann --- docs/migration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/migration.md b/docs/migration.md index 1fa2e6b13..3d9965deb 100644 --- a/docs/migration.md +++ b/docs/migration.md @@ -120,7 +120,7 @@ new format. For example: $ promtool update rules example.rules ``` -Note that you will need to use promtool from 2.0, not 1.8. +You will need to use `promtool` from [Prometheus 2.5](https://github.com/prometheus/prometheus/releases/tag/v2.5.0) as later versions no longer contain the above subcommand. ## Storage