-
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(migrations): Add migration for fieldpass/fielddrop #14401
Conversation
Download PR build artifacts for linux_amd64.tar.gz, darwin_amd64.tar.gz, and windows_amd64.zip. 📦 Click here to get additional PR build artifactsArtifact URLs |
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.
Thank you
@@ -0,0 +1,3 @@ | |||
[[inputs.dummy]] | |||
servers = ["tcp://127.0.0.1:1883"] | |||
fieldexclude = ["valueA", "valueB", "valueC"] |
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.
Not that it really matters but current telegraf config parser would process them as ["valueB", "valueC", "valueA"]
.
Summary
PR #14012 deprecated
fieldpass
andfielddrop
and replaced those options with the better-namedfieldinclude
andfieldexclude
respectively. Additionally, the deprecatedpass
anddrop
options exist.This PR adds a migration to consolidate all those settings into the new
fieldpass
andfielddrop
.Checklist
Related issues