Repository navigation
docs(config): deprecate boolean configuration shorthand #26680
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
9b57c7f
docs(config): deprecate boolean configuration shorthand
pront d7f5e6b
docs(config): clarify OTLP decoding migration guidance
pront 256eca7
docs(config): separate OTLP decoding deprecation notice
pront 687c440
docs(config): remove repeated boolean shorthand notices
pront 0ca2781
docs(config): plan direct OTLP decoding migration
pront 659ec46
docs(config): simplify deprecation migration window
pront 12d561d
docs(config): remove unrelated source acknowledgement guidance
pront 2d65344
docs(config): align guidance with merged OTLP migration
pront 3513486
test(website): remove healthcheck-specific browser tests
pront d2eb00e
fix(config): avoid shorthand warnings for deprecated types
pront File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,39 @@ | ||
| --- | ||
| what: "Boolean shorthand for object-valued configuration options" | ||
| deprecated_since: "0.60.0" | ||
| --- | ||
|
|
||
| Boolean shorthand for object-valued configuration options is deprecated. Use the object form instead | ||
| so that each setting has one consistent representation and the options being configured are explicit. | ||
|
|
||
| Existing boolean values continue to work. Removal is not yet scheduled. We will give users at least | ||
| one month to migrate before removing this shorthand. | ||
|
|
||
| This applies to `healthcheck` on sinks, global and sink `acknowledgements`, `jetstream` on the NATS sink, | ||
| and `acknowledgements` on the Splunk HEC source. | ||
| Ordinary boolean options, such as `healthcheck.enabled`, are unaffected. | ||
|
|
||
| Please also see the [dedicated note for `use_otlp_decoding`](/deprecations/#opentelemetry-use_otlp_decoding). | ||
|
|
||
| ### Settings with an `enabled` field | ||
|
|
||
| For `healthcheck`, global and sink `acknowledgements`, NATS sink `jetstream`, and Splunk HEC source | ||
| `acknowledgements`, replace the boolean with an object containing the same value in `enabled`. | ||
| For example, within a sink configuration, replace: | ||
|
|
||
| ```yaml | ||
| healthcheck: false | ||
| acknowledgements: true | ||
| ``` | ||
|
|
||
| with: | ||
|
|
||
| ```yaml | ||
| healthcheck: | ||
| enabled: false | ||
| acknowledgements: | ||
| enabled: true | ||
| ``` | ||
|
|
||
| Other options in these objects retain their defaults. Use the same transformation for either `true` | ||
| or `false`. |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.