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

Add x-datadog-origin header only when instrumenting with datadog tracing #1107

Merged
merged 1 commit into from
Dec 30, 2022

Conversation

maciejburda
Copy link
Member

What and why?

Clean up after adding additional tracing headers. This PR changes when x-datadog-origin: rum header is added to the request.

How?

Simply moves the field addition to .datadog case only. Also changed the dictionary to tuple, since it was used only for this special case.

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

Custom CI job configuration (optional)

  • Run unit tests
  • Run integration tests
  • Run smoke tests

@maciejburda maciejburda requested a review from plousada December 29, 2022 10:35
@maciejburda maciejburda requested a review from a team as a code owner December 29, 2022 10:35
@datadog-datadog-prod-us1
Copy link

datadog-datadog-prod-us1 bot commented Dec 29, 2022

Datadog Report

Branch report: maciey/clean-up-tracing-origin
Commit report: ec36928

dd-sdk-ios 0 Failed, 0 New Flaky, 34 Passed, 0 Skipped, 3m 11.29s Wall Time

@maciejburda maciejburda merged commit 218e2a2 into develop Dec 30, 2022
@maciejburda maciejburda deleted the maciey/clean-up-tracing-origin branch December 30, 2022 10:50
This was referenced Jan 18, 2023
@maxep maxep mentioned this pull request Jan 23, 2023
6 tasks
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