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
context_test.go
helper.go
helper_test.go
histograms.go
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
number_data_points_test.go
otlp_to_openmetrics_metadata.go
testutil_test.go
timeseries.go