From 8d9332c19957d2f487829904a1f18cf3ba5d10bc Mon Sep 17 00:00:00 2001 From: dongjiang Date: Sat, 24 May 2025 20:25:39 +0800 Subject: [PATCH] fix metric_name_escaping_scheme option (#16625) --- docs/configuration/configuration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/configuration/configuration.md b/docs/configuration/configuration.md index db7b307a1e..6fa05b63ed 100644 --- a/docs/configuration/configuration.md +++ b/docs/configuration/configuration.md @@ -481,7 +481,7 @@ metric_relabel_configs: # Specifies the validation scheme for metric and label names. Either blank or # "utf8" for full UTF-8 support, or "legacy" for letters, numbers, colons, and # underscores. -[ metric_name_validation_scheme | default "utf8" ] +[ metric_name_validation_scheme: | default "utf8" ] # Specifies the character escaping scheme that will be requested when scraping # for metric and label names that do not conform to the legacy Prometheus @@ -497,7 +497,7 @@ metric_relabel_configs: # If this value is left blank, Prometheus will default to `allow-utf-8` if the # validation scheme for the current scrape config is set to utf8, or # `underscores` if the validation scheme is set to `legacy`. -[ metric_name_validation_scheme | default "utf8" ] +[ metric_name_escaping_scheme: | default "allow-utf-8" ] # Limit on total number of positive and negative buckets allowed in a single # native histogram. The resolution of a histogram with more buckets will be