Cameronsplaze / Cameronsplaze/AWS-ContainerManager
[Feature] AWS x-ray tracing, for Observability
- Dominant language
- Python
- Stars
- 2
- Forks
- 0
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 5
Description
### Is your feature request related to a problem? Please describe.
Have a dashboard that lets you see the request move through the stack. Useful for debugging, and testing to see if nothing broke.
This is technically blocked by https://github.com/Cameronsplaze/AWS-ContainerManager/issues/4, since adding xray to lambda is a single line in powertools. (Just always have that line there, and you can enable/disable it in the cdk lambda construct props).
### Describe the solution you'd like
- Requests through lambdas (boto3 spins up/down ASG) gets traced.
- ASG spinning up, triggering ASG-StateChange Lambda gets traced too.
- Entire x-ray part can be enabled/disabled inside of leaf config. (Might be free-tier, but just-in-case).
- See if there's an x-ray widget that needs to be added to the dashboard.
### Describe alternatives you've considered
Just leave it as is. This would be nice to have, but isn't in any way a priority.
### Acknowledgements
- [x] I may be able to implement this feature request
- [ ] This feature might incur a breaking change
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the dependency on issue #4 and review how the Lambda and ASG-StateChange Lambda are configured. Determine how AWS X-Ray tracing and the dashboard widget should be enabled or disabled through the leaf configuration, then verify that requests and ASG startup flows are traced without enabling the feature by default.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, python
- Domain
- cloud, infrastructure, observability
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100