Werk #17773 · May 23, 25
aws_lambda_performance: Handle missing invocation metrics gracefully
The aws_lambda_performance check now handles cases where the values for the "Invocations" metric are missing. Previously, missing invocation data would cause parsing errors, such as:
TypeError (LambdaCloudwatchMetrics.__init__() missing 1 required positional argument: 'Invocations')
With this change, the check treats missing values as zero, ensuring that the check output remains consistent and does not fail when AWS does not report invocation metrics for unused Lambda functions.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Checks
- Versions:
- 2.5.0b1All Editions
- 2.4.0p3All Editions
- 2.3.0p34CommunityProUltimateUltimate + MT