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.2.1.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

serverless_aws_lambda_sdk-0.2.1-py3-none-any.whl (23.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for serverless-aws-lambda-sdk-0.2.1.tar.gz
Algorithm Hash digest
SHA256 29595b41221e14e52ee6571d9adb81214256cf0fddfd487e3f86393694d2e9dd
MD5 3801533eb4ccc66a38a8aaba66e47599
BLAKE2b-256 69df86034d9b31315e1c36842871d3b97dac60a3c872b65db20adfd36cd7bdaf

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for serverless_aws_lambda_sdk-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fd7c998c6824bdef896928ae6dfc0b1a56d0363a3c9f50148fd99e68e3b0fbc9
MD5 3775c0363f08ea5410219cf1a55e9b69
BLAKE2b-256 4efcf00d1697513385d17fdca0bd5cc4f6afe6aed18bd00cb9d24d5d75818b81

See more details on using hashes here.

Provenance

Supported by

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