turbot/gitlab_insights

Query: branch_30_90_days_count

Usage

powerpipe query gitlab_insights.query.branch_30_90_days_count

SQL

select
'30-90 Days' as label,
count(b.*) as value
from
gitlab_branch b
where
b.project_id in (
select
id
from
gitlab_my_project
)
and b.commit_date between symmetric now() - '30 days' :: interval and now() - '90 days' :: interval;

Dashboards

The query is used in the dashboards: