## AWS Lambda [Serverless Console](https://www.serverless.com/console) SDK
npm install @serverless/aws-lambda-sdkInstruments AWS Lambda functions, propagates traces to the Serverless Console and exposes Serverless SDK to function logic
#### 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 options.disableHttpMonitoring)
Disable tracing of HTTP and HTTPS requests
##### SLS_DISABLE_REQUEST_RESPONSE_MONITORING (or options.disableRequestResponseMonitoring)
(Dev mode only) Disable monitoring requests and reponses (function, AWS SDK requests and HTTP(S) requests)
##### SLS_DISABLE_AWS_SDK_MONITORING (or options.disableAwsSdkMonitoring)
Disable automated AWS SDK monitoring
##### SLS_DISABLE_EXPRESS_MONITORING (or options.disableExpressMonitoring)
Disable automated express monitoring
##### SLS_DISABLE_TRACE_SAMPLING (or options.disableTraceSampling)
Disable automatic trace sampling
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:
- HTTP(s) requests
- express app
- AWS SDK requests