{ "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": 22, "iteration": 1557232793776, "links": [], "panels": [ { "aliasColors": {}, "bars": true, "dashLength": 10, "dashes": false, "datasource": "psql", "decimals": null, "description": "Shows review counts for given users and repository.", "fill": 1, "gridPos": { "h": 22, "w": 24, "x": 0, "y": 0 }, "hideTimeOverride": false, "id": 1, "legend": { "alignAsTable": true, "avg": true, "current": true, "hideEmpty": false, "hideZero": false, "max": true, "min": true, "rightSide": true, "show": true, "sideWidth": null, "sort": "avg", "sortDesc": true, "total": true, "values": true }, "lines": false, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "percentage": false, "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": [], "timeFrom": null, "timeShift": null, "title": "Reviews per user/repo ([[repo_name]], [[period]])", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "transparent": true, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [ "total" ] }, "yaxes": [ { "format": "short", "label": "Number of PR review comments", "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}", "gridPos": { "h": 12, "w": 24, "x": 0, "y": 22 }, "id": 11, "links": [], "mode": "html", "title": "Dashboard documentation", "type": "text" } ], "schemaVersion": 16, "style": "dark", "tags": [ "dashboard", "openebs" ], "templating": { "list": [ { "allValue": null, "current": { "tags": [], "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" }, { "allValue": null, "current": { "text": "All", "value": "All" }, "datasource": "psql", "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": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": { "text": "all", "value": "all" }, "datasource": "psql", "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": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": "", "current": { "selected": false, "tags": [], "text": "\"AmitKumarDas\" + \"golangcibot\" + \"imazik\" + \"ashishranjan738\" + \"vishnuitta\" + \"mittachaitu\" + \"prateekpandey14\" + \"sonasingh46\" + \"nsathyaseelan\" + \"utkarshmani1997\" + \"chandankumar4\" + \"mynktl\" + \"sagarkrsd\" + \"kmova\" + \"satbirchhikara\" + \"inyee786\" + \"gprasath\" + \"bhaskarhc\" + \"shubham14bajpai\" + \"akhilerm\" + \"gila\" + \"dargasudarshan\" + \"richardelling\" + \"ksatchit\" + \"pawanpraka1\" + \"shashank855\" + \"payes\" + \"vibhor995\" + \"surajssd\" + \"rgembalik\" + \"princerachit\" + \"vharsh\" + \"yudaykiran\" + \"muratkars\" + \"sushma1118\"", "value": [ "\"AmitKumarDas\"", "\"golangcibot\"", "\"imazik\"", "\"ashishranjan738\"", "\"vishnuitta\"", "\"mittachaitu\"", "\"prateekpandey14\"", "\"sonasingh46\"", "\"nsathyaseelan\"", "\"utkarshmani1997\"", "\"chandankumar4\"", "\"mynktl\"", "\"sagarkrsd\"", "\"kmova\"", "\"satbirchhikara\"", "\"inyee786\"", "\"gprasath\"", "\"bhaskarhc\"", "\"shubham14bajpai\"", "\"akhilerm\"", "\"gila\"", "\"dargasudarshan\"", "\"richardelling\"", "\"ksatchit\"", "\"pawanpraka1\"", "\"shashank855\"", "\"payes\"", "\"vibhor995\"", "\"surajssd\"", "\"rgembalik\"", "\"princerachit\"", "\"vharsh\"", "\"yudaykiran\"", "\"muratkars\"", "\"sushma1118\"" ] }, "datasource": "psql", "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": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": { "text": "OpenEBS", "value": "OpenEBS" }, "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": { "text": "
Links:
\nreviews_per_user
Links:
\nreviews_per_user