Skip to content

Conversation

@steffyP
Copy link
Member

@steffyP steffyP commented Nov 15, 2023

Motivation

While testing the pro-samples we found that lambda is not reporting the Errors metrics anymore.
The metric should be reported when a lambda invocation fails.

We didn't have integration tests for lambda metrics yet, so I added those now.
/cc @joe4dev

Changes

  • added aws-validated tests
  • skipping test_lambda_invoke_error for LS as it is currently not working -> this should be fixed 🙂

@steffyP steffyP added the semver: patch Non-breaking changes which can be included in patch releases label Nov 15, 2023
@steffyP steffyP added this to the 3.1 milestone Nov 15, 2023
@steffyP steffyP changed the title add cw tests for lambda INVOCATIONS and ERRORS metrics add cw tests for lambda Invocations and Errors metrics Nov 15, 2023
@steffyP steffyP force-pushed the lambda-metric-reporting branch from 8316dd2 to 9fbef24 Compare November 20, 2023 13:18
@coveralls
Copy link

Coverage Status

coverage: 84.001% (-0.01%) from 84.013%
when pulling 9fbef24 on lambda-metric-reporting
into 177773b on master.

@github-actions
Copy link

LocalStack Community integration with Pro

       2 files         2 suites   1h 5m 19s ⏱️
2 330 tests 2 030 ✔️ 300 💤 0
2 331 runs  2 030 ✔️ 301 💤 0

Results for commit 9fbef24.

@steffyP steffyP marked this pull request as ready for review November 20, 2023 13:59
@steffyP steffyP requested a review from silv-io as a code owner November 20, 2023 13:59
@steffyP steffyP requested review from baermat, bentsku and joe4dev and removed request for silv-io November 20, 2023 13:59
Copy link
Contributor

@bentsku bentsku left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Nice tests, clean and fast 🚀 thanks a lot for adding those, will make it easier to implement the fix 👍

@steffyP steffyP merged commit 3e32b43 into master Nov 20, 2023
@steffyP steffyP deleted the lambda-metric-reporting branch November 20, 2023 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver: patch Non-breaking changes which can be included in patch releases

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants