{ "annotations": { "list": [ { "builtIn": 1, "datasource": "-- Grafana --", "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "type": "dashboard" } ] }, "editable": true, "gnetId": null, "graphTooltip": 0, "id": 36, "iteration": 1619514877305, "links": [], "panels": [ { "columns": [], "datasource": "psql", "description": "PR workloads (Range: [[period_name]])", "fieldConfig": { "defaults": {}, "overrides": [] }, "fontSize": "80%", "gridPos": { "h": 22, "w": 24, "x": 0, "y": 0 }, "hideTimeOverride": true, "id": 1, "links": [], "pageSize": 1000, "scroll": true, "showHeader": true, "sort": { "col": 5, "desc": true }, "styles": [ { "alias": "Time", "align": "auto", "dateFormat": "YYYY-MM-DD HH:mm:ss", "decimals": null, "pattern": "Time", "type": "hidden" }, { "alias": "", "align": "auto", "colorMode": "value", "colors": [ "rgba(50, 172, 45, 0.97)", "rgba(237, 129, 40, 0.89)", "rgba(245, 54, 54, 0.9)" ], "dateFormat": "YYYY-MM-DD HH:mm:ss", "decimals": 0, "pattern": "Number of PRs", "preserveFormat": false, "thresholds": [ "10", "100" ], "type": "number", "unit": "none" }, { "alias": "", "align": "auto", "colorMode": "value", "colors": [ "rgba(50, 172, 45, 0.97)", "rgba(237, 129, 40, 0.89)", "rgba(245, 54, 54, 0.9)" ], "dateFormat": "YYYY-MM-DD HH:mm:ss", "decimals": 0, "pattern": "Absolute PR workload", "thresholds": [ "10", "100" ], "type": "number", "unit": "none" }, { "alias": "", "align": "auto", "colorMode": "value", "colors": [ "rgba(50, 172, 45, 0.97)", "rgba(237, 129, 40, 0.89)", "rgba(245, 54, 54, 0.9)" ], "dateFormat": "YYYY-MM-DD HH:mm:ss", "decimals": 2, "pattern": "Relative PR workload", "thresholds": [ "5", "10" ], "type": "number", "unit": "none" }, { "alias": "", "align": "auto", "colorMode": "value", "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "dateFormat": "YYYY-MM-DD HH:mm:ss", "decimals": 0, "pattern": "Number of Reviewers", "thresholds": [ "10", "30" ], "type": "number", "unit": "none" }, { "alias": "", "align": "auto", "colorMode": null, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "decimals": 0, "pattern": "/.*/", "thresholds": [], "type": "number", "unit": "short" } ], "targets": [ { "alias": "", "dsType": "influxdb", "format": "table", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "orderByTime": "ASC", "policy": "default", "query": "select \"sig\" as SIG, \"issues\" as \"Number of PRs\", \"reviewers\" as \"Number of Reviewers\", \"absolute_workload\" as \"Absolute PR workload\", \"relative_workload\" as \"Relative PR workload\" FROM \"pr_workload_sigs_[[period]]\" WHERE $timeFilter", "rawQuery": true, "rawSql": "select sig as \"SIG\", iss as \"Number of PRs\", rev as \"Number of Reviewers\", abs as \"Absolute PR workload\", rel as \"Relative PR workload\" from shpr_wlsigs where period = '[[period]]'", "refId": "A", "resultFormat": "table", "select": [ [ { "params": [ "value" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [] } ], "title": "PR workloads (Range: [[period_name]])", "transform": "table", "type": "table-old" }, { "columns": [], "datasource": "psql", "description": "PR workloads (Range: [[period_name]], Repository: [[repo_name]])", "fieldConfig": { "defaults": {}, "overrides": [] }, "fontSize": "80%", "gridPos": { "h": 22, "w": 24, "x": 0, "y": 22 }, "hideTimeOverride": true, "id": 3, "links": [], "pageSize": 1000, "scroll": true, "showHeader": true, "sort": { "col": 5, "desc": true }, "styles": [ { "alias": "Time", "align": "auto", "dateFormat": "YYYY-MM-DD HH:mm:ss", "decimals": null, "pattern": "Time", "type": "hidden" }, { "alias": "", "align": "auto", "colorMode": "value", "colors": [ "rgba(50, 172, 45, 0.97)", "rgba(237, 129, 40, 0.89)", "rgba(245, 54, 54, 0.9)" ], "dateFormat": "YYYY-MM-DD HH:mm:ss", "decimals": 0, "pattern": "Number of PRs", "preserveFormat": false, "thresholds": [ "10", "100" ], "type": "number", "unit": "none" }, { "alias": "", "align": "auto", "colorMode": "value", "colors": [ "rgba(50, 172, 45, 0.97)", "rgba(237, 129, 40, 0.89)", "rgba(245, 54, 54, 0.9)" ], "dateFormat": "YYYY-MM-DD HH:mm:ss", "decimals": 0, "pattern": "Absolute PR workload", "thresholds": [ "10", "100" ], "type": "number", "unit": "none" }, { "alias": "", "align": "auto", "colorMode": "value", "colors": [ "rgba(50, 172, 45, 0.97)", "rgba(237, 129, 40, 0.89)", "rgba(245, 54, 54, 0.9)" ], "dateFormat": "YYYY-MM-DD HH:mm:ss", "decimals": 2, "pattern": "Relative PR workload", "thresholds": [ "5", "10" ], "type": "number", "unit": "none" }, { "alias": "", "align": "auto", "colorMode": "value", "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "dateFormat": "YYYY-MM-DD HH:mm:ss", "decimals": 0, "pattern": "Number of Reviewers", "thresholds": [ "10", "30" ], "type": "number", "unit": "none" }, { "alias": "", "align": "auto", "colorMode": null, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "decimals": 0, "pattern": "/.*/", "thresholds": [], "type": "number", "unit": "short" } ], "targets": [ { "alias": "", "dsType": "influxdb", "format": "table", "group": [], "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "metricColumn": "none", "orderByTime": "ASC", "policy": "default", "query": "select \"sig\" as SIG, \"issues\" as \"Number of PRs\", \"reviewers\" as \"Number of Reviewers\", \"absolute_workload\" as \"Absolute PR workload\", \"relative_workload\" as \"Relative PR workload\" FROM \"pr_workload_sigs_[[period]]\" WHERE $timeFilter", "rawQuery": true, "rawSql": "select sig as \"SIG\", iss as \"Number of PRs\", rev as \"Number of Reviewers\", abs as \"Absolute PR workload\", rel as \"Relative PR workload\" from shpr_wrlsigs where period = '[[period]]' and repo = '[[repo_name]]'", "refId": "A", "resultFormat": "table", "select": [ [ { "params": [ "value" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [], "timeColumn": "time", "where": [ { "name": "$__timeFilter", "params": [], "type": "macro" } ] } ], "title": "PR workloads (Range: [[period_name]], Repository: [[repo_name]])", "transform": "table", "type": "table-old" }, { "datasource": null, "fieldConfig": { "defaults": {}, "overrides": [] }, "gridPos": { "h": 19, "w": 24, "x": 0, "y": 44 }, "id": 2, "links": [], "options": { "content": "${docs:raw}", "mode": "html" }, "pluginVersion": "7.5.4", "title": "Dashboard documentation", "type": "text" } ], "refresh": false, "schemaVersion": 27, "style": "dark", "tags": [ "dashboard", "kubernetes", "table", "PRs", "SIGs", "repos" ], "templating": { "list": [ { "allValue": null, "current": { "selected": false, "text": "Last month", "value": "Last month" }, "datasource": "psql", "definition": "", "description": null, "error": null, "hide": 0, "includeAll": false, "label": "Range", "multi": false, "name": "period_name", "options": [], "query": "select quick_ranges_name from tquick_ranges order by time", "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": { "selected": false, "text": "m", "value": "m" }, "datasource": "psql", "definition": "", "description": null, "error": null, "hide": 2, "includeAll": false, "label": null, "multi": false, "name": "period", "options": [], "query": "select quick_ranges_suffix from tquick_ranges where quick_ranges_name = '[[period_name]]'", "refresh": 1, "regex": "", "skipUrlSync": true, "sort": 0, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": { "selected": false, "text": "
Links:
\npr_workload
size/*
labels. Different sizes, have different weights.sig/*
labels. List of SIGs to display in drop-down comes from all sig/*
labels./lgtm
or /approve
text or lgtm
or approve
label.Links:
\npr_workload
size/*
labels. Different sizes, have different weights.sig/*
labels. List of SIGs to display in drop-down comes from all sig/*
labels./lgtm
or /approve
text or lgtm
or approve
label.