aws / aws-xray-sdk-python

AWS X-Ray SDK for the Python programming language
Apache License 2.0
329 stars 143 forks source link

Support for FastAPI #270

Open tedivm opened 3 years ago

tedivm commented 3 years ago

FastAPI is becoming really popular for python projects, particularly when distributed services (it's great for microservices). It would be great to have support for it baked right in.

bhautikpip commented 3 years ago

Hi @tedivm ,

Thanks for opening this issue. I will mark this as a feature request to support for X-Ray SDK. However, You can now instruments your FastAPI application using Open Telemetry Python SDK and sends data to X-Ray service.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs in next 7 days. Thank you for your contributions.

tibbe commented 2 years ago

@bhautikpip could we have some docs for how to make the Open Telemetry Python SDK work together with X-Ray. It's not quite clear. Thanks!

NathanielRN commented 2 years ago

Hey @tibbe!

Sorry for the late reply, we have official AWS Distro for OpenTelemetry (ADOT) Docs for OTel Python + X-Ray. The documentation is generated from our https://github.com/aws-otel/aws-otel.github.io repo and is written by the OpenTelemetry developers themselves. From that doc, you'll notice we have completes sample apps for a Flask app using OTel with X-Ray.

Please let me know if you have any questions!

smrutiranjantripathy commented 11 months ago

Lab to Demonstrate Fast API Instrumentation using ADOT on EKS https://developers.eksworkshop.com/docs/eks/python/aws-otel-instrumentation/

VenkataKompally commented 2 months ago

Hi @smrutiranjantripathy,

https://developers.eksworkshop.com/docs/eks/python/aws-otel-instrumentation/ says page not found. Can you let us know if there is another URL?

Thanks!

VenkataKompally commented 2 months ago

Hi @smrutiranjantripathy,

https://developers.eksworkshop.com/docs/eks/python/aws-otel-instrumentation/ says page not found. Can you let us know if there is another URL?

Thanks!

I found the corrected URL: https://developers.eksworkshop.com/docs/python/eks/aws-otel-instrumentation