Skip to content

jbleduigou/golang-serverless-blueprint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

golang-serverless-blueprint

This is a sample app that was built for the Brest AWS User Group Meetup of 1st of June 2022.
The purpose is to show how to improve the observability of a serverless application by having good logging in place.
In other words: How to move from an hello-world to a prod ready serverless application?.

image

Requirements

Steps for having great logs

1️⃣ Use a logging library: see commit
2️⃣ Configure logs as json: see commit
3️⃣ Log aws request id: see commit
4️⃣ Use structured logging: see commit
5️⃣ Enable access logs for API GW: see commit
6️⃣ Optimize cost by:
  ‣ Define retention period for log groups: see commit
  ‣ Use specific log level per env: see commit

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published