Skip to content

Update Baggage Metrics for Extract#11278

Open
mhlidd wants to merge 3 commits intomasterfrom
mhlidd/update_baggage_metrics
Open

Update Baggage Metrics for Extract#11278
mhlidd wants to merge 3 commits intomasterfrom
mhlidd/update_baggage_metrics

Conversation

@mhlidd
Copy link
Copy Markdown
Contributor

@mhlidd mhlidd commented May 4, 2026

What Does This Do

Rename local variables/functions for inject metrics, and add metrics for extract.

Motivation

Additional Notes

Contributor Checklist

Jira ticket: [PROJ-IDENT]

Note: Once your PR is ready to merge, add it to the merge queue by commenting /merge. /merge -c cancels the queue request. /merge -f --reason "reason" skips all merge queue checks; please use this judiciously, as some checks do not run at the PR-level. For more information, see this doc.

@mhlidd mhlidd added type: enhancement Enhancements and improvements comp: telemetry Telemetry labels May 4, 2026
@mhlidd mhlidd marked this pull request as ready for review May 4, 2026 23:26
@mhlidd mhlidd requested review from a team as code owners May 4, 2026 23:26
@mhlidd mhlidd requested review from PerfectSlayer and mcculls and removed request for a team May 4, 2026 23:26
Copy link
Copy Markdown
Contributor

@PerfectSlayer PerfectSlayer left a comment

Choose a reason for hiding this comment

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

The behavior is looking good. I would improve readability as baggage propagator is already a complex piece.

I had some other readability comment for the testing part but I could not figure how to put it in GH suggestions, so I appended a commit: c09e52e. Feel free to read / edit / drop it to your liking. It was to reduce the stream API usage to make the case more readable by introducing some refactoring.

Comment thread dd-trace-core/src/main/java/datadog/trace/core/baggage/BaggagePropagator.java Outdated
Copy link
Copy Markdown
Contributor

@mcculls mcculls left a comment

Choose a reason for hiding this comment

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

Same suggestion as Bruce wrt. the limitReached refactoring

…Propagator.java

Co-authored-by: Bruce Bujon <PerfectSlayer@users.noreply.github.com>
@mhlidd mhlidd added this pull request to the merge queue May 5, 2026
@dd-octo-sts
Copy link
Copy Markdown
Contributor

dd-octo-sts Bot commented May 5, 2026

/merge

@gh-worker-devflow-routing-ef8351
Copy link
Copy Markdown

gh-worker-devflow-routing-ef8351 Bot commented May 5, 2026

View all feedbacks in Devflow UI.

2026-05-05 16:36:18 UTC ℹ️ Start processing command /merge
Use /merge -c to cancel this operation!


2026-05-05 16:36:23 UTC ℹ️ MergeQueue: pull request added to the queue

The expected merge time in master is approximately 2h (p90).

Use /merge -c to cancel this operation!


⏳ Processing

@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp: telemetry Telemetry type: enhancement Enhancements and improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants