Django-Xray Tracing Setup
Install aws-xray-sdk
Add Middleware
in settings.py, add below line at the top of MIDDLEWARE's list
Configure Xray
Add the below config in settings.py
Tracing For specific methods:
Enable Xray Tracing at Lambda Function Level
To enable xray tracing in lambda, you can update zappa_settings.json, set xray_tracing with value
true
Or You can enable it manually in Lambda Function -> Configuration Tab -> Monitoring and operations tools -> AWS X-Ray (Active tracing)
Pricing
$5 per 1 Million Traces.
Last updated