turbot/gitlab_insights

Query: branch_30_days_count

Usage

powerpipe query gitlab_insights.query.branch_30_days_count

SQL

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

Dashboards

The query is used in the dashboards: