From 5a1cce4fbb55458841e0cf33de1f6ea7dc9a2436 Mon Sep 17 00:00:00 2001 From: Owen Williams Date: Tue, 17 Jun 2025 08:24:30 -0400 Subject: [PATCH] config: fix typo in comments (#16734) Signed-off-by: Owen Williams --- config/config.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/config.go b/config/config.go index 06dae61c08..0f99e9ea46 100644 --- a/config/config.go +++ b/config/config.go @@ -481,10 +481,10 @@ type GlobalConfig struct { // 0 means no limit. KeepDroppedTargets uint `yaml:"keep_dropped_targets,omitempty"` // Allow UTF8 Metric and Label Names. Can be blank in config files but must - // have a value if a ScrepeConfig is created programmatically. + // have a value if a ScrapeConfig is created programmatically. MetricNameValidationScheme string `yaml:"metric_name_validation_scheme,omitempty"` // Metric name escaping mode to request through content negotiation. Can be - // blank in config files but must have a value if a ScrepeConfig is created + // blank in config files but must have a value if a ScrapeConfig is created // programmatically. MetricNameEscapingScheme string `yaml:"metric_name_escaping_scheme,omitempty"` // Whether to convert all scraped classic histograms into native histograms with custom buckets. @@ -749,10 +749,10 @@ type ScrapeConfig struct { // 0 means no limit. KeepDroppedTargets uint `yaml:"keep_dropped_targets,omitempty"` // Allow UTF8 Metric and Label Names. Can be blank in config files but must - // have a value if a ScrepeConfig is created programmatically. + // have a value if a ScrapeConfig is created programmatically. MetricNameValidationScheme string `yaml:"metric_name_validation_scheme,omitempty"` // Metric name escaping mode to request through content negotiation. Can be - // blank in config files but must have a value if a ScrepeConfig is created + // blank in config files but must have a value if a ScrapeConfig is created // programmatically. MetricNameEscapingScheme string `yaml:"metric_name_escaping_scheme,omitempty"`