turbot/guardrails_insights

Query: guardrails_control_error_between_1_30_days

Usage

powerpipe query guardrails_insights.query.guardrails_control_error_between_1_30_days

Steampipe Tables

SQL

with between_1_30_days as
(
select
now()::date - update_timestamp::date as days
from
guardrails_control
where
update_timestamp between symmetric now() - '1 days' :: interval and now() - '30 days' :: interval
and state = 'error'
)
select
count(*) as value,
'1-30 Days' as label
from
between_1_30_days;

Dashboards

The query is used in the dashboards: