config: fix typo in comments (#16734)
Some checks are pending
buf.build / lint and publish (push) Waiting to run
CI / Go tests (push) Waiting to run
CI / More Go tests (push) Waiting to run
CI / Go tests with previous Go version (push) Waiting to run
CI / UI tests (push) Waiting to run
CI / Go tests on Windows (push) Waiting to run
CI / Mixins tests (push) Waiting to run
CI / Build Prometheus for common architectures (push) Waiting to run
CI / Build Prometheus for all architectures (push) Waiting to run
CI / Report status of build Prometheus for all architectures (push) Blocked by required conditions
CI / Check generated parser (push) Waiting to run
CI / golangci-lint (push) Waiting to run
CI / fuzzing (push) Waiting to run
CI / codeql (push) Waiting to run
CI / Publish main branch artifacts (push) Blocked by required conditions
CI / Publish release artefacts (push) Blocked by required conditions
CI / Publish UI on npm Registry (push) Blocked by required conditions
Scorecards supply-chain security / Scorecards analysis (push) Waiting to run

Signed-off-by: Owen Williams <owen.williams@grafana.com>
This commit is contained in:
Owen Williams 2025-06-17 08:24:30 -04:00 committed by GitHub
parent e81132f162
commit 5a1cce4fbb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -481,10 +481,10 @@ type GlobalConfig struct {
// 0 means no limit. // 0 means no limit.
KeepDroppedTargets uint `yaml:"keep_dropped_targets,omitempty"` KeepDroppedTargets uint `yaml:"keep_dropped_targets,omitempty"`
// Allow UTF8 Metric and Label Names. Can be blank in config files but must // 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"` MetricNameValidationScheme string `yaml:"metric_name_validation_scheme,omitempty"`
// Metric name escaping mode to request through content negotiation. Can be // 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. // programmatically.
MetricNameEscapingScheme string `yaml:"metric_name_escaping_scheme,omitempty"` MetricNameEscapingScheme string `yaml:"metric_name_escaping_scheme,omitempty"`
// Whether to convert all scraped classic histograms into native histograms with custom buckets. // Whether to convert all scraped classic histograms into native histograms with custom buckets.
@ -749,10 +749,10 @@ type ScrapeConfig struct {
// 0 means no limit. // 0 means no limit.
KeepDroppedTargets uint `yaml:"keep_dropped_targets,omitempty"` KeepDroppedTargets uint `yaml:"keep_dropped_targets,omitempty"`
// Allow UTF8 Metric and Label Names. Can be blank in config files but must // 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"` MetricNameValidationScheme string `yaml:"metric_name_validation_scheme,omitempty"`
// Metric name escaping mode to request through content negotiation. Can be // 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. // programmatically.
MetricNameEscapingScheme string `yaml:"metric_name_escaping_scheme,omitempty"` MetricNameEscapingScheme string `yaml:"metric_name_escaping_scheme,omitempty"`