spcl / spcl/serverless-benchmarks
Downloading CloudWatch metrics
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 199
- Forks
- 105
- PR merge metrics
- No merged PRs in 30d
Description
Currently, we query CloudWatch metrics to get all execution statistics. However, this struggles to return all results if we do many concurrent invocations - we get 90-95% invocations instead. We want to investigate the source of the issue.
Alternatively, we can try a different method that works and always returns 100% of invocations - export CloudWatch metrics to S3, download them and parse manually. We have code for that in a different project.
This can be related to issue #42
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the CloudWatch metrics query used for execution statistics and compare the symptoms with issue #42. The alternative approach is described in spcl/cppless-artifact/tools/log_query; determine whether the current query can reliably return all invocations or whether exporting metrics to S3 and parsing them is required. Done means identifying the source of the missing results or documenting a working complete-download approach.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, python
- Domain
- cloud, observability
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100