refactor: remove Fluent Bit Lua remnants and dead goldens#2331
Merged
rafaelwestphal merged 1 commit intoJun 4, 2026
Merged
Conversation
e7e75b7 to
6be95d7
Compare
This change removes the unused function from the AST package, the constant from logging receivers, and the entire file which defined unused Lua script constants. It also removes the unused field from struct and updates comments. Finally, it deletes all remaining and golden files from the testdata, as Fluent Bit has been decommissioned.
6be95d7 to
c6b9d96
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Since Fluent Bit has been decommissioned in favor of OpenTelemetry, this PR cleans up the remaining Lua-related code and dead Fluent Bit configuration golden files from the codebase.
Changes:
confgenerator/add_lua_script.gowhich defined unused Lua script constants (addLogNameLuaFunctionandaddLogNameLuaScriptContents).LuaQuotehelper function fromconfgenerator/filter/internal/ast/ast.go.sourceVarfield (which stored Lua variable names for copied values) from theModifyFieldstruct inconfgenerator/logging_modify_fields.go.eventLogV2SeverityParserLuaconstant fromconfgenerator/logging_receivers.go.confgenerator/confgenerator_test.goto remove obsolete Fluent Bit/Lua references.fluent_bit_main.confandfluent_bit_parser.confgolden files fromconfgenerator/testdata/goldens/.Related issue
How has this been tested?
Checklist: