Skip to content

RUM-9747 Strongly-typed Trace Additional Context #2293

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

Merged
merged 1 commit into from
May 19, 2025

Conversation

maxep
Copy link
Member

@maxep maxep commented May 9, 2025

What and why?

Following: #2289

FeatureBaggage comes with perf implications, we are replacing loosely-typed baggages in core context by strongly-typed additional context.

How?

Replace Trace baggage by SpanCoreContext as additional context.

Bonus

Also fix a left-over from #2277 and replace the Trace baggage message to logs by a .payload(TraceLogMessage).

Review checklist

  • Feature or bugfix MUST have appropriate tests (unit, integration)
  • Make sure each commit and the PR mention the Issue number or JIRA reference
  • Add CHANGELOG entry for user facing changes
  • Add Objective-C interface for public APIs (see our guidelines (internal) and run make api-surface)

@maxep maxep requested review from a team as code owners May 9, 2025 15:23
@datadog-datadog-prod-us1
Copy link

datadog-datadog-prod-us1 bot commented May 9, 2025

Datadog Report

Branch report: maxep/RUM-9747/trace-additional-context
Commit report: 48a1427
Test service: dd-sdk-ios

✅ 0 Failed, 708 Passed, 3186 Skipped, 2m 13.95s Total duration (2m 23.1s time saved)

@maxep maxep force-pushed the maxep/RUM-9747/rum-addtional-context branch from 9a71de0 to eb6381b Compare May 12, 2025 14:23
@maxep maxep force-pushed the maxep/RUM-9747/trace-additional-context branch from 4d4de31 to e53d667 Compare May 12, 2025 14:24
Base automatically changed from maxep/RUM-9747/rum-addtional-context to develop May 14, 2025 08:56
@maxep maxep force-pushed the maxep/RUM-9747/trace-additional-context branch from e53d667 to 8b6640f Compare May 14, 2025 09:01
simaoseica-dd
simaoseica-dd previously approved these changes May 14, 2025
Copy link
Contributor

@simaoseica-dd simaoseica-dd left a comment

Choose a reason for hiding this comment

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

Looks good!

ncreated
ncreated previously approved these changes May 15, 2025
Copy link
Member

@ncreated ncreated left a comment

Choose a reason for hiding this comment

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

Neat! 🎯

@maxep maxep dismissed stale reviews from ncreated and simaoseica-dd via 71b9fcf May 15, 2025 08:27
@maxep maxep force-pushed the maxep/RUM-9747/trace-additional-context branch from 8b6640f to 71b9fcf Compare May 15, 2025 08:27
@maxep maxep force-pushed the maxep/RUM-9747/trace-additional-context branch from 71b9fcf to 48a1427 Compare May 19, 2025 10:28
@maxep
Copy link
Member Author

maxep commented May 19, 2025

/merge

@dd-devflow
Copy link

dd-devflow bot commented May 19, 2025

View all feedbacks in Devflow UI.

2025-05-19 13:10:50 UTC ℹ️ Start processing command /merge


2025-05-19 13:10:56 UTC ℹ️ MergeQueue: pull request added to the queue

The expected merge time in develop is approximately 1h (p90).


2025-05-19 13:58:51 UTC ℹ️ MergeQueue: This merge request was merged

@dd-mergequeue dd-mergequeue bot merged commit 376d23d into develop May 19, 2025
15 checks passed
@dd-mergequeue dd-mergequeue bot deleted the maxep/RUM-9747/trace-additional-context branch May 19, 2025 13:58
@maxep maxep mentioned this pull request May 20, 2025
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants