prometheus/config/testdata/scrape_config_local_infer_escaping.yml
Owen Williams 74610b7c89
config: address edge case where local config specifies validation mode only (#16923)
This check ensures that local ScrapeConfigs that only specify Legacy validation do not inherit the default global AllowUTF8 escaping setting, which is an invalid combination of settings.

---------

Signed-off-by: Owen Williams <owen.williams@grafana.com>
2025-08-04 13:53:50 -04:00

3 lines
83 B
YAML

scrape_configs:
- job_name: prometheus
metric_name_validation_scheme: legacy