DataDog / datadog-lambda-python

The Datadog AWS Lambda Layer for Python
https://docs.datadoghq.com/integrations/amazon_lambda/#installing-and-using-the-datadog-layer
Apache License 2.0
88 stars 46 forks source link

feat: [SVLS-5765] use DD_BOTOCORE_ADD_SPAN_POINTERS #531

Closed apiarian-datadog closed 1 month ago

apiarian-datadog commented 1 month ago

What does this PR do?

Respect the DD_BOTOCORE_ADD_SPAN_POINTERS environment variable that is also used by dd-trace-py to opt out of automatic botocore span pointers.

Testing Guidelines

Unit tests. Also confirmed that this works as expected in a live test lambda setup.

Types of Changes

Check all that apply