prometheus/storage/remote/otlptranslator/prometheus
Arve Knudsen 9895d882b4
OTLP receiver: Use stdlib for splitting metric name in classical mode (#15573)
In non-UTF-8 mode, use strings.FieldsFunc to split string into tokens,
as it was before PR #15258. This makes the code more robust and
readable.

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2024-12-11 15:12:53 +01:00
..
helpers_from_stdlib.go Allow UTF-8 characters in metric and label names as opt-in feature (#15258) 2024-11-08 10:02:48 -03:00
normalize_label.go OTLP receiver: Don't call NormalizeLabel in NoUTF8EscapingWithSuffixes mode 2024-12-04 17:01:08 +01:00
normalize_label_test.go OTLP receiver: Don't call NormalizeLabel in NoUTF8EscapingWithSuffixes mode 2024-12-04 17:01:08 +01:00
normalize_name.go OTLP receiver: Use stdlib for splitting metric name in classical mode (#15573) 2024-12-11 15:12:53 +01:00
normalize_name_test.go Allow UTF-8 characters in metric and label names as opt-in feature (#15258) 2024-11-08 10:02:48 -03:00
testutils_test.go otlptranslator: Add tests for BuildCompliantName 2024-07-24 18:17:56 +02:00
unit_to_ucum.go [PRW 2.0] Merging remote-write-2.0 feature branch to main (PRW 2.0 support + metadata in WAL) (#14395) 2024-07-04 14:29:20 -07:00