Sparta-based application that demonstrates how to add
pprof support to your lambda application.
See the profiling documentation for complete details.
The Sparta target performs snapshoting and posting to S3. These snapshots are then visualized via the
profile option of your application.
This target uses the Google Stackdriver profiler to send snapshots of your lambda functions to Stackdriver for visualization. It also creates a Lambda function that subscribes to the logs of the primary load generation function (
helloWorld). The subscription is mediated by a Kinesis stream and the records are delivered to StackDriver logs.
See Centralised logging for AWS Lambda for other options for centralizing your lambda function logs.