prometheus/storage/remote/otlptranslator/prometheusremotewrite
Arthur Silva Sens 5fdec31401
otlp/translator: Use separate function for metric names with UTF8 characters (#15664)
BuildCompliantName was renamed to BuildCompliantMetricName, and it no longer takes UTF8 support into consideration. It focuses on building a metric name that follows Prometheus conventions.

A new function, BuildMetricName, was added to optionally add unit and type suffixes to OTLP metric names without translating any characters to underscores(_).
2025-01-06 11:30:39 -03:00
..
context.go OTLP: Support context cancellation/timeout during translation (#14612) 2024-09-08 17:13:40 +02:00
context_test.go OTLP: Support context cancellation/timeout during translation (#14612) 2024-09-08 17:13:40 +02:00
helper.go update links to openmetrics to reference the v1.0.0 release 2024-12-13 21:32:27 +00:00
helper_test.go Make the behavior configurable 2024-11-29 15:12:57 +01:00
histograms.go Make the behavior configurable 2024-11-29 15:12:57 +01:00
histograms_test.go otlp/translator: Use separate function for metric names with UTF8 characters (#15664) 2025-01-06 11:30:39 -03:00
metrics_to_prw.go otlp/translator: Use separate function for metric names with UTF8 characters (#15664) 2025-01-06 11:30:39 -03:00
metrics_to_prw_test.go otlp/translator: Use separate function for metric names with UTF8 characters (#15664) 2025-01-06 11:30:39 -03:00
number_data_points.go Make the behavior configurable 2024-11-29 15:12:57 +01:00
number_data_points_test.go chore!: adopt log/slog, remove go-kit/log 2024-10-07 15:58:50 -04:00
otlp_to_openmetrics_metadata.go OTLP receiver: Convert also metric metadata (#15416) 2024-11-20 11:13:03 +01:00
testutil_test.go OTLP Receiver: Add tests (#14764) 2024-08-30 11:30:57 +02:00
timeseries.go OTLP receiver: Convert also metric metadata (#15416) 2024-11-20 11:13:03 +01:00