mirror of
https://github.com/prometheus/alertmanager
synced 2025-02-28 16:50:35 +00:00
This commit fixes a bug where UTF-8 characters are not allowed in the Equal field for inhibition rules, even when UTF-8 strict mode is enabled. This bug occurred because we forgot to override the validation in model.LabelName. I have copied the same logic used for GroupBy with GroupByStr, adding EqualStr. We would like to upgrade prometheus/common in future and use the validation there instead, but it presents challenges with downstream projects like Mimir and Cortex where, at present, UTF-8 can be enabled and disabled in separate components at the same time, which is not supported in prometheus/common. Signed-off-by: George Robinson <george.robinson@grafana.com> |
||
---|---|---|
.. | ||
conf.empty-fields.yml | ||
conf.good.yml | ||
conf.group-by-all.yml | ||
conf.http-config.good.yml | ||
conf.inhibit-equal-utf8.yml | ||
conf.inhibit-equal.yml | ||
conf.nil-match_re-route.yml | ||
conf.nil-source_match_re-inhibition.yml | ||
conf.nil-target_match_re-inhibition.yml | ||
conf.opsgenie-both-file-and-apikey.yml | ||
conf.opsgenie-default-apikey-file.yml | ||
conf.opsgenie-default-apikey-old-team.yml | ||
conf.opsgenie-default-apikey.yml | ||
conf.opsgenie-no-apikey.yml | ||
conf.rocketchat-both-token-and-tokenfile.yml | ||
conf.rocketchat-both-tokenid-and-tokenidfile.yml | ||
conf.rocketchat-default-token-file.yml | ||
conf.rocketchat-default-token.yml | ||
conf.rocketchat-no-token.yml | ||
conf.slack-both-file-and-url.yml | ||
conf.slack-default-api-url-file.yml | ||
conf.slack-no-api-url.yml | ||
conf.smtp-both-password-and-file.yml | ||
conf.smtp-no-username-or-password.yml | ||
conf.smtp-password-global-and-local.yml | ||
conf.sns-invalid.yml | ||
conf.sns-topic-arn.yml | ||
conf.victorops-both-file-and-apikey.yml | ||
conf.victorops-default-apikey-file.yml | ||
conf.victorops-default-apikey.yml | ||
conf.victorops-no-apikey.yml |