On Thu, 14 Feb 2019 10:10:47 +0100 Santiago Vila <sanv...@unex.es> wrote: > Ok, that worked, but I think it would be much better if such option > could be added to the README.md.gz somewhere, or a README.Debian, or > something. That will avoid searches in search engines, stackoverflow > or the Debian BTS. > > There is yet another thing I didn't find anywhere and I would like to > see documented somewhere in /usr/share/doc/prometheus-alertmanager: > > How do I add a silence which expires after one hour, for example? > > (The web UI allowed this, and in some sense it's basic stuff, so I > think it should be documented as well). > > (Can you tell upstream to extend the README.md a little bit?) > > Thanks.
There are already quite a few examples on how to use amtool in the upstream README.md. I don't think that README.Debian is the right place to add additional examples that are not specific to running amtool on Debian. Might I suggest that if you still find the upstream documentation lacking, you open a pull request upstream? The Prometheus documentation is open source, and they welcome contributions.