prometheus/util/strutil
Nick Moore c05ebef306
Implement SanitizeLabelName and Full variant
Rather than removing the previous implementation of SanitizeLabelName,
offer another version named SanitizeFullLabelName that achieved the
desired requirements, without breaking existing Prometheus code.

Update testing to validate correctness of new variant.

Signed-off-by: Nick Moore <nicholas.moore@grafana.com>
2023-02-03 15:28:33 +00:00
..
quote.go Update go to 1.19, set min version to 1.18 (#11279) 2022-09-07 11:30:48 +02:00
quote_test.go Add license notice for code adapted from Go 2021-12-05 09:01:52 +01:00
strconv.go Implement SanitizeLabelName and Full variant 2023-02-03 15:28:33 +00:00
strconv_test.go Implement SanitizeLabelName and Full variant 2023-02-03 15:28:33 +00:00