Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow 'd', 'w', 'y' to be specified at time suffix when creating sile…
…nce (#1091) The time.ParseDuration refused to parse them with the reason that a day can be shorter or longer than 24 hours. But they are already accepted in Prometheus range query and a custom parser is included in Prometheus common package so there's no reason amtool cannot use that. This will be handy in cases you need to create silence for longer periods, which are unfortunately common.
- Loading branch information