-
Notifications
You must be signed in to change notification settings - Fork 447
fix(lib-injection): don't close stdout/stderr #13926
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
fix(lib-injection): don't close stdout/stderr #13926
Conversation
|
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.
is there a system test we are able to pair with this as well to show it is working in this PR?
releasenotes/notes/resolve-telemetry-forwarder-bug-e71f154d954eda4c.yaml
Outdated
Show resolved
Hide resolved
Bootstrap import analysisComparison of import times between this PR and base. SummaryThe average import time from this PR is: 282 ± 4 ms. The average import time from base is: 283 ± 4 ms. The import time difference between this PR and base is: -0.8 ± 0.2 ms. Import time breakdownThe following import paths have shrunk:
|
@brettlangdon associated system-tests: DataDog/system-tests#4910 |
BenchmarksBenchmark execution time: 2025-07-14 21:28:20 Comparing candidate commit 089ecaa in PR branch Found 0 performance improvements and 3 performance regressions! Performance is the same for 545 metrics, 2 unstable metrics. scenario:iastaspects-format_map_aspect
scenario:iastaspects-replace_aspect
scenario:iastaspectsospath-ospathjoin_aspect
|
This commit resolves an issue where telemetry forwarding never completes when DD_APM_INSTRUMENTATION_DEBUG is enabled. We are closing the pipe from the Python side, which means the telemetry forwarder will fill the buffer and be unable to complete.
…eda4c.yaml Co-authored-by: Brett Langdon <brett.langdon@datadoghq.com>
87367bf
to
510f30f
Compare
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.
if we can clean up the unnecessary changes to system-tests.yml
, then lgtm
510f30f
to
cd01263
Compare
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.
system tests changes are coming, but we need the fix merged first.
I have verified with @betterengineering that locally the system tests are passing with this change.
Overview
This commit resolves an issue where telemetry forwarding never completes when DD_APM_INSTRUMENTATION_DEBUG is enabled. We are closing the pipe from the Python side, which means the telemetry forwarder will fill the buffer and be unable to complete.
Test
I updated the
telemetry-forwarder.sh
to look like the following:I then ran this on main and this branch to confirm
mock-telemetry.out
is written on this branch but never gets written on main:Checklist
Reviewer Checklist