How to do Structured Logging and Custom Metrics in your Serverless Applications?
HTML-код
- Опубликовано: 13 сен 2024
- Most of AWS services emit basic metrics to Cloudwatch. It is a good practice in distributed application to add additional metrics including business and operational ones to understand how the application is doing.
Structured logging means having a consistent log format and structure - so then we can query the logs easily. This is also related to a central logging system. It is important to have all your logs in one place, it can be Cloudwatch or any other 3rd Party system. I will be talking about cloudwatch logs as it is the one that comes with AWS, but there are many tools out there.
Embedded metric library is a an implementation of the Cloudwatch embedded metric format, that is available for many clients.
Code in Github: github.com/mav...
Embedded Metric Library for node: github.com/aws...
CloudWatch Alarms: • Monitor Cloud Applicat...
Well Architected Framework: • Best Practices for Arc...
Create Custom Metrics from Cloudformation: • Cloudwatch: Create cus...
#foobar #serverless
☁️ Topics covered include:
- AWS SAM
- Event-driven applications
- Amazon Cloudwatch
- serverless applications
- Monitoring
- observability
- Cloudwatch alarms
- Cloudwatch metrics
- Cloudwatch logs
⭐ SUBSCRIBE TO THIS CHANNEL: bit.ly/foobar-y...
⭐SHARE THIS VIDEO: • How to do Structured L...
☆☆ FOLLOW ME ONLINE ☆☆
🐦 Twitter: / mavi888uy
📺 AWS Spanish RUclips Channel: bit.ly/aws-esp-yt
📷 Instagram: foobar_codes
📚 All my Serverless Courses: marcia.dev/cou...
✍️ My blog - blog.marcia.dev
☆☆ ABOUT FOOBAR ☆☆
In this channel, you can find mostly coding tutorials related to cloud and serverless.
In addition, I like also talking about architecture, software design, motivation, and leadership.
There is a new video every Tuesday, so stay tuned :)
🎥 Recording equipment: blog.marcia.de...
📚 My favorite books: blog.marcia.de...
Cool stuff Marcia. Please keep going with your awesome videos!
thank you pretty lady , this was helpful.
interesting to have the logs and metrics easily
Everything this video shows didn't work for me until I turned on 'CloudWatch Lambda Insights', part of 'Enhanced Monitoring' config of the lambda function. Dunno why posting custom metrics would have to be tied to that.
great video, thanks!
Great content! Reading the documentation on embedded metrics did not help me at all, your video though just made it click.
Glad it helped!
Thank youuuu
your welcommeeeee
very useful ❤️
Glad you think so!