Skip to content

fix(tracing/botocore): fix incorrect context propagation type for SNS #3404

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 70 commits into from
Mar 22, 2022

Conversation

zARODz11z
Copy link
Contributor

@zARODz11z zARODz11z commented Mar 9, 2022

Making sure msg attributes are encoded by the tracer (by changing the Type) allows our lambda library to decode the message attribute and create inferred spans for sns and sqs.
Checkout this dd-lambda-python PR for more context.

Checklist

  • Added to the correct milestone.
  • Tests provided or description of manual testing performed is included in the code or PR.
  • Library documentation is updated.
  • Corp site documentation is updated (link to the PR).

@zARODz11z zARODz11z changed the title Change DataType to binary and Value to BinaryValue fix: Encode SNS as B64 Mar 10, 2022
@zARODz11z zARODz11z changed the title fix: Encode SNS as B64 fix: encode sns as b64 Mar 10, 2022
@zARODz11z
Copy link
Contributor Author

@zARODz11z zARODz11z marked this pull request as ready for review March 11, 2022 15:35
@zARODz11z zARODz11z requested a review from a team as a code owner March 11, 2022 15:35
@zARODz11z zARODz11z marked this pull request as draft March 11, 2022 16:16
@brettlangdon
Copy link
Member

riot run -s mypy check seems to be failing unrelated to my changes https://app.circleci.com/pipelines/github/DataDog/dd-trace-py/15330/workflows/9432100c-9088-47ba-b103-6f8c272cf13f/jobs/1060167/parallel-runs/0/steps/0-105

Try rebasing your branch. mypy released a new version today, but we already fixed in the repo

@brettlangdon brettlangdon changed the title fix: encode sns as b64 fox(tracing/botocore): fix incorrect context propagation type for SNS Mar 11, 2022
Copy link
Member

@brettlangdon brettlangdon left a comment

Choose a reason for hiding this comment

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

lgtm, if you can rebase from 1.x and mark the PR as ready!

@brettlangdon brettlangdon changed the title fox(tracing/botocore): fix incorrect context propagation type for SNS fix(tracing/botocore): fix incorrect context propagation type for SNS Mar 11, 2022
@zARODz11z zARODz11z requested a review from mabdinur March 22, 2022 12:53
@mergify mergify bot merged commit bd8e176 into 1.x Mar 22, 2022
@mergify mergify bot deleted the ar/sns-use-b64 branch March 22, 2022 13:57
mergify bot pushed a commit that referenced this pull request Mar 22, 2022
…#3404)

Making sure msg attributes are encoded by the tracer (by changing the Type) allows our lambda library to decode the message attribute and create inferred spans for sns and sqs.
Checkout this dd-lambda-python [PR](DataDog/datadog-lambda-python#211) for more context.
## Checklist
- [ ] Added to the correct milestone.
- [ ] Tests provided or description of manual testing performed is included in the code or PR.
- [ ] Library documentation is updated.
- [ ] [Corp site](https://github.com/DataDog/documentation/) documentation is updated (link to the PR).

(cherry picked from commit bd8e176)
@mergify
Copy link
Contributor

mergify bot commented Mar 22, 2022

backport 0.60

✅ Backports have been created

@mergify
Copy link
Contributor

mergify bot commented Mar 22, 2022

backport 0.58

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Mar 22, 2022
…#3404)

Making sure msg attributes are encoded by the tracer (by changing the Type) allows our lambda library to decode the message attribute and create inferred spans for sns and sqs.
Checkout this dd-lambda-python [PR](DataDog/datadog-lambda-python#211) for more context.
## Checklist
- [ ] Added to the correct milestone.
- [ ] Tests provided or description of manual testing performed is included in the code or PR.
- [ ] Library documentation is updated.
- [ ] [Corp site](https://github.com/DataDog/documentation/) documentation is updated (link to the PR).

(cherry picked from commit bd8e176)
mergify bot pushed a commit that referenced this pull request Mar 22, 2022
…#3404)

Making sure msg attributes are encoded by the tracer (by changing the Type) allows our lambda library to decode the message attribute and create inferred spans for sns and sqs.
Checkout this dd-lambda-python [PR](DataDog/datadog-lambda-python#211) for more context.
## Checklist
- [ ] Added to the correct milestone.
- [ ] Tests provided or description of manual testing performed is included in the code or PR.
- [ ] Library documentation is updated.
- [ ] [Corp site](https://github.com/DataDog/documentation/) documentation is updated (link to the PR).

(cherry picked from commit bd8e176)
mergify bot pushed a commit that referenced this pull request Mar 22, 2022
…#3404)

Making sure msg attributes are encoded by the tracer (by changing the Type) allows our lambda library to decode the message attribute and create inferred spans for sns and sqs.
Checkout this dd-lambda-python [PR](DataDog/datadog-lambda-python#211) for more context.
## Checklist
- [ ] Added to the correct milestone.
- [ ] Tests provided or description of manual testing performed is included in the code or PR.
- [ ] Library documentation is updated.
- [ ] [Corp site](https://github.com/DataDog/documentation/) documentation is updated (link to the PR).

(cherry picked from commit bd8e176)
@mergify
Copy link
Contributor

mergify bot commented Mar 22, 2022

backport 0.x 1.0

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Mar 22, 2022
…#3404)

Making sure msg attributes are encoded by the tracer (by changing the Type) allows our lambda library to decode the message attribute and create inferred spans for sns and sqs.
Checkout this dd-lambda-python [PR](DataDog/datadog-lambda-python#211) for more context.
## Checklist
- [ ] Added to the correct milestone.
- [ ] Tests provided or description of manual testing performed is included in the code or PR.
- [ ] Library documentation is updated.
- [ ] [Corp site](https://github.com/DataDog/documentation/) documentation is updated (link to the PR).

(cherry picked from commit bd8e176)
@mergify
Copy link
Contributor

mergify bot commented Mar 22, 2022

backport 0.59

✅ Backports have been created

mergify bot added a commit that referenced this pull request Mar 22, 2022
… (backport #3404) (#3464)

This is an automatic backport of pull request #3404 done by [Mergify](https://mergify.com).


---


<details>
<summary>Mergify commands and options</summary>

<br />

More conditions and actions can be found in the [documentation](https://docs.mergify.com/).

You can also trigger Mergify actions by commenting on this pull request:

- `@Mergifyio refresh` will re-evaluate the rules
- `@Mergifyio rebase` will rebase this PR on its base branch
- `@Mergifyio update` will merge the base branch into this PR
- `@Mergifyio backport <destination>` will backport this PR on `<destination>` branch

Additionally, on Mergify [dashboard](https://dashboard.mergify.com/) you can:

- look at your merge queues
- generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com
</details>
mergify bot added a commit that referenced this pull request Mar 22, 2022
… (backport #3404) (#3462)

This is an automatic backport of pull request #3404 done by [Mergify](https://mergify.com).


---


<details>
<summary>Mergify commands and options</summary>

<br />

More conditions and actions can be found in the [documentation](https://docs.mergify.com/).

You can also trigger Mergify actions by commenting on this pull request:

- `@Mergifyio refresh` will re-evaluate the rules
- `@Mergifyio rebase` will rebase this PR on its base branch
- `@Mergifyio update` will merge the base branch into this PR
- `@Mergifyio backport <destination>` will backport this PR on `<destination>` branch

Additionally, on Mergify [dashboard](https://dashboard.mergify.com/) you can:

- look at your merge queues
- generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com
</details>
mergify bot added a commit that referenced this pull request Mar 22, 2022
… (backport #3404) (#3466)

This is an automatic backport of pull request #3404 done by [Mergify](https://mergify.com).


---


<details>
<summary>Mergify commands and options</summary>

<br />

More conditions and actions can be found in the [documentation](https://docs.mergify.com/).

You can also trigger Mergify actions by commenting on this pull request:

- `@Mergifyio refresh` will re-evaluate the rules
- `@Mergifyio rebase` will rebase this PR on its base branch
- `@Mergifyio update` will merge the base branch into this PR
- `@Mergifyio backport <destination>` will backport this PR on `<destination>` branch

Additionally, on Mergify [dashboard](https://dashboard.mergify.com/) you can:

- look at your merge queues
- generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com
</details>
mergify bot added a commit that referenced this pull request Mar 22, 2022
… (backport #3404) (#3465)

This is an automatic backport of pull request #3404 done by [Mergify](https://mergify.com).


---


<details>
<summary>Mergify commands and options</summary>

<br />

More conditions and actions can be found in the [documentation](https://docs.mergify.com/).

You can also trigger Mergify actions by commenting on this pull request:

- `@Mergifyio refresh` will re-evaluate the rules
- `@Mergifyio rebase` will rebase this PR on its base branch
- `@Mergifyio update` will merge the base branch into this PR
- `@Mergifyio backport <destination>` will backport this PR on `<destination>` branch

Additionally, on Mergify [dashboard](https://dashboard.mergify.com/) you can:

- look at your merge queues
- generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com
</details>
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.

5 participants