spcl / spcl/serverless-benchmarks

Downloading CloudWatch metrics

Open
#234 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

aws enhancement good first issue
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.