-
Notifications
You must be signed in to change notification settings - Fork 476
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mimirtool config: Add more retained old defaults (#1762)
* mimirtool config: Add more retained old defaults The following parameters have their old defaults retained even when `--update-defaults` is used with `mimirtool config covert`: * `activity_tracker.filepath` * `alertmanager.data_dir` * `blocks_storage.filesystem.dir` * `compactor.data_dir` * `ruler.rule_path` * `ruler_storage.filesystem.dir` * `graphite.querier.schemas.backend` (only in GEM) These are filepaths for which the new defaults don't make more sense than the old ones. In fact updating these can lead to subpar migration experience because components start using directories that don't exist. Because activity_tracker.filepath changed its name since cortex the tests needed to allow for differentiating old common options and new ones. This is something that was already there for GEM and was added for cortex/mimir too. Signed-off-by: Dimitar Dimitrov <dimitar.dimitrov@grafana.com> * Update CHANGELOG.md Signed-off-by: Dimitar Dimitrov <dimitar.dimitrov@grafana.com>
- Loading branch information
1 parent
b406e9e
commit 45baf66
Showing
23 changed files
with
269 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
-server.http-listen-port=80 | ||
-blocks-storage.backend=s3 | ||
-ruler-storage.backend=s3 | ||
-alertmanager-storage.backend=s3 | ||
-activity-tracker.filepath=./active-query-tracker | ||
-alertmanager.storage.path=data/ | ||
-blocks-storage.filesystem.dir= | ||
-compactor.data-dir=./data | ||
-ruler.rule-path=/rules | ||
-ruler-storage.filesystem.dir= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
-server.http-listen-port=80 | ||
-blocks-storage.backend=s3 | ||
-ruler-storage.backend=s3 | ||
-alertmanager-storage.backend=s3 | ||
-querier.active-query-tracker-dir=./active-query-tracker | ||
-alertmanager.storage.path=data/ | ||
-blocks-storage.filesystem.dir= | ||
-compactor.data-dir=./data | ||
-ruler.rule-path=/rules | ||
-ruler-storage.filesystem.dir= |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
server: | ||
http_listen_port: 80 | ||
|
||
blocks_storage: | ||
backend: s3 | ||
filesystem: | ||
dir: '' | ||
|
||
ruler_storage: | ||
backend: s3 | ||
filesystem: | ||
dir: '' | ||
|
||
alertmanager_storage: | ||
backend: s3 | ||
|
||
activity_tracker: | ||
filepath: ./active-query-tracker | ||
|
||
alertmanager: | ||
data_dir: data/ | ||
|
||
compactor: | ||
data_dir: ./data | ||
|
||
ruler: | ||
rule_path: /rules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
server: | ||
http_listen_port: 80 | ||
|
||
blocks_storage: | ||
backend: s3 | ||
filesystem: | ||
dir: '' | ||
|
||
ruler_storage: | ||
backend: s3 | ||
filesystem: | ||
dir: '' | ||
|
||
alertmanager_storage: | ||
backend: s3 | ||
|
||
querier: | ||
active_query_tracker_dir: ./active-query-tracker | ||
|
||
alertmanager: | ||
data_dir: data/ | ||
|
||
compactor: | ||
data_dir: ./data | ||
|
||
ruler: | ||
rule_path: /rules |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.