turbot/steampipe-mod-github-insights

Dashboard: GitHub Open Issue Age Report

This report answers the following questions:

  • How old are open issues on specified repositories?
  • When were open issues last updated on specified repositories?
This dashboard contains 6 cards and 1 table.

Usage

Install the mod:

mkdir dashboards
cd dashboards
powerpipe mod init
powerpipe mod install github.com/turbot/steampipe-mod-github-insights

Start the Powerpipe server:

steampipe service start
powerpipe server

Open http://localhost:9033 in your browser and select GitHub Open Issue Age Report dashboard.

You could also snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe dashboard run github_insights.dashboard.issue_open_age_report --share

Queries

This dashboard uses the the following queries:
select
'> 1 Year' as label,
count(i.*) as value
from
github_my_repository r
join github_issue i on i.repository_full_name = r.name_with_owner
where
i.state = 'OPEN'
and i.created_at <= now() - '1 year' :: interval;

Tags