blob: c1990fe45b4c8e076cea038589241897de3e63d0 [file] [log] [blame]
Thomas Draebingbe862d82020-03-11 13:46:52 +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 "links": [],
19 "panels": [
20 {
21 "aliasColors": {},
22 "bars": false,
23 "dashLength": 10,
24 "dashes": false,
25 "datasource": null,
26 "description": "upload-pack requests",
27 "fill": 1,
28 "fillGradient": 0,
29 "gridPos": {
30 "h": 8,
31 "w": 12,
32 "x": 0,
33 "y": 0
34 },
35 "hiddenSeries": false,
36 "id": 4,
37 "interval": "2m",
38 "legend": {
39 "avg": false,
40 "current": false,
41 "max": false,
42 "min": false,
43 "show": false,
44 "total": false,
45 "values": false
46 },
47 "lines": true,
48 "linewidth": 1,
49 "nullPointMode": "null",
50 "options": {
51 "dataLinks": []
52 },
53 "percentage": false,
54 "pointradius": 2,
55 "points": false,
56 "renderer": "flot",
57 "seriesOverrides": [],
58 "spaceLength": 10,
59 "stack": false,
60 "steppedLine": false,
61 "targets": [
62 {
Thomas Draebing451882b2020-04-29 17:33:42 +020063 "expr": "increase(git_upload_pack_request_count_CLONE_total{instance=\"$instance\",replica=\"$replica\"}[2m])/2",
Thomas Draebingbe862d82020-03-11 13:46:52 +010064 "legendFormat": "clone",
65 "refId": "A"
66 }
67 ],
68 "thresholds": [],
69 "timeFrom": null,
70 "timeRegions": [],
71 "timeShift": null,
72 "title": "CLONE count",
73 "tooltip": {
74 "shared": true,
75 "sort": 0,
76 "value_type": "individual"
77 },
78 "type": "graph",
79 "xaxis": {
80 "buckets": null,
81 "mode": "time",
82 "name": null,
83 "show": true,
84 "values": []
85 },
86 "yaxes": [
87 {
88 "format": "opm",
89 "label": null,
90 "logBase": 1,
91 "max": null,
92 "min": null,
93 "show": true
94 },
95 {
96 "format": "short",
97 "label": null,
98 "logBase": 1,
99 "max": null,
100 "min": null,
101 "show": true
102 }
103 ],
104 "yaxis": {
105 "align": false,
106 "alignLevel": null
107 }
108 },
109 {
110 "aliasColors": {},
111 "bars": false,
112 "dashLength": 10,
113 "dashes": false,
114 "datasource": null,
115 "description": "upload-pack requests for fetches",
116 "fill": 1,
117 "fillGradient": 0,
118 "gridPos": {
119 "h": 8,
120 "w": 12,
121 "x": 12,
122 "y": 0
123 },
124 "hiddenSeries": false,
125 "id": 8,
126 "interval": "",
127 "legend": {
128 "avg": false,
129 "current": false,
130 "max": false,
131 "min": false,
132 "show": false,
133 "total": false,
134 "values": false
135 },
136 "lines": true,
137 "linewidth": 1,
138 "nullPointMode": "null",
139 "options": {
140 "dataLinks": []
141 },
142 "percentage": false,
143 "pointradius": 2,
144 "points": false,
145 "renderer": "flot",
146 "seriesOverrides": [],
147 "spaceLength": 10,
148 "stack": false,
149 "steppedLine": false,
150 "targets": [
151 {
Thomas Draebing451882b2020-04-29 17:33:42 +0200152 "expr": "increase(git_upload_pack_request_count_FETCH_total{instance=\"$instance\",replica=\"$replica\"}[2m])/2",
Thomas Draebingbe862d82020-03-11 13:46:52 +0100153 "legendFormat": "fetch",
154 "refId": "A"
155 }
156 ],
157 "thresholds": [],
158 "timeFrom": null,
159 "timeRegions": [],
160 "timeShift": null,
161 "title": "FETCH count",
162 "tooltip": {
163 "shared": true,
164 "sort": 0,
165 "value_type": "individual"
166 },
167 "type": "graph",
168 "xaxis": {
169 "buckets": null,
170 "mode": "time",
171 "name": null,
172 "show": true,
173 "values": []
174 },
175 "yaxes": [
176 {
177 "format": "opm",
178 "label": null,
179 "logBase": 1,
180 "max": null,
181 "min": null,
182 "show": true
183 },
184 {
185 "format": "short",
186 "label": null,
187 "logBase": 1,
188 "max": null,
189 "min": null,
190 "show": true
191 }
192 ],
193 "yaxis": {
194 "align": false,
195 "alignLevel": null
196 }
197 },
198 {
199 "aliasColors": {},
200 "bars": false,
201 "dashLength": 10,
202 "dashes": false,
203 "datasource": null,
204 "fill": 0,
205 "fillGradient": 0,
206 "gridPos": {
207 "h": 13,
208 "w": 12,
209 "x": 0,
210 "y": 8
211 },
212 "hiddenSeries": false,
213 "id": 2,
214 "legend": {
215 "avg": false,
216 "current": false,
217 "max": false,
218 "min": false,
219 "show": true,
220 "total": false,
221 "values": false
222 },
223 "lines": true,
224 "linewidth": 1,
225 "nullPointMode": "null",
226 "options": {
227 "dataLinks": []
228 },
229 "percentage": false,
230 "pointradius": 2,
231 "points": false,
232 "renderer": "flot",
233 "seriesOverrides": [
234 {
235 "alias": "quantile: 0.75",
236 "hiddenSeries": true
237 },
238 {
239 "alias": "quantile: 0.95",
240 "hiddenSeries": true
241 },
242 {
243 "alias": "quantile: 0.98",
244 "hiddenSeries": true
245 },
246 {
247 "alias": "quantile: 0.99",
248 "hiddenSeries": true
249 }
250 ],
251 "spaceLength": 10,
252 "stack": false,
253 "steppedLine": false,
254 "targets": [
255 {
Thomas Draebing451882b2020-04-29 17:33:42 +0200256 "expr": "git_upload_pack_pack_bytes_CLONE{instance=\"$instance\",replica=\"$replica\"}",
Thomas Draebingbe862d82020-03-11 13:46:52 +0100257 "format": "time_series",
258 "intervalFactor": 1,
259 "legendFormat": "quantile: {{quantile}}",
260 "refId": "A"
261 }
262 ],
263 "thresholds": [],
264 "timeFrom": null,
265 "timeRegions": [],
266 "timeShift": null,
267 "title": "upload-pack pack bytes CLONE",
268 "tooltip": {
269 "shared": true,
270 "sort": 0,
271 "value_type": "individual"
272 },
273 "type": "graph",
274 "xaxis": {
275 "buckets": null,
276 "mode": "time",
277 "name": null,
278 "show": true,
279 "values": []
280 },
281 "yaxes": [
282 {
283 "decimals": null,
284 "format": "decbytes",
285 "label": "",
286 "logBase": 10,
287 "max": "10000000000",
288 "min": "1000",
289 "show": true
290 },
291 {
292 "format": "short",
293 "label": "",
294 "logBase": 1,
295 "max": null,
296 "min": null,
297 "show": true
298 }
299 ],
300 "yaxis": {
301 "align": false,
302 "alignLevel": null
303 }
304 },
305 {
306 "aliasColors": {},
307 "bars": false,
308 "dashLength": 10,
309 "dashes": false,
310 "datasource": null,
311 "fill": 0,
312 "fillGradient": 0,
313 "gridPos": {
314 "h": 13,
315 "w": 12,
316 "x": 12,
317 "y": 8
318 },
319 "hiddenSeries": false,
320 "id": 6,
321 "legend": {
322 "avg": false,
323 "current": false,
324 "max": false,
325 "min": false,
326 "show": true,
327 "total": false,
328 "values": false
329 },
330 "lines": true,
331 "linewidth": 1,
332 "nullPointMode": "null",
333 "options": {
334 "dataLinks": []
335 },
336 "percentage": false,
337 "pointradius": 2,
338 "points": false,
339 "renderer": "flot",
340 "seriesOverrides": [
341 {
342 "alias": "quantile: 0.75",
343 "hiddenSeries": true
344 },
345 {
346 "alias": "quantile: 0.95",
347 "hiddenSeries": true
348 },
349 {
350 "alias": "quantile: 0.98",
351 "hiddenSeries": true
352 },
353 {
354 "alias": "quantile: 0.99",
355 "hiddenSeries": true
356 }
357 ],
358 "spaceLength": 10,
359 "stack": false,
360 "steppedLine": false,
361 "targets": [
362 {
Thomas Draebing451882b2020-04-29 17:33:42 +0200363 "expr": "git_upload_pack_pack_bytes_FETCH{instance=\"$instance\",replica=\"$replica\"}",
Thomas Draebingbe862d82020-03-11 13:46:52 +0100364 "legendFormat": "quantile: {{quantile}}",
365 "refId": "A"
366 }
367 ],
368 "thresholds": [],
369 "timeFrom": null,
370 "timeRegions": [],
371 "timeShift": null,
372 "title": "upload-pack pack bytes FETCH",
373 "tooltip": {
374 "shared": true,
375 "sort": 0,
376 "value_type": "individual"
377 },
378 "type": "graph",
379 "xaxis": {
380 "buckets": null,
381 "mode": "time",
382 "name": null,
383 "show": true,
384 "values": []
385 },
386 "yaxes": [
387 {
388 "decimals": null,
389 "format": "decbytes",
390 "label": null,
391 "logBase": 10,
392 "max": "10000000000",
393 "min": "1000",
394 "show": true
395 },
396 {
397 "format": "short",
398 "label": null,
399 "logBase": 1,
400 "max": null,
401 "min": null,
402 "show": true
403 }
404 ],
405 "yaxis": {
406 "align": false,
407 "alignLevel": null
408 }
409 }
410 ],
411 "refresh": "1m",
412 "schemaVersion": 21,
413 "style": "dark",
414 "tags": [],
415 "templating": {
416 "list": [
417 {
418 "allValue": null,
419 "current": {
420 "text": "",
421 "value": ""
422 },
423 "datasource": "Prometheus",
Thomas Draebing442bf6f2020-04-03 11:37:27 +0200424 "definition": "label_values(git_upload_pack_phase_writing_total, instance)",
Thomas Draebingbe862d82020-03-11 13:46:52 +0100425 "hide": 0,
426 "includeAll": false,
427 "label": "Gerrit Instance",
428 "multi": false,
429 "name": "instance",
430 "options": [],
Thomas Draebing442bf6f2020-04-03 11:37:27 +0200431 "query": "label_values(git_upload_pack_phase_writing_total, instance)",
Thomas Draebingbe862d82020-03-11 13:46:52 +0100432 "refresh": 1,
433 "regex": "",
434 "skipUrlSync": false,
435 "sort": 0,
436 "tagValuesQuery": "",
437 "tags": [],
438 "tagsQuery": "",
439 "type": "query",
440 "useTags": false
Thomas Draebing451882b2020-04-29 17:33:42 +0200441 },
442 {
443 "allValue": null,
444 "current": {
445 "text": "",
446 "value": ""
447 },
448 "datasource": "Prometheus",
449 "definition": "label_values(git_upload_pack_phase_writing_total{instance=\"$instance\"}, replica)",
450 "hide": 0,
451 "includeAll": false,
452 "label": "Replica",
453 "multi": false,
454 "name": "replica",
455 "options": [],
456 "query": "label_values(git_upload_pack_phase_writing_total{instance=\"$instance\"}, replica)",
457 "refresh": 2,
458 "regex": "",
459 "skipUrlSync": false,
460 "sort": 0,
461 "tagValuesQuery": "",
462 "tags": [],
463 "tagsQuery": "",
464 "type": "query",
465 "useTags": false
Thomas Draebingbe862d82020-03-11 13:46:52 +0100466 }
467 ]
468 },
469 "time": {
470 "from": "now-24h",
471 "to": "now"
472 },
473 "timepicker": {
474 "refresh_intervals": [
475 "5s",
476 "10s",
477 "30s",
478 "1m",
479 "5m",
480 "15m",
481 "30m",
482 "1h",
483 "2h",
484 "1d"
485 ]
486 },
487 "timezone": "",
488 "title": "Git fetch / clone",
489 "uid": "EV4ZCjEWz",
490 "version": 3
491}