Skip to content

[NO-TICKET] Add baggage to karafka list of propagation styles#4614

Merged
vpellan merged 6 commits into
masterfrom
vpellan/add-baggage-to-karafka-propagation-style
May 2, 2025
Merged

[NO-TICKET] Add baggage to karafka list of propagation styles#4614
vpellan merged 6 commits into
masterfrom
vpellan/add-baggage-to-karafka-propagation-style

Conversation

@vpellan

@vpellan vpellan commented Apr 29, 2025

Copy link
Copy Markdown
Contributor

What does this PR do?

This PR adds baggage to karafka list of propagation styles.

Motivation:

There's a lot of telemetry spam about the tracer trying to call inject! on nil. One of the reason this happens is that we don't have baggage in karafka list of propagation style. When mapping the list of default propagation style, it maps the baggage one to nil, which causes the tracer to call inject! on nil later on.

Change log entry

Yes. Fix Karafka logger and telemetry spam caused by distributed tracing.

Additional Notes:

How to test the change?

CI.

@vpellan
vpellan requested a review from a team as a code owner April 29, 2025 16:46
@github-actions github-actions Bot added integrations Involves tracing integrations tracing labels Apr 29, 2025
@codecov-commenter

codecov-commenter commented Apr 29, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.76%. Comparing base (56a587c) to head (ef4dd71).
⚠️ Report is 2782 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4614   +/-   ##
=======================================
  Coverage   97.76%   97.76%           
=======================================
  Files        1415     1417    +2     
  Lines       86264    86316   +52     
  Branches     4348     4348           
=======================================
+ Hits        84339    84390   +51     
- Misses       1925     1926    +1     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@datadog-datadog-prod-us1

datadog-datadog-prod-us1 Bot commented Apr 29, 2025

Copy link
Copy Markdown
Contributor

Datadog Report

Branch report: vpellan/add-baggage-to-karafka-propagation-style
Commit report: ef4dd71
Test service: dd-trace-rb

✅ 0 Failed, 21261 Passed, 1373 Skipped, 3m 40.27s Total Time

@pr-commenter

pr-commenter Bot commented Apr 29, 2025

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2025-05-02 09:54:56

Comparing candidate commit ef4dd71 in PR branch vpellan/add-baggage-to-karafka-propagation-style with baseline commit 56a587c in branch master.

Found 1 performance improvements and 0 performance regressions! Performance is the same for 30 metrics, 2 unstable metrics.

scenario:tracing - Tracing.log_correlation

  • 🟩 throughput [+10092.330op/s; +10406.209op/s] or [+10.040%; +10.352%]

@vpellan
vpellan merged commit f352621 into master May 2, 2025
@vpellan
vpellan deleted the vpellan/add-baggage-to-karafka-propagation-style branch May 2, 2025 10:03
@github-actions github-actions Bot added this to the 2.16.0 milestone May 2, 2025
@Strech Strech mentioned this pull request May 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

integrations Involves tracing integrations tracing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants