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"`