Skip to content
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(conntrack): conntrack integration with packetparser #624

Merged
merged 67 commits into from
Sep 6, 2024

Conversation

nddq
Copy link
Contributor

@nddq nddq commented Aug 20, 2024

Description

Part 2 of #610

Related Issue

If this pull request is related to any issue, please mention it here. Additionally, make sure that the issue is assigned to you before submitting this pull request.

Checklist

  • I have read the contributing documentation.
  • I signed and signed-off the commits (git commit -S -s ...). See this documentation on signing commits.
  • I have correctly attributed the author(s) of the code.
  • I have tested the changes locally.
  • I have followed the project's style guidelines.
  • I have updated the documentation, if necessary.
  • I have added tests, if applicable.

Screenshots (if applicable) or Testing Completed

Output from debug CLI tool:
image
Hubble flow logs:
image

Additional Notes

Add any additional notes or context about the pull request here.


Please refer to the CONTRIBUTING.md file for more information on how to contribute to this project.

@nddq nddq added type/enhancement New feature or request lang/go The Go Programming Language area/plugins area/ebpf priority/0 P0 lang/c The C Programming Language scope/M Change is Medium area/flows labels Aug 20, 2024
@nddq nddq self-assigned this Aug 20, 2024
@nddq nddq requested a review from a team as a code owner August 20, 2024 21:49
@nddq nddq mentioned this pull request Aug 20, 2024
11 tasks
@nddq nddq requested review from vakalapa and anubhabMajumdar and removed request for ibezrukavyi and karina-ranadive August 20, 2024 22:10
@nddq nddq added scope/L Change is Large and removed scope/M Change is Medium labels Sep 2, 2024
@nddq nddq added this pull request to the merge queue Sep 6, 2024
@nddq nddq removed this pull request from the merge queue due to a manual request Sep 6, 2024
Copy link
Contributor

@rectified95 rectified95 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

left some nits, lgtm

@nddq nddq added this pull request to the merge queue Sep 6, 2024
Merged via the queue into main with commit 15c0da5 Sep 6, 2024
22 checks passed
@nddq nddq deleted the nddq/feat/ctpacketparser branch September 6, 2024 21:28
@@ -31,22 +31,15 @@ const (
// 2 is from host to network and 3 is from network to host.
// ts is the timestamp in nanoseconds.
func ToFlow(
l *log.ZapLogger,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there any extra reasoning to passing logger here besides warn? this was pretty concise, requires refactoring usage downstream just for a warn

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no reason to pass the logger here. From some of the pprof we collected, this actually incurred quite a bit of memory usage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ebpf area/flows area/plugins lang/c The C Programming Language lang/go The Go Programming Language priority/0 P0 scope/L Change is Large type/enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Proposal] Options to limit data generation by plugins
6 participants