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 <mail@hoffmann-christian.info>
This commit is contained in:
Christian Hoffmann 2020-09-07 16:30:07 +02:00 committed by GitHub
parent f8c8adfd67
commit 51306cb158
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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