{ "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": 34, "iteration": 1562950183559, "links": [], "panels": [ { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "psql", "decimals": 2, "description": "Time from open to merge.", "fill": 1, "gridPos": { "h": 13, "w": 12, "x": 0, "y": 0 }, "id": 8, "legend": { "alignAsTable": true, "avg": true, "current": true, "max": true, "min": true, "rightSide": false, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "options": {}, "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": true, "steppedLine": false, "targets": [ { "alias": "", "dsType": "influxdb", "format": "time_series", "group": [], "groupBy": [], "metricColumn": "none", "orderByTime": "ASC", "policy": "default", "query": "SELECT \"value\" FROM \"time_metrics_[[repogroup]]_median_open_to_merge_[[period]]\" WHERE $timeFilter", "rawQuery": true, "rawSql": "select\n time,\n value as \"Median time from open to merge (in hours)\"\nfrom\n stime_metrics\nwhere\n $__timeFilter(time)\n and period = '[[period]]'\n and series = 'tmet[[repogroup]]med'\norder by\n time", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "value" ], "type": "field" } ] ], "tags": [], "timeColumn": "time", "where": [ { "name": "$__timeFilter", "params": [], "type": "macro" } ] } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Median time PRs from open to merge (Repository group [[repogroup_name]], [[period]])", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [ "avg" ] }, "yaxes": [ { "format": "h", "label": "", "logBase": 1, "max": null, "min": "0", "show": true }, { "format": "none", "label": "", "logBase": 10, "max": null, "min": "0", "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "psql", "decimals": 2, "description": "Time from open to merge.", "fill": 1, "gridPos": { "h": 13, "w": 12, "x": 12, "y": 0 }, "id": 9, "legend": { "alignAsTable": true, "avg": true, "current": true, "max": true, "min": true, "rightSide": false, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "options": {}, "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": true, "steppedLine": false, "targets": [ { "alias": "", "dsType": "influxdb", "format": "time_series", "group": [], "groupBy": [], "metricColumn": "none", "orderByTime": "ASC", "policy": "default", "query": "SELECT \"value\" FROM \"time_metrics_[[repogroup]]_percentile_85_open_to_merge_[[period]]\" WHERE $timeFilter", "rawQuery": true, "rawSql": "select\n time,\n value as \"85th percentile time from open to merge (in hours)\"\nfrom\n stime_metrics\nwhere\n $__timeFilter(time)\n and period = '[[period]]'\n and series = 'tmet[[repogroup]]p85'\norder by\n time", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "value" ], "type": "field" } ] ], "tags": [], "timeColumn": "time", "where": [ { "name": "$__timeFilter", "params": [], "type": "macro" } ] } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "85th percentile time PRs from open to merge for (Repository group: [[repogroup_name]], [[period]])", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [ "avg" ] }, "yaxes": [ { "format": "h", "label": "", "logBase": 1, "max": null, "min": "0", "show": true }, { "format": "none", "label": "", "logBase": 10, "max": null, "min": "0", "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "columns": [], "datasource": "psql", "description": "Time PRs from open to merge", "fontSize": "80%", "gridPos": { "h": 10, "w": 24, "x": 0, "y": 13 }, "id": 10, "links": [], "options": {}, "pageSize": 10, "scroll": true, "showHeader": true, "sort": { "col": 0, "desc": true }, "styles": [ { "alias": "Time", "dateFormat": "MM/DD/YYYY", "pattern": "Time", "type": "date" }, { "alias": "", "colorMode": null, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "decimals": 2, "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 \"descr\" FROM \"time_metrics_[[repogroup]]_median_open_to_merge_[[period]]\" WHERE $timeFilter", "rawQuery": true, "rawSql": "select\n time as \"Time\",\n descr as \"Median open to merge\"\nfrom\n stime_metrics\nwhere\n $__timeFilter(time)\n and period = '[[period]]'\n and series = 'tmet[[repogroup]]med'\norder by\n time", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "value" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [], "timeColumn": "time", "where": [ { "name": "$__timeFilter", "params": [], "type": "macro" } ] }, { "alias": "", "dsType": "influxdb", "format": "table", "group": [], "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "metricColumn": "none", "orderByTime": "ASC", "policy": "default", "query": "SELECT \"descr\" FROM \"time_metrics_[[repogroup]]_percentile_85_open_to_merge_[[period]]\" WHERE $timeFilter", "rawQuery": true, "rawSql": "select\n time as \"Time\",\n descr as \"85th percentile open to merge\"\nfrom\n stime_metrics\nwhere\n $__timeFilter(time)\n and period = '[[period]]'\n and series = 'tmet[[repogroup]]p85'\norder by\n time", "refId": "D", "resultFormat": "time_series", "select": [ [ { "params": [ "value" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [], "timeColumn": "time", "where": [ { "name": "$__timeFilter", "params": [], "type": "macro" } ] } ], "title": "Time PRs from open to merge (Repository group[[repogroup_name]], [[period]])", "transform": "table", "type": "table" }, { "content": "${docs:raw}", "gridPos": { "h": 11, "w": 24, "x": 0, "y": 23 }, "id": 11, "links": [], "mode": "html", "options": {}, "title": "Dashboard documentation", "type": "text" } ], "schemaVersion": 18, "style": "dark", "tags": [ "dashboard", "intoto" ], "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": 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": null, "current": { "tags": [], "text": "improbable-eng/thanos", "value": "improbable-eng/thanos" }, "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": null, "current": { "text": "improbableengthanos", "value": "improbableengthanos" }, "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": "Thanos", "value": "Thanos" }, "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": { "text": "
Links:
\ntime_metrics
Links:
\ntime_metrics