Skip to content

Sample Sparta application showing how to use pprof to profile AWS Lambda code

Notifications You must be signed in to change notification settings

mweagle/SpartaPProf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpartaPProf

Sparta-based application that demonstrates how to add pprof support to your lambda application.

See the profiling documentation for complete details.

Sparta Target

make spartaPProf

The Sparta target performs snapshoting and posting to S3. These snapshots are then visualized via the profile option of your application.

Google Target

make googlePProf

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.

About

Sample Sparta application showing how to use pprof to profile AWS Lambda code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages