{ "annotations": { "list": [ { "$$hashKey": "object:25", "builtIn": 1, "datasource": { "type": "datasource", "uid": "grafana" }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "target": { "limit": 100, "matchAny": false, "tags": [], "type": "dashboard" }, "type": "dashboard" }, { "$$hashKey": "object:26", "datasource": { "type": "postgres", "uid": "P172949F98CB31475" }, "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, "fiscalYearStartMonth": 0, "graphTooltip": 0, "id": 26, "iteration": 1651069099278, "links": [], "liveNow": false, "panels": [ { "aliasColors": {}, "bars": true, "dashLength": 10, "dashes": false, "datasource": { "type": "postgres", "uid": "P172949F98CB31475" }, "description": "Shows review counts for given users and repository.", "fieldConfig": { "defaults": { "links": [] }, "overrides": [] }, "fill": 1, "fillGradient": 0, "gridPos": { "h": 22, "w": 24, "x": 0, "y": 0 }, "hiddenSeries": false, "hideTimeOverride": false, "id": 1, "legend": { "alignAsTable": true, "avg": true, "current": true, "hideEmpty": false, "hideZero": false, "max": true, "min": true, "rightSide": true, "show": true, "sort": "avg", "sortDesc": true, "total": true, "values": true }, "lines": false, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "alertThreshold": true }, "percentage": false, "pluginVersion": "8.5.0", "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": true, "steppedLine": false, "targets": [ { "alias": "", "dsType": "influxdb", "format": "time_series", "groupBy": [], "measurement": "sig_federation_d", "orderByTime": "ASC", "policy": "default", "query": "SELECT /^[[reviewers]]$/ FROM \"reviews_per_user_[[repo]]_[[period]]\" WHERE $timeFilter", "rawQuery": true, "rawSql": "select\n time,\n ${reviewers:csv}\nfrom\n suser_reviews\nwhere\n $__timeFilter(time)\n and period = '[[period]]'\n and series = 'rev_per_usr[[repo]]'\norder by\n time", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "value" ], "type": "field" } ] ], "tags": [] } ], "thresholds": [], "timeRegions": [], "title": "Reviews per user/repo ([[repo_name]], [[period]])", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "mode": "time", "show": true, "values": [ "total" ] }, "yaxes": [ { "format": "short", "label": "Number of PR review comments", "logBase": 1, "min": "0", "show": true }, { "format": "short", "label": "", "logBase": 1, "min": "0", "show": true } ], "yaxis": { "align": false } }, { "datasource": { "type": "postgres", "uid": "P172949F98CB31475" }, "gridPos": { "h": 12, "w": 24, "x": 0, "y": 22 }, "id": 11, "links": [], "options": { "content": "${docs:raw}", "mode": "html" }, "pluginVersion": "8.5.0", "title": "Dashboard documentation", "type": "text" } ], "schemaVersion": 36, "style": "dark", "tags": [ "dashboard", "sealer" ], "templating": { "list": [ { "current": { "selected": true, "text": "7 Days MA", "value": "d7" }, "hide": 0, "includeAll": false, "label": "Period", "multi": false, "name": "period", "options": [ { "selected": false, "text": "Day", "value": "d" }, { "selected": false, "text": "Week", "value": "w" }, { "selected": true, "text": "7 Days MA", "value": "d7" }, { "selected": false, "text": "Month", "value": "m" }, { "selected": false, "text": "Quarter", "value": "q" }, { "selected": false, "text": "Year", "value": "y" } ], "query": "d,w,d7,m,q,y", "skipUrlSync": false, "type": "custom" }, { "current": { "selected": false, "text": "All", "value": "All" }, "datasource": { "type": "postgres", "uid": "P172949F98CB31475" }, "definition": "", "hide": 0, "includeAll": false, "label": "Repository", "multi": false, "name": "repo_name", "options": [], "query": "select top_repos_name_with_all from ttop_repos_with_all order by 1", "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", "tagsQuery": "", "type": "query", "useTags": false }, { "current": { "selected": false, "text": "all", "value": "all" }, "datasource": { "type": "postgres", "uid": "P172949F98CB31475" }, "definition": "", "hide": 2, "includeAll": false, "label": "", "multi": false, "name": "repo", "options": [], "query": "select top_repos_value_with_all from ttop_repos_with_all where top_repos_name_with_all = '[[repo_name]]'", "refresh": 1, "regex": "", "skipUrlSync": true, "sort": 0, "tagValuesQuery": "", "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": "", "current": { "selected": true, "text": [ "\"fanux\"", "\"kakaZhou719\"", "\"bxy4543\"", "\"Stevent-fei\"", "\"allencloud\"", "\"justadogistaken\"", "\"shy-Xu\"", "\"neo502721\"", "\"cuisongliu\"" ], "value": [ "\"fanux\"", "\"kakaZhou719\"", "\"bxy4543\"", "\"Stevent-fei\"", "\"allencloud\"", "\"justadogistaken\"", "\"shy-Xu\"", "\"neo502721\"", "\"cuisongliu\"" ] }, "datasource": { "type": "postgres", "uid": "P172949F98CB31475" }, "definition": "", "hide": 0, "includeAll": false, "label": "Reviewer", "multi": true, "name": "reviewers", "options": [], "query": "select '\"' || reviewers_name || '\"' from treviewers", "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", "tagsQuery": "", "type": "query", "useTags": false }, { "current": { "selected": false, "text": "sealer", "value": "sealer" }, "datasource": { "type": "postgres", "uid": "P172949F98CB31475" }, "definition": "", "hide": 2, "includeAll": false, "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": "", "tagsQuery": "", "type": "query", "useTags": false }, { "current": { "selected": false, "text": "
Links:
\nreviews_per_user
Links:
\nreviews_per_user