Skip to content

Sending traces to jaeger with AWS lambda using the ADOT - AWS Distro for OpenTelemetry

License

Notifications You must be signed in to change notification settings

megaproaktiv/adot-otelstarter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open Telemetry with Lambda

  • Using adot

Structure

app

The lambda application

Infra

The Lambda infrastructure

Test

Overall test

jaeger

Jaeger server

See the blog post for details:

Walktrough

  1. Clone repository
git clone https://github.com/megaproaktiv/adot-otelstarter.git
  1. Set region export AWS_REGION=yourregion, e.g.
  export AWS_REGION=eu-central-1
  1. If CDK is not bootstrapped:
  task bootstrap
  1. Create VPC
  task jaeger:deploy-vpc
  1. Set Domain and Service configuration

Edit jaeger/cluster.go:

  var SERVICE_NAME = "jaeger"
  var NAMESPACE = "otel.letsbuild-aws.com"
  var HOSTED_ZONE_ID = "Z042035555KH99T9LFKK6"
  var DNS_NAME = "service.letsbuild-aws.com"
  1. Create ECS cluster with jaeger service
  task jaeger:deploy-jaeger
  1. Deploy Lambda Resources and function
  task deploy

Note: because of the ENI this could take a few minutes

  1. Create Traffic
  ./test/traffic.sh

Now access the jaeger UI via the ALB ip or with the configured domain.

About

Sending traces to jaeger with AWS lambda using the ADOT - AWS Distro for OpenTelemetry

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published