July 2018
Intermediate to advanced
324 pages
8h 14m
English
Zappa is always here to avoid manual interactions in order to configure your Lambda function. Hence, Zappa provides an easy way to configure the AWS X-Ray with your Lambda function. You just need to set "xray_tracing" to true in your Zappa settings. This will automatically enable the X-Ray tracing support for your Lambda function.
Let's create another stage of our existing API application. This stage will have a basic configuration without authentication and a custom domain, since we just want to demonstrate the X-Ray workflow. The following is the new stage configuration with X-Ray support.
File—zappa_settings.json:
{ ... "dev_xray": { "app_function": "resources.api", "profile_name": "default", ...Read now
Unlock full access