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
Paul Rogers 18cef217fc
chore: Linting updates in prep for Go 1.23 (#14071)
9 months ago
..
checker chore: Linting updates in prep for Go 1.23 (#14071) 9 months ago
test-fixtures Deprecate and flip -legacy-read-mode to false by default (#11665) 1 year 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 chore: update dskit and thanos/objstore (#13998) 9 months ago
main.go chore: update loki modules for 3.0 release (#12433) 1 year 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.