alertmanager/pkg/labels
George Robinson 9dbc8b6b91
Support UTF-8 label matchers: Update Stringer for non-Prometheus compliant label names (#3580)
* Update Stringer for non-Prometheus compliant label names

This commit updates the String method to print non-Prometheus
compliant label names in a format that can be parsed in the
UTF-8 parser. Such inputs are never valid in the classic parser.
If the label name is Prometheus compliant, it is still printed
unquoted.

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

---------

Signed-off-by: George Robinson <george.robinson@grafana.com>
2023-11-14 16:25:13 +00:00
..
matcher.go Support UTF-8 label matchers: Update Stringer for non-Prometheus compliant label names (#3580) 2023-11-14 16:25:13 +00:00
matcher_test.go Support UTF-8 label matchers: Update Stringer for non-Prometheus compliant label names (#3580) 2023-11-14 16:25:13 +00:00
parse.go
parse_test.go Support UTF-8 label matchers: Update compliance tests (#3569) 2023-10-25 09:52:17 +01:00