We're now GA with four utilities
🌟Core: Tracer, Logger, and Metrics
🌟Bring your own middleware
Core contributors: @Tom_McC @NMoutschen
More details in this 🧵
#serverless #aws #python
github.com/awslabs/aws-la…
That preceded the work we've been doing with the AWS Well-Architected Serverless Lens since 201, however there was to it than patterns..
That was the hook for the Serverless Lens that came later
aws.amazon.com/blogs/aws/new-…
And finalized by going through the initial version of the Powertools that's now GA
github.com/aws-samples/aw…
A thin abstraction of AWS X-Ray SDK that would encapsulate some common practices
1. Add a Cold start annotation
2. Capture both sync and async methods
3. Add function return and exceptions as metadata
awslabs.github.io/aws-lambda-pow…
There's a lot of setup to get a good structured logging for Python functions - Well, there was
Logger also handles cold start as a key, appending additional keys, logging structured exceptions, sampling etc.
awslabs.github.io/aws-lambda-pow…
Creating metrics asynchronously wasn't an easy task until CloudWatch Embedded Metric Format came out.
We took that, and made it easier to use, capture cold start, and validation against common mistakes.
awslabs.github.io/aws-lambda-pow…
For that we created a GA Checklist, where we also documented all open source repo management automation that I learned by asking many of you
github.com/awslabs/aws-la…
That triggered this discussion in which you can partake <3
github.com/awslabs/aws-la…
There's tons I wish we had included before GA, but we'd like to hear from you in that RFC what would make your Serverless dev life easier....
and obviously the inevitable question
What other runtime you'd like this to be?
Thank you <3