turbot/aws_insights

Query: lambda_high_error_rate

Usage

powerpipe query aws_insights.query.lambda_high_error_rate

SQL

with error_rates as (
select
errors.name as name,
sum(errors.sum)/sum(invocations.sum)*100 as error_rate
from
aws_lambda_function_metric_errors_daily as errors , aws_lambda_function_metric_invocations_daily as invocations
where
errors.name = invocations.name
group by
errors.name
)
select
name,
error_rate
from
error_rates
where error_rate >= 10;

Dashboards

The query is used in the dashboards: