alertmanager/featurecontrol
George Robinson ca5089d33e
Support UTF-8 label matchers: Rename feature flags and make package public (#3604)
* Rename feature flags and make package public

This commit renames the feature flags "classic-matchers-parsing"
and "utf8-matchers-parsing" to "classic-matchers" and "utf8-matchers".
This better represents their use, for example, when validating
both alerts and silences created via the API.

It also makes the feature flags package public for two reasons:

1. AllowedFlags is a public variable
2. We would rather use these consts in Mimir then have to hardcode
   the strings ourselves, and be subject to breaking changes in future

Signed-off-by: George Robinson <george.robinson@grafana.com>
---------

Signed-off-by: George Robinson <george.robinson@grafana.com>
2023-11-17 20:07:54 +00:00
..
featurecontrol.go Support UTF-8 label matchers: Rename feature flags and make package public (#3604) 2023-11-17 20:07:54 +00:00
featurecontrol_test.go Support UTF-8 label matchers: Rename feature flags and make package public (#3604) 2023-11-17 20:07:54 +00:00