turbot/gitlab_insights

Query: branch_1_year_count

Usage

powerpipe query gitlab_insights.query.branch_1_year_count

SQL

select
'> 1 Year' 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 <= now() - '1 year' :: interval;

Dashboards

The query is used in the dashboards: