Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

serverless-aws-lambda-sdk-0.3.3.tar.gz (17.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

serverless_aws_lambda_sdk-0.3.3-py3-none-any.whl (23.6 kB view details)

Uploaded Python 3

File details

Details for the file serverless-aws-lambda-sdk-0.3.3.tar.gz.

File metadata

File hashes

Hashes for serverless-aws-lambda-sdk-0.3.3.tar.gz
Algorithm Hash digest
SHA256 143969feb4326c917d299185bfa208ab9f7f681454fd3dc0571b2808710eee04
MD5 0123fe3f9c95981b0927e05f9d4531c2
BLAKE2b-256 54f2ed4b3a3f389c687856178e03c3c32b3fffc631a3f64285e13bb782ec8cc3

See more details on using hashes here.

File details

Details for the file serverless_aws_lambda_sdk-0.3.3-py3-none-any.whl.

File metadata

File hashes

Hashes for serverless_aws_lambda_sdk-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 09f0b73de7cf3c22bcd844b0f758007480a0dee95443fbf5b37e66c1d7c30323
MD5 4411186d072a4141bfee2b0e830fa9c5
BLAKE2b-256 6e1ff156779386c51a59556f80b676572b2d637232b3ebe628dd288d500ba486

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page