Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/danilop/cloudconf2023-observability-demo
- Owner: danilop
- License: apache-2.0
- Created: 2023-05-14T16:35:44.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-05-14T16:41:44.000Z (over 1 year ago)
- Last Synced: 2024-10-29T18:32:54.892Z (3 months ago)
- Language: Python
- Size: 15.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 permissionsAdd 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.