blob: ac9e0b7179c593451ea826d78020d0cd329f6b8a [file] [log] [blame]
Basil Eljuse4b14afb2020-09-30 13:07:23 +01001{
2 "annotations": {
3 "list": [
4 {
5 "builtIn": 1,
6 "datasource": "-- Grafana --",
7 "enable": true,
8 "hide": true,
9 "iconColor": "rgba(0, 211, 255, 1)",
10 "name": "Annotations & Alerts",
11 "type": "dashboard"
12 }
13 ]
14 },
15 "editable": true,
16 "gnetId": null,
17 "graphTooltip": 0,
18 "id": 3,
19 "links": [],
20 "panels": [
21 {
22 "aliasColors": {},
23 "bars": true,
24 "dashLength": 10,
25 "dashes": false,
26 "datasource": "TFA_CodeChurn",
27 "decimals": 2,
28 "description": "Tracking the lines of changes in TF-A source code per release tag",
29 "fieldConfig": {
30 "defaults": {
31 "custom": {}
32 },
33 "overrides": []
34 },
35 "fill": 1,
36 "fillGradient": 0,
37 "gridPos": {
38 "h": 7,
39 "w": 24,
40 "x": 0,
41 "y": 0
42 },
43 "hiddenSeries": false,
44 "id": 5,
45 "legend": {
46 "avg": false,
47 "current": false,
48 "max": false,
49 "min": false,
50 "show": false,
51 "total": false,
52 "values": false
53 },
54 "lines": false,
55 "linewidth": 1,
56 "links": [],
57 "nullPointMode": "null",
58 "percentage": false,
59 "pluginVersion": "7.1.3",
60 "pointradius": 5,
61 "points": false,
62 "renderer": "flot",
63 "seriesOverrides": [],
64 "spaceLength": 10,
65 "stack": false,
66 "steppedLine": false,
67 "targets": [
68 {
69 "alias": "$tag_Target_Tag",
70 "dsType": "influxdb",
71 "groupBy": [
72 {
73 "params": [
74 "$__interval"
75 ],
76 "type": "time"
77 },
78 {
79 "params": [
80 "null"
81 ],
82 "type": "fill"
83 }
84 ],
85 "orderByTime": "ASC",
86 "policy": "default",
87 "query": "SELECT max(Lines_of_Change) FROM \"TFA_CodeChurn_Tracking\" where $timeFilter group by Target_Tag, Git_Tag_Date order by time",
88 "rawQuery": true,
89 "refId": "A",
90 "resultFormat": "time_series",
91 "select": [
92 [
93 {
94 "params": [
95 "value"
96 ],
97 "type": "field"
98 },
99 {
100 "params": [],
101 "type": "mean"
102 }
103 ]
104 ],
105 "tags": []
106 }
107 ],
108 "thresholds": [],
109 "timeFrom": null,
110 "timeRegions": [],
111 "timeShift": null,
112 "title": "TFA CodeChurn Tracking",
113 "tooltip": {
114 "shared": false,
115 "sort": 0,
116 "value_type": "individual"
117 },
118 "type": "graph",
119 "xaxis": {
120 "buckets": null,
121 "mode": "series",
122 "name": null,
123 "show": true,
124 "values": [
125 "max"
126 ]
127 },
128 "yaxes": [
129 {
130 "decimals": 0,
131 "format": "short",
132 "label": "Lines of Change",
133 "logBase": 1,
134 "max": null,
135 "min": null,
136 "show": true
137 },
138 {
139 "format": "short",
140 "label": null,
141 "logBase": 1,
142 "max": null,
143 "min": null,
144 "show": false
145 }
146 ],
147 "yaxis": {
148 "align": false,
149 "alignLevel": null
150 }
151 },
152 {
153 "columns": [],
154 "datasource": "TFA_CodeChurn",
155 "fieldConfig": {
156 "defaults": {
157 "custom": {}
158 },
159 "overrides": []
160 },
161 "fontSize": "100%",
162 "gridPos": {
163 "h": 10,
164 "w": 24,
165 "x": 0,
166 "y": 7
167 },
168 "id": 7,
169 "links": [],
170 "pageSize": 9,
171 "scroll": true,
172 "showHeader": true,
173 "sort": {
174 "col": 0,
175 "desc": true
176 },
177 "styles": [
178 {
179 "alias": "Time",
180 "align": "auto",
181 "dateFormat": "YYYY-MM-DD HH:mm:ss",
182 "pattern": "Time",
183 "type": "hidden"
184 },
185 {
186 "alias": "",
187 "align": "auto",
188 "colorMode": null,
189 "colors": [
190 "rgba(245, 54, 54, 0.9)",
191 "rgba(237, 129, 40, 0.89)",
192 "rgba(50, 172, 45, 0.97)"
193 ],
194 "decimals": 2,
195 "pattern": "/.*/",
196 "thresholds": [],
197 "type": "number",
198 "unit": "short"
199 }
200 ],
201 "targets": [
202 {
203 "groupBy": [
204 {
205 "params": [
206 "$__interval"
207 ],
208 "type": "time"
209 },
210 {
211 "params": [
212 "null"
213 ],
214 "type": "fill"
215 }
216 ],
217 "measurement": "TFA_CodeChurn_Tracking",
218 "orderByTime": "ASC",
219 "policy": "default",
220 "query": "SELECT Base_Tag as \"Base Tag\", max(Lines_of_Change) as \"Lines of Change\" FROM \"TFA_CodeChurn_Tracking\" GROUP BY Target_Tag ",
221 "rawQuery": true,
222 "refId": "A",
223 "resultFormat": "table",
224 "select": [
225 [
226 {
227 "params": [
228 "value"
229 ],
230 "type": "field"
231 },
232 {
233 "params": [],
234 "type": "mean"
235 }
236 ]
237 ],
238 "tags": []
239 }
240 ],
241 "title": "TF-A Code Churn Statistics",
242 "transform": "table",
243 "type": "table-old"
244 }
245 ],
246 "refresh": "1d",
247 "schemaVersion": 26,
248 "style": "dark",
249 "tags": [
250 "TFA_QUALITY_METRICS"
251 ],
252 "templating": {
253 "list": []
254 },
255 "time": {
256 "from": "now-5y",
257 "to": "now"
258 },
259 "timepicker": {
260 "refresh_intervals": [
261 "5s",
262 "10s",
263 "30s",
264 "1m",
265 "5m",
266 "15m",
267 "30m",
268 "1h",
269 "2h",
270 "1d"
271 ],
272 "time_options": [
273 "5m",
274 "15m",
275 "1h",
276 "6h",
277 "12h",
278 "24h",
279 "2d",
280 "7d",
281 "30d"
282 ]
283 },
284 "timezone": "",
285 "title": "TFA_Churn",
286 "uid": "tfa-churn",
287 "version": 4
288}