Your message dated Sat, 12 Mar 2022 18:04:13 +0000
with message-id <[email protected]>
and subject line closing
has caused the Debian Bug report #921522,
regarding prometheus: promtool does not have an update command (?)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
921522: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=921522
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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.
--- End Message ---
--- Begin Message ---
Sadly, this was not done back in the day, and now it would not make any
sense, since this migration happened years ago. Sorry about that!
--
Martina Ferrari (Tina)
--- End Message ---