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

Increase buffer size to 192 to capture longer URLs #1150

Merged
merged 3 commits into from
Sep 11, 2024

Conversation

marevers
Copy link
Collaborator

Closes #1097

This PR increases FULL_BUF_SIZE from 160 to 192, which allows for capturing longer URLs. Slightly longer URLs can get cut off with 160, with 192 they get captured fully.

@codecov-commenter
Copy link

codecov-commenter commented Sep 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.04%. Comparing base (715786d) to head (f7d09cf).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1150      +/-   ##
==========================================
+ Coverage   78.39%   81.04%   +2.64%     
==========================================
  Files         136      136              
  Lines       11416    11416              
==========================================
+ Hits         8950     9252     +302     
+ Misses       1919     1637     -282     
+ Partials      547      527      -20     
Flag Coverage Δ
integration-test 57.00% <ø> (?)
k8s-integration-test 58.83% <ø> (-0.10%) ⬇️
oats-test 35.77% <ø> (ø)
unittests 53.22% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@grcevski grcevski left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for this PR @marevers. I think we just need to rebase and rebuild the eBPF programs to resolve the conflicts.

@marevers
Copy link
Collaborator Author

Rebased and rebuilt BPF.

@grcevski
Copy link
Contributor

I'm so sorry, but it seems we conflicted on eBPF one more time. Will you please rebase one more time, we'll hold off eBPF changes until you do so. Sorry again for the inconvenience.

@grcevski grcevski merged commit 77cba46 into grafana:main Sep 11, 2024
9 checks passed
@marevers marevers deleted the increase-buf-size branch September 12, 2024 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make path capture length configurable
3 participants