Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/danilop/cloudconf2023-observability-demo

Code used in my CloudConf 2023 keynote – From complexity to observability using OpenTelemetry
https://github.com/danilop/cloudconf2023-observability-demo

Last synced: about 1 month ago
JSON representation

Code used in my CloudConf 2023 keynote – From complexity to observability using OpenTelemetry

Awesome Lists containing this project

README

        

# From complexity to observability using OpenTelemetry
Code used in my CloudConf 2023 keynote – From complexity to observability using OpenTelemetry

## Role

Create a role using:
- Role/trust.json for the trust relationships
- Role/policy.json for permissions

Add these managed policies the the permissions:
- AWSXRayDaemonWriteAccess
- AmazonPrometheusRemoteWriteAccess

## Container images

The container image for the Lambda function is built for the arm64 architecture.
The other container images are multi-arch and support both amd64 and arm64.

## AppRunner

Create two services, one using the guess-the-number-auto container image, one using the guess-the-number-manual image. For both, enable Observability (Tracing with AWS X-Ray) in the Service settings.

## ECS

Create a service using the guess-the-number-manual image. Add observability using the console as described in this blog post:
https://aws.amazon.com/blogs/opensource/simplifying-amazon-ecs-monitoring-set-up-with-aws-distro-for-opentelemetry/

## Lambda

Create an arm64 function using the guess-the-number-manual-lambda ontainer image.
Create a function using the AWS SAM CLI and the app in the GuessTheNumber-SAM directory.