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

Feature: Support tracing for async functions #11

Closed
heitorlessa opened this issue Mar 25, 2020 · 1 comment
Closed

Feature: Support tracing for async functions #11

heitorlessa opened this issue Mar 25, 2020 · 1 comment
Assignees

Comments

@heitorlessa
Copy link
Contributor

Background

Issue, if applicable: aws-powertools/powertools-lambda#10

As of now, Tracer doesn't support async functions, meaning that any method or library (aioboto3) that makes use of the event loop won't be traced properly.

Implementation

Investigation needed - X-Ray SDK supports async function by introducing async context: https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-python-patching.html#xray-sdk-python-patching-async

@heitorlessa
Copy link
Contributor Author

Released on 0.9.1 version

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

No branches or pull requests

1 participant