mirror of
https://github.com/prometheus/prometheus.git
synced 2025-08-06 22:27:17 +02:00
config: fix typo in comments (#16734)
Signed-off-by: Owen Williams <owen.williams@grafana.com>
This commit is contained in:
parent
e81132f162
commit
5a1cce4fbb
@ -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"`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user