Like Prometheus, but for logs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
loki/tools/deprecated-config-checker
Salva Corts ef75ba35d6
Deprecate and flip -legacy-read-mode to false by default (#11665)
2 years ago
..
checker Deprecate and flip -legacy-read-mode to false by default (#11665) 2 years ago
test-fixtures Deprecate and flip -legacy-read-mode to false by default (#11665) 2 years ago
README.md Deprecated/Deleted Config Checker tool (#10977) 2 years ago
deleted-config.yaml config: remove flags & YAML settings deprecated in 2.9.x (#11151) 2 years ago
deprecated-config.yaml Deprecate and flip -legacy-read-mode to false by default (#11665) 2 years ago
main.go Use newest build image 0.31.2 with golangci-lint update. (#11118) 2 years ago

README.md

Deprecated Config Checker

This script can check your configuration files for deprecated and deleted options.

Usage

Run the script with -help for a list of options.

Example

go run tools/deprecated-config-checker/main.go \
  -config.file tools/deprecated-config-checker/test-fixtures/config.yaml \
  -runtime-config.file tools/deprecated-config-checker/test-fixtures/runtime-config.yaml

Adding a new config deprecation or deletion?

Add deprecations to the deprecated-config.yaml file, and deletions to the deleted-config.yaml. Then, update the test-fixtures/config.yaml and test-fixtures/runtime-config.yaml files as well as the tests in checker/checker_test.go.