Skip to content

Commit

Permalink
docs: add promtool version in rule migration cmd (prometheus#6989)
Browse files Browse the repository at this point in the history
`promtool update rules` is no longer available after Prometheus 2.5.
Document this to avoid confusion such as in prometheus#6988.

Signed-off-by: Christian Hoffmann <mail@hoffmann-christian.info>
  • Loading branch information
hoffie authored and damnever committed Sep 9, 2020
1 parent 38b757a commit dbc0f35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/migration.md
Expand Up @@ -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

Expand Down

0 comments on commit dbc0f35

Please sign in to comment.