| { |
| "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": 3, |
| "links": [], |
| "panels": [ |
| { |
| "aliasColors": {}, |
| "bars": true, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "TFA_CodeChurn", |
| "decimals": 2, |
| "description": "Tracking the lines of changes in TF-A source code per release tag", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fill": 1, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 7, |
| "w": 24, |
| "x": 0, |
| "y": 0 |
| }, |
| "hiddenSeries": false, |
| "id": 5, |
| "legend": { |
| "avg": false, |
| "current": false, |
| "max": false, |
| "min": false, |
| "show": false, |
| "total": false, |
| "values": false |
| }, |
| "lines": false, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "null", |
| "percentage": false, |
| "pluginVersion": "7.1.3", |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "alias": "$tag_Target_Tag", |
| "dsType": "influxdb", |
| "groupBy": [ |
| { |
| "params": [ |
| "$__interval" |
| ], |
| "type": "time" |
| }, |
| { |
| "params": [ |
| "null" |
| ], |
| "type": "fill" |
| } |
| ], |
| "orderByTime": "ASC", |
| "policy": "default", |
| "query": "SELECT max(Lines_of_Change) FROM \"TFA_CodeChurn_Tracking\" where $timeFilter group by Target_Tag, Git_Tag_Date order by time", |
| "rawQuery": true, |
| "refId": "A", |
| "resultFormat": "time_series", |
| "select": [ |
| [ |
| { |
| "params": [ |
| "value" |
| ], |
| "type": "field" |
| }, |
| { |
| "params": [], |
| "type": "mean" |
| } |
| ] |
| ], |
| "tags": [] |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeRegions": [], |
| "timeShift": null, |
| "title": "TFA CodeChurn Tracking", |
| "tooltip": { |
| "shared": false, |
| "sort": 0, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "series", |
| "name": null, |
| "show": true, |
| "values": [ |
| "max" |
| ] |
| }, |
| "yaxes": [ |
| { |
| "decimals": 0, |
| "format": "short", |
| "label": "Lines of Change", |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| }, |
| { |
| "format": "short", |
| "label": null, |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": false |
| } |
| ], |
| "yaxis": { |
| "align": false, |
| "alignLevel": null |
| } |
| }, |
| { |
| "columns": [], |
| "datasource": "TFA_CodeChurn", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fontSize": "100%", |
| "gridPos": { |
| "h": 10, |
| "w": 24, |
| "x": 0, |
| "y": 7 |
| }, |
| "id": 7, |
| "links": [], |
| "pageSize": 9, |
| "scroll": true, |
| "showHeader": true, |
| "sort": { |
| "col": 0, |
| "desc": true |
| }, |
| "styles": [ |
| { |
| "alias": "Time", |
| "align": "auto", |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| "pattern": "Time", |
| "type": "hidden" |
| }, |
| { |
| "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": 2, |
| "pattern": "/.*/", |
| "thresholds": [], |
| "type": "number", |
| "unit": "short" |
| } |
| ], |
| "targets": [ |
| { |
| "groupBy": [ |
| { |
| "params": [ |
| "$__interval" |
| ], |
| "type": "time" |
| }, |
| { |
| "params": [ |
| "null" |
| ], |
| "type": "fill" |
| } |
| ], |
| "measurement": "TFA_CodeChurn_Tracking", |
| "orderByTime": "ASC", |
| "policy": "default", |
| "query": "SELECT Base_Tag as \"Base Tag\", max(Lines_of_Change) as \"Lines of Change\" FROM \"TFA_CodeChurn_Tracking\" GROUP BY Target_Tag ", |
| "rawQuery": true, |
| "refId": "A", |
| "resultFormat": "table", |
| "select": [ |
| [ |
| { |
| "params": [ |
| "value" |
| ], |
| "type": "field" |
| }, |
| { |
| "params": [], |
| "type": "mean" |
| } |
| ] |
| ], |
| "tags": [] |
| } |
| ], |
| "title": "TF-A Code Churn Statistics", |
| "transform": "table", |
| "type": "table-old" |
| } |
| ], |
| "refresh": "1d", |
| "schemaVersion": 26, |
| "style": "dark", |
| "tags": [ |
| "TFA_QUALITY_METRICS" |
| ], |
| "templating": { |
| "list": [] |
| }, |
| "time": { |
| "from": "now-5y", |
| "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": "TFA_Churn", |
| "uid": "tfa-churn", |
| "version": 4 |
| } |