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

usm: kafka: Check packet size before load #32028

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

vitkyrka
Copy link
Contributor

What does this PR do?

Check the packet size before load to avoid helper errors reported by telemetry.

Motivation

Noticed while making code changes to add kprobe support

Describe how you validated your changes

Code is covered by automated tests.

I ran it on one host in a staging cluster and there the errors from the datadog.system_probe.ebpf.helpers.errors{helper:bpf_skb_load_bytes,probe_name:socket_kafka_filter} metric went to zero:

Possible Drawbacks / Trade-offs

Additional Notes

@vitkyrka vitkyrka added changelog/no-changelog team/usm The USM team qa/done QA done before merge and regressions are covered by tests labels Dec 11, 2024
@vitkyrka vitkyrka marked this pull request as ready for review December 11, 2024 15:46
@vitkyrka vitkyrka requested a review from a team as a code owner December 11, 2024 15:46
@github-actions github-actions bot added component/system-probe short review PR is simple enough to be reviewed quickly labels Dec 11, 2024
@vitkyrka
Copy link
Contributor Author

/merge

@dd-devflow
Copy link

dd-devflow bot commented Dec 11, 2024

Devflow running: /merge

View all feedbacks in Devflow UI.


2024-12-11 16:54:55 UTC ℹ️ MergeQueue: pull request added to the queue

The median merge time in main is 25m.


2024-12-11 17:00:45 UTC ℹ️ MergeQueue: STATUS_WITH_REASON_QUEUED_RETRY_CANCEL


2024-12-11 17:50:15 UTC ℹ️ MergeQueue: This merge request was merged

@dd-mergequeue dd-mergequeue bot merged commit b1ed33f into main Dec 11, 2024
332 checks passed
@dd-mergequeue dd-mergequeue bot deleted the vincent.whitchurch/kafka-load-errors branch December 11, 2024 17:50
@github-actions github-actions bot added this to the 7.62.0 milestone Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog/no-changelog component/system-probe qa/done QA done before merge and regressions are covered by tests short review PR is simple enough to be reviewed quickly team/usm The USM team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants