turbot/gitlab_insights

Query: open_merge_request_count

Usage

powerpipe query gitlab_insights.query.open_merge_request_count

SQL

select
count(m.*) as value,
'Open Merge Requests' as label
from
gitlab_my_project p
join gitlab_merge_request m on m.project_id = p.id
where
m.state = 'opened';

Dashboards

The query is used in the dashboards: