From 12dcdf6c43c6a7ff6d019195b68a1e960a4ebde4 Mon Sep 17 00:00:00 2001 From: Owen Williams Date: Wed, 21 Aug 2024 11:13:44 -0400 Subject: [PATCH] enable utf-8 validation mode by default --- model/metric.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/metric.go b/model/metric.go index c44f93f3..9fa8a39d 100644 --- a/model/metric.go +++ b/model/metric.go @@ -32,7 +32,7 @@ var ( // UTF-8-aware binaries as part of their startup. To avoid need for locking, // this value should be set once, ideally in an init(), before multiple // goroutines are started. - NameValidationScheme = LegacyValidation + NameValidationScheme = UTF8Validation // NameEscapingScheme defines the default way that names will be // escaped when presented to systems that do not support UTF-8 names. If the