[pkg-go] Bug#921522: prometheus: promtool does not have an update command (?)
Santiago Vila
sanvila at unex.es
Wed Feb 6 13:05:10 GMT 2019
Package: prometheus
Version: 2.6.0+ds-1
Hello Tincho.
I'm trying to update some alerting rules from 1.x to 2.x format as
explained here:
https://www.robustperception.io/converting-rules-to-the-prometheus-2-0-format
but to my surprise it does not seem to work. This is what I do:
promtool update rules alert.rules
and this is what happens:
promtool: error: expected command but got "update", try --help
This is odd because this feature was added in version 2.0 as I read
here:
## 2.0.0 / 2017-11-08
* [CHANGE] Rules files use YAML syntax now. Conversion tool added to promtool.
Was this feature removed afterwards in a later 2.x release?
Maybe the feature has been enabled for "enough time" according to
upstream, but considering that stretch has prometheus 1.x, removing
such feature in Debian seems premature to me. Maybe you can convince
upstream to keep the feature for some more time?
Thanks.
More information about the Pkg-go-maintainers
mailing list