-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
feat: Implement deprecation infrastructure #10200
Merged
Merged
Changes from all commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
0d8717c
Make version available in config.
8c52cee
Define interface for declaring a plugin as deprecated.
abae081
Define telegraf version for the non-tagged case.
aa4790e
Implement deprecation handling.
f776ddf
Handle deprecation.
7c6e654
Deprecate httpjson as a showcase.
09cbfa3
Deprecate 'address' option of http_response as showcase.
8d23064
Color deprecation output to increase visibility.
ceb67fd
Report only those deprecated fields that contain data.
19c9cd8
Flag known deprecated packages.
c0678ac
Refactor deprecation handling a bit and implement deprecation listing.
03da755
Allow listing of deprecated plugins and options via telegraf cmd.
9c4c1cd
Restore the old config.NewConfig().
f6d5db3
Fix linter issues.
0792b91
Make tidy.
4e6e293
Add comment to walkPluginStruct().
b83dc36
Pimp walkPluginStruct() to also walk structs embedded in slices/array…
75ee66d
Print deprecation statistics which is also included in a log-file if …
246a650
Enable plugin filtering for deprecation list.
1d09c2e
Add new command-line flag to documentation.
86e559b
Fix doc alignment.
43079ae
Fix linter error.
529557d
Implement discussed deprecation strategy and allow to specify a custo…
7157598
Move deprecation info to long-term persistant tables.
3374eae
Print deprecation notice for deprecated and already removed plugins.
ef8bfcb
Use keyed fields.
aa5039d
Allow <br> HTML elements for Markdown as they are often the only why …
64e876a
Add inputs.io to list of deprecated plugins.
d51cf51
Remove color from deprecation output.
56ce5b0
Fix Makefile.
805cd32
Use go-semver for versioning.
041cc5d
Simplify version handling in telegraf.
1dcb0d7
Make version internal.
2a21150
Fix linter error.
b9bb624
Improve error message.
4b1e449
Formatting.
57cb429
Update deprecation information from Changelog.
5db8685
Revert "Remove color from deprecation output."
0a34118
Handle processor and aggregator deprecations as well.
253cc59
Rename 'Level' to 'LogLevel'.
1a3b87d
Make all versions tri-dotted format.
18dd40c
Print origin for version panic to ease debugging.
7bde164
Switch to 'github.com/blang/semver' as we already have this as a (ind…
28ae447
Drop potential pre-release tags for telegraf when comparing the versi…
eeb9d7a
Revert "Switch to 'github.com/blang/semver' as we already have this a…
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 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 |
---|---|---|
@@ -1,3 +1,6 @@ | ||
{ | ||
"MD013": false | ||
"MD013": false, | ||
"MD033": { | ||
"allowed_elements": ["br"] | ||
} | ||
} |
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@reimda @srebhan I know its a little late, but just came to this
nolint
tag. Is there a reason we can't use this?