How to do Structured Logging and Custom Metrics in your Serverless Applications?

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ก.ย. 2021
  • 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/mavi888/sam-observ...
    Embedded Metric Library for node: github.com/awslabs/aws-embedd...
    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-youtube
    ⭐SHARE THIS VIDEO: • How to do Structured L...
    ☆☆ FOLLOW ME ONLINE ☆☆
    🐦 Twitter: / mavi888uy
    📺 AWS Spanish TH-cam Channel: bit.ly/aws-esp-yt
    📷 Instagram: foobar_codes
    📚 All my Serverless Courses: marcia.dev/courses/
    ✍️ 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.dev/my-recording-...
    📚 My favorite books: blog.marcia.dev/my-books-reco...
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 11

  • @yoanpacheco1708
    @yoanpacheco1708 2 ปีที่แล้ว +2

    Cool stuff Marcia. Please keep going with your awesome videos!

  • @charlygomez4051
    @charlygomez4051 2 ปีที่แล้ว +1

    great video, thanks!

  • @ferralucho
    @ferralucho 2 ปีที่แล้ว +1

    interesting to have the logs and metrics easily

  • @geekthegeek730
    @geekthegeek730 2 ปีที่แล้ว

    very useful ❤️

  • @adriangrajdeanu6051
    @adriangrajdeanu6051 2 ปีที่แล้ว

    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.

  • @MK-ef9iu
    @MK-ef9iu 2 ปีที่แล้ว +1

    Thank youuuu

  • @jacobbrink6059
    @jacobbrink6059 ปีที่แล้ว +1

    Great content! Reading the documentation on embedded metrics did not help me at all, your video though just made it click.