mirror of
https://github.com/prometheus/alertmanager
synced 2024-12-28 17:12:13 +00:00
16aa996c4f
* Add adapter package for parser feature flag This commit adds the compat package allowing users to switch between the new matchers/parse parser and the old pkg/labels parser. The new matchers/parse parser uses a fallback mechanism where if the input cannot be parsed in the new parser it then attempts to use the old parser. If an input is parsed in the old parser but not the new parser, then a warning log is emitted. --------- Signed-off-by: George Robinson <george.robinson@grafana.com> |
||
---|---|---|
.. | ||
parse_test.go | ||
parse.go |