-
Notifications
You must be signed in to change notification settings - Fork 3.1k
[pkg/ottl]: Create ctxprofilecommon for common attribute handling #42107
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
Conversation
…various profiling sub messages Most Profiling messages do have some attributes. Create ctxprofilecommon for shared functionality. Signed-off-by: Florian Lehner <[email protected]>
c23786d to
69c7ebd
Compare
Signed-off-by: Florian Lehner <[email protected]>
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 doing this!
It seems this PR has introduced more changes than #41814 (comment) suggested, which is fine, but I would recommend keeping it at the minimum for now, and only tackle those two functions that implements the shared profile set attribute logic, so we can focus and move other profiles PRs faster.
Unit tests are also failing, which maybe means we broke some existing behavior.
Signed-off-by: Florian Lehner <[email protected]>
|
@edmocosta thanks for the feedback. When testing the changes locally, I did skip the e2e tests as I was not aware of them. So having them fail, uncovered already an issue and differences in the attribute handling between ctxprofile and ctxprofilesample. I managed to fix this now in ctxprofilecommon and so now we can also be sure, that attribute handling is always the same across all profile sub messages. |
Signed-off-by: Florian Lehner <[email protected]>
Signed-off-by: Florian Lehner <[email protected]>
Signed-off-by: Florian Lehner <[email protected]>
Signed-off-by: Florian Lehner <[email protected]>
Signed-off-by: Florian Lehner <[email protected]>
|
Merge conflicts with recent protocol changes are resolved now. Looking for feedback @edmocosta @TylerHelmuth @evan-bradley |
Signed-off-by: Florian Lehner <[email protected]>
Description
Most Profiling messages do have some attributes. Create ctxprofilecommon for shared functionality.
Follow up to #41814 (comment)
Link to tracking issue
Fixes
Testing
Documentation