turbot/gitlab_insights

Query: branch_90_365_days_count

Usage

powerpipe query gitlab_insights.query.branch_90_365_days_count

SQL

select
'90-365 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() - '90 days' :: interval
and now() - '365 days' :: interval;

Dashboards

The query is used in the dashboards: