Skip to content

megaproaktiv/xraystarter

Repository files navigation

Start XRay with lambda TypeScript/Python/Go

This code is explained in a blog post

  1. Launch docker

task colima

  1. CDK bootstrap if not yet bootstrapped

task boostrap

  1. Deploy

task deploy

  1. Generate traffic

task traffic

  1. Open Cloudwatch/XRay

E.g.:

open https://eu-central-1.console.aws.amazon.com/cloudwatch/home?region=eu-central-1#xray:service-map/map

Install task.dev

See # https://taskfile.dev

Docker error

"pull access denied for public.ecr.aws/sam/build-nodejs16.x"

=> docker logout public.ecr.aws