⚠️ Breaking changes ⚠️
- Label names that start with a single Underscore (
_) character are no longer prefixed with the wordkeyduring translation. Folks who depend on such behavior can re-enable it by settingLabelNamer.UnderscoreLabelSanitization = true. https://github.com/prometheus/otlptranslator/pull/55 - Labels that have multiple underscores in sequence are now deduplicated if UTF-8 isn't allowed. Folks who depend on such behavior can re-enable it by setting
LabelNamer.PreserveMultipleUnderscores = true. Be aware that ifUTF8Allowedis set to true, multiple underscores are preserved even ifPreserveMultipleUnderscores == false. https://github.com/prometheus/otlptranslator/pull/58
Bug fixes
- Error is returned if the result of a translation is a string consisting of underscores only. https://github.com/prometheus/otlptranslator/pull/56
Performance
- Remove usage of regexp. https://github.com/prometheus/otlptranslator/pull/59
Full Changelog: https://github.com/prometheus/otlptranslator/compare/v0.0.2...v1.0.0