Skip to content

lapozzo/aws-cloudwatch-emf-golang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Introduction

Simple AWS Lambda using Embedded Metrics Format in Golang

For EMF with Golang, I used the aws-embedded-metrics-golang library

Requirements

  • aws-cli/2.0.56
  • Golang 1.17
  • aws sam cli 1.15.0

Start Environment

1 Deploy the lambda:

cd sum-app
make deploy

2 Test

2.1. Unit Test

cd sum-app
make test

2.2. Local Test with SAM

cd sum-app
make invoke

2.3 Execute the Lambda via Console

3 Validate

  1. Browse cloudwatch metrics, custom namespace LambdaExtra

About

Simple AWS Lambda using Embedded Metrics Format in Golang

Topics

Resources

Stars

Watchers

Forks