Skip to content
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

Send tracestate with w3c headers by default #550

Merged

Conversation

louiszawadzki
Copy link
Contributor

What does this PR do?

  • Send w3c headers by default
  • Send tracestate header with w3c headers

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests
  • Make sure you discussed the feature or bugfix with the maintaining team in an Issue
  • Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)
  • If this PR is auto-generated, please make sure also to manually update the code related to the change

@louiszawadzki louiszawadzki requested a review from a team as a code owner November 6, 2023 16:29
@louiszawadzki
Copy link
Contributor Author

louiszawadzki commented Nov 6, 2023

Printed headers from a httpbin call (not sampled/sampled):
image
image

Copy link

@ganeshnj ganeshnj 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, just a minor comment on test.

isSampled:
tracingAttributes.samplingPriorityHeader === '1'
})
}
Copy link

Choose a reason for hiding this comment

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

Like I have been asking everyone, can you make sure that data in the datadog headers is same as tracecontext headers?

A test on it would be much appreciated if these isn't one.

@louiszawadzki louiszawadzki force-pushed the louiszawadzki/rum-1926/send-tracestate-with-w3c-headers branch from 47c7fbd to da4aec7 Compare November 7, 2023 09:40
@louiszawadzki louiszawadzki force-pushed the louiszawadzki/rum-1926/send-tracestate-with-w3c-headers branch from da4aec7 to 6608975 Compare November 7, 2023 09:41
@louiszawadzki louiszawadzki merged commit a06020c into develop Nov 7, 2023
4 checks passed
@louiszawadzki louiszawadzki deleted the louiszawadzki/rum-1926/send-tracestate-with-w3c-headers branch November 7, 2023 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants