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: Remove telemetry from load in big endian helper #32030

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

vitkyrka
Copy link
Contributor

What does this PR do?

Remove telemetry from load in big endian helper. This helper is only used from Kafka. The telemetry in this helper does not serve much purpose since there are length checks before it (although they should be changed to use data_end) and other protocols don't have telemetry in every read like this.

Motivation

Reduce instruction count ahead of changes for kprobes.

Describe how you validated your changes

The code is covered by automated tests.

I also 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 were not affected by disabling this telemetry (the actual fix for that is in #32028)

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
@github-actions github-actions bot added component/system-probe short review PR is simple enough to be reviewed quickly labels Dec 11, 2024
@vitkyrka vitkyrka marked this pull request as ready for review December 11, 2024 15:53
@vitkyrka vitkyrka requested a review from a team as a code owner December 11, 2024 15:53
@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:55:37 UTC ℹ️ MergeQueue: pull request added to the queue

The median merge time in main is 25m.


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


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

@dd-mergequeue dd-mergequeue bot merged commit ebe2aff into main Dec 11, 2024
332 checks passed
@dd-mergequeue dd-mergequeue bot deleted the vincent.whitchurch/endian-telemetry 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