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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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