Using highlight.io with Python on AWS Lambda
Make sure that you followed the fullstack mapping guide.
Download the package from pypi and save it to your requirements. If you use a zip or s3 file upload to publish your function, you will want to make sure
highlight-io is part of the build.
Setup the SDK. Add the
@observe_handler decorator to your lambdas.
Check that your installation is valid by throwing an error. Add an operation that raises an exception to your lambda handler. Setup an HTTP trigger and visit your lambda on the internet. You should see a
DivideByZero error in the Highlight errors page within a few moments.
With the Python SDK, your logs are reported automatically from builtin logging methods. See the Python logging setup guide for more details.