turbot/gitlab_insights

Query: branch_24_hours_count

Usage

powerpipe query gitlab_insights.query.branch_24_hours_count

SQL

select
'< 24 Hours' 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 days' :: interval;

Dashboards

The query is used in the dashboards: