{ "annotations": { "list": [ { "builtIn": 1, "datasource": "-- Grafana --", "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "type": "dashboard" }, { "datasource": "psql", "enable": true, "hide": false, "iconColor": "rgba(255, 96, 96, 1)", "limit": 100, "name": "Releases", "query": "SELECT title, description from annotations WHERE $timeFilter order by time asc", "rawQuery": "select extract(epoch from time) AS time, title as text, description as tags from sannotations where $__timeFilter(time)", "showIn": 0, "tagsColumn": "title,description", "textColumn": "", "titleColumn": "[[full_name]] release", "type": "alert" } ] }, "editable": true, "gnetId": null, "graphTooltip": 0, "id": 29, "iteration": 1571375143519, "links": [], "panels": [ { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "psql", "decimals": 2, "description": "Number of PRs", "fill": 5, "fillGradient": 0, "gridPos": { "h": 22, "w": 24, "x": 0, "y": 0 }, "id": 2, "legend": { "alignAsTable": true, "avg": true, "current": true, "max": true, "min": true, "rightSide": false, "show": true, "sort": "avg", "sortDesc": true, "total": true, "values": true }, "lines": true, "linewidth": 0, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": true, "steppedLine": true, "targets": [ { "alias": "Approved", "dsType": "influxdb", "groupBy": [], "measurement": "", "orderByTime": "ASC", "policy": "default", "query": "SELECT /^[[repogroup]]$/ FROM \"prs_approve_state_approved_[[period]]\" WHERE $timeFilter", "rawQuery": true, "rawSql": "select\n time,\n \"[[repogroup]]\" as \"Approved\"\nfrom\n spr_apprappr\nwhere\n $__timeFilter(time)\n and period = '[[period]]'\norder by\n time", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "value" ], "type": "field" } ] ], "tags": [] }, { "alias": "Awaiting approval", "dsType": "influxdb", "groupBy": [], "measurement": "", "orderByTime": "ASC", "policy": "default", "query": "SELECT /^[[repogroup]]$/ FROM \"prs_approve_state_awaiting_[[period]]\" WHERE $timeFilter", "rawQuery": true, "rawSql": "select\n time,\n \"[[repogroup]]\" as \"Awaiting approval\"\nfrom\n spr_apprwait\nwhere\n $__timeFilter(time)\n and period = '[[period]]'\norder by\n time", "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "value" ], "type": "field" } ] ], "tags": [] } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "PRs approved and awaiting approval ([[repogroup]], [[period]])", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": "Pull requests", "logBase": 1, "max": null, "min": "0", "show": true }, { "format": "short", "label": "", "logBase": 1, "max": null, "min": "0", "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "content": "${docs:raw}", "datasource": null, "gridPos": { "h": 11, "w": 24, "x": 0, "y": 22 }, "id": 11, "links": [], "mode": "html", "options": {}, "title": "Dashboard documentation", "type": "text" } ], "refresh": false, "schemaVersion": 20, "style": "dark", "tags": [ "dashboard", "cii" ], "templating": { "list": [ { "allValue": null, "current": { "text": "CII", "value": "CII" }, "datasource": "psql", "definition": "", "hide": 2, "includeAll": false, "label": null, "multi": false, "name": "full_name", "options": [], "query": "select value_s from gha_vars where name = 'full_name'", "refresh": 1, "regex": "", "skipUrlSync": true, "sort": 0, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": { "tags": [], "text": "7 Days MA", "value": "d7" }, "hide": 0, "includeAll": false, "label": "Period", "multi": false, "name": "period", "options": [ { "selected": true, "text": "7 Days MA", "value": "d7" }, { "selected": false, "text": "Week", "value": "w" }, { "selected": false, "text": "Month", "value": "m" }, { "selected": false, "text": "Quarter", "value": "q" }, { "selected": false, "text": "Year", "value": "y" } ], "query": "d,w,m,q,y", "skipUrlSync": false, "type": "custom" }, { "allValue": "", "current": { "tags": [], "text": "All", "value": "All" }, "datasource": "psql", "definition": "", "hide": 0, "includeAll": false, "label": "Repository group", "multi": false, "name": "repogroup_name", "options": [], "query": "select all_repo_group_name from tall_repo_groups order by 1", "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": "", "current": { "text": "all", "value": "all" }, "datasource": "psql", "definition": "", "hide": 2, "includeAll": false, "label": "", "multi": false, "name": "repogroup", "options": [], "query": "select all_repo_group_value from tall_repo_groups where all_repo_group_name = '[[repogroup_name]]'", "refresh": 1, "regex": "", "skipUrlSync": true, "sort": 0, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": { "text": "
Links:
\nprs_state
/approve
or /lgtm
comment.Links:
\nprs_state
/approve
or /lgtm
comment.