Serverless AWS Lambda SDK for Python
Project description
serverless-aws-lambda-sdk
AWS Lambda Serverless Console SDK for Python
Instruments AWS Lambda functions, propagates traces to the Serverless Console and exposes Serverless SDK to the function logic.
Setup
1. Register with Serverless Console
2. In Serverless Console turn on integration for your AWS account and chosen Lambdas
3. (optionally) Fine tune default instrumentation behavior with following options
SLS_DISABLE_HTTP_MONITORING
(or disable_http_monitoring
)
Disable tracing of HTTP and HTTPS requests
SLS_DISABLE_REQUEST_RESPONSE_MONITORING
(or disable_request_response_monitoring
)
(Dev mode only) Disable monitoring requests and reponses (function, AWS SDK requests and HTTP(S) requests)
SLS_DISABLE_AWS_SDK_MONITORING
(or disable_aws_sdk_monitoring
)
Disable automated AWS SDK monitoring
SLS_DISABLE_FLASK_MONITORING
(or disable_flask_monitoring
)
Disable automated flask monitoring
Instrumentation
AWS Lambda SDK automatically creates aws.lambda
, aws.lambda.initialization
and aws.lambda.invocation
trace spans.
For more details see SDK Trace spans documentation
Additionally automatic instrumentation (with caveats) is provided for:
SDK API
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for serverless-aws-lambda-sdk-0.2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29595b41221e14e52ee6571d9adb81214256cf0fddfd487e3f86393694d2e9dd |
|
MD5 | 3801533eb4ccc66a38a8aaba66e47599 |
|
BLAKE2b-256 | 69df86034d9b31315e1c36842871d3b97dac60a3c872b65db20adfd36cd7bdaf |
Close
Hashes for serverless_aws_lambda_sdk-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd7c998c6824bdef896928ae6dfc0b1a56d0363a3c9f50148fd99e68e3b0fbc9 |
|
MD5 | 3775c0363f08ea5410219cf1a55e9b69 |
|
BLAKE2b-256 | 4efcf00d1697513385d17fdca0bd5cc4f6afe6aed18bd00cb9d24d5d75818b81 |