turbot/gitlab_insights

Query: open_merge_request_24_hours_count

Usage

powerpipe query gitlab_insights.query.open_merge_request_24_hours_count

SQL

select
'< 24 Hours' as label,
count(m.*) as value
from
gitlab_my_project p
join gitlab_merge_request m on m.project_id = p.id
where
m.state = 'opened'
and m.created_at > now() - '1 days'::interval;

Dashboards

The query is used in the dashboards: