-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[internal/filter] Add bridge from filterlog to filterottl #22789
[internal/filter] Add bridge from filterlog to filterottl #22789
Conversation
Invalid Benchmarks
These benchmarks had an error so not all tests were run. |
99514be
to
8c0c523
Compare
8c0c523
to
e67a8e1
Compare
Benchmarks when using
|
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
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.
I honestly can't effectively review 1400+ of added code, is there any way that this can be broken down?
severityNumberCondition *string | ||
} | ||
|
||
func createConditions(mp filterconfig.MatchProperties) (conditionStatements, error) { |
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 for moving this to a type.
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.
I am happy with the changes.
…etry#22789) This PR adds a bridge between `filterlog.NewSkipExpr` and `filterottl.NewBoolExprForLog` behind a feature gate. With the feature gate enabled, any component using `filterlog.NewSkipExpr` will start using OTTL behind the scenes. Related to open-telemetry#18643 Related to open-telemetry#18642 Added tests comparing the output of the existing config and the bridge.
…etry#22789) This PR adds a bridge between `filterlog.NewSkipExpr` and `filterottl.NewBoolExprForLog` behind a feature gate. With the feature gate enabled, any component using `filterlog.NewSkipExpr` will start using OTTL behind the scenes. Related to open-telemetry#18643 Related to open-telemetry#18642 Added tests comparing the output of the existing config and the bridge.
Description:
This PR adds a bridge between
filterlog.NewSkipExpr
andfilterottl.NewBoolExprForLog
behind a feature gate. With the feature gate enabled, any component usingfilterlog.NewSkipExpr
will start using OTTL behind the scenes.Link to tracking Issue:
Related to #18643
Related to #18642
Testing:
Added tests comparing the output of the existing config and the bridge.