Skip to content

Fix propagation error on invalid headers #4451

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Fix propagation error on invalid headers #4451

wants to merge 1 commit into from

Conversation

marcotc
Copy link
Member

@marcotc marcotc commented Mar 3, 2025

What does this PR do?

Motivation:

Change log entry

Additional Notes:

How to test the change?

Copy link

github-actions bot commented Mar 3, 2025

👋 Hey @marcotc, please fill "Change log entry" section in the pull request description.

If changes need to be present in CHANGELOG.md you can state it this way

**Change log entry**

Yes. A brief summary to be placed into the CHANGELOG.md

(possible answers Yes/Yep/Yeah)

Or you can opt out like that

**Change log entry**

None.

(possible answers No/Nope/None)

Visited at: 2025-03-03 23:25:46 UTC

@@ -80,6 +80,8 @@ def inject!(digest, data)
)
end

::Datadog.logger.debug{"Injected distributed trace data into headers: #{data}"} if result
Copy link
Member Author

Choose a reason for hiding this comment

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

Add tests for these debug logs.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.69%. Comparing base (b2274aa) to head (3f2bf87).
Report is 25 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4451      +/-   ##
==========================================
- Coverage   97.71%   97.69%   -0.03%     
==========================================
  Files        1374     1374              
  Lines       83716    83813      +97     
  Branches     4236     4250      +14     
==========================================
+ Hits        81805    81879      +74     
- Misses       1911     1934      +23     

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

@datadog-datadog-prod-us1
Copy link
Contributor

Datadog Report

Branch report: fix-prop
Commit report: 3f2bf87
Test service: dd-trace-rb

✅ 0 Failed, 20611 Passed, 1370 Skipped, 3m 12.5s Total Time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants