{ "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": 2, "iteration": 1529597626715, "links": [], "panels": [ { "aliasColors": {}, "bars": true, "dashLength": 10, "dashes": false, "datasource": "psql", "decimals": null, "description": "[[full_name]] commits in given repository group", "fill": 3, "gridPos": { "h": 21, "w": 24, "x": 0, "y": 0 }, "id": 2, "legend": { "alignAsTable": true, "avg": true, "current": true, "max": true, "min": true, "rightSide": true, "show": true, "sort": "total", "sortDesc": true, "total": true, "values": true }, "lines": false, "linewidth": 0, "links": [], "nullPointMode": "null as zero", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": true, "steppedLine": true, "targets": [ { "alias": "", "dsType": "influxdb", "format": "time_series", "groupBy": [], "measurement": "notused", "orderByTime": "ASC", "policy": "default", "query": "SELECT /^[[repogroups]]$/ FROM \"repo_group_commits_[[period]]\" WHERE $timeFilter", "rawQuery": true, "rawSql": "select\n time,\n ${repogroups:csv}\nfrom\n scommits\nwhere\n $__timeFilter(time)\n and period = '[[period]]'\norder by\n time", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "value" ], "type": "field" } ] ], "tags": [] } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "[[full_name]] commits in repository groups ([[repogroups]], [[period]])", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "decimals": null, "format": "short", "label": "Commits", "logBase": 1, "max": null, "min": "0", "show": true }, { "format": "short", "label": "", "logBase": 1, "max": null, "min": "0", "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "psql", "decimals": null, "description": "[[full_name]] commits in given repository group", "fill": 3, "gridPos": { "h": 21, "w": 24, "x": 0, "y": 21 }, "id": 4, "legend": { "alignAsTable": true, "avg": true, "current": true, "max": true, "min": true, "rightSide": true, "show": true, "sort": "total", "sortDesc": true, "total": true, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "alias": "", "dsType": "influxdb", "format": "time_series", "groupBy": [], "measurement": "notused", "orderByTime": "ASC", "policy": "default", "query": "SELECT /^[[repogroups]]$/ FROM \"repo_group_commits_[[period]]\" WHERE $timeFilter", "rawQuery": true, "rawSql": "select\n time,\n ${repogroups:csv}\nfrom\n scommits\nwhere\n $__timeFilter(time)\n and period = '[[period]]'\norder by\n time", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "value" ], "type": "field" } ] ], "tags": [] } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "[[full_name]] commits in repository groups ([[repogroups]], [[period]])", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "decimals": null, "format": "short", "label": "Commits", "logBase": 1, "max": null, "min": "0", "show": true }, { "format": "short", "label": "", "logBase": 1, "max": null, "min": "0", "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": true, "dashLength": 10, "dashes": false, "datasource": "psql", "decimals": null, "description": "[[full_name]] commits in given repository group", "fill": 3, "gridPos": { "h": 21, "w": 24, "x": 0, "y": 42 }, "id": 3, "legend": { "alignAsTable": true, "avg": true, "current": true, "max": true, "min": true, "rightSide": true, "show": true, "sort": "total", "sortDesc": true, "total": true, "values": true }, "lines": false, "linewidth": 0, "links": [], "nullPointMode": "null as zero", "percentage": true, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": true, "steppedLine": true, "targets": [ { "alias": "", "dsType": "influxdb", "format": "time_series", "groupBy": [], "measurement": "notused", "orderByTime": "ASC", "policy": "default", "query": "SELECT /^[[repogroups]]$/ FROM \"repo_group_commits_[[period]]\" WHERE $timeFilter", "rawQuery": true, "rawSql": "select\n time,\n ${repogroups:csv}\nfrom\n scommits\nwhere\n $__timeFilter(time)\n and period = '[[period]]'\norder by\n time", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "value" ], "type": "field" } ] ], "tags": [] } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "[[full_name]] commits in repository groups ([[repogroups]], [[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": "Commits", "logBase": 1, "max": "100", "min": "0", "show": true }, { "format": "short", "label": "", "logBase": 1, "max": null, "min": "0", "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "content": "${docs:raw}", "gridPos": { "h": 11, "w": 26, "x": 0, "y": 63 }, "id": 11, "links": [], "mode": "html", "title": "Dashboard documentation", "type": "text" } ], "refresh": false, "schemaVersion": 16, "style": "dark", "tags": [ "dashboard", "sealer" ], "templating": { "list": [ { "allValue": null, "current": {}, "datasource": "psql", "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": "24 Hours MA", "value": "h24" }, "hide": 0, "includeAll": false, "label": "Period", "multi": false, "name": "period", "options": [ { "selected": false, "text": "Hour", "value": "h" }, { "selected": true, "text": "24 Hours MA", "value": "h24" }, { "selected": false, "text": "Day", "value": "d" }, { "selected": false, "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": "h,d,w,m,q,y", "skipUrlSync": false, "type": "custom" }, { "allValue": "", "current": {}, "datasource": "psql", "hide": 0, "includeAll": true, "label": "Repository group", "multi": true, "name": "repogroups", "options": [], "query": "select '\"' || repo_group_name || '\"' from trepo_groups order by 1", "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": {}, "datasource": "psql", "hide": 2, "includeAll": false, "label": null, "multi": false, "name": "docs", "options": [], "query": "select value_s from gha_vars where name = 'commits_docs_html'", "refresh": 1, "regex": "", "skipUrlSync": true, "sort": 0, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false } ] }, "time": { "from": "now-30d", "to": "now" }, "timepicker": { "refresh_intervals": [ "5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ], "time_options": [ "5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d" ] }, "timezone": "", "title": "Commits Repository Groups", "uid": "2", "version": 2 }