Skip to content

Commit 8aa11bd

Browse files
geroplroboquat
authored andcommitted
[ops] WebApp Overview: Add graph for "Instance Starts Success/Failure Rate"
1 parent 7c68793 commit 8aa11bd

File tree

1 file changed

+143
-14
lines changed

1 file changed

+143
-14
lines changed

operations/observability/mixins/meta/dashboards/components/meta-overview.json

Lines changed: 143 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"editable": true,
2222
"fiscalYearStartMonth": 0,
2323
"graphTooltip": 0,
24-
"iteration": 1639648622302,
24+
"iteration": 1646144275104,
2525
"links": [],
2626
"liveNow": false,
2727
"panels": [
@@ -113,7 +113,8 @@
113113
"placement": "bottom"
114114
},
115115
"tooltip": {
116-
"mode": "single"
116+
"mode": "single",
117+
"sort": "none"
117118
}
118119
},
119120
"pluginVersion": "8.2.2",
@@ -206,7 +207,8 @@
206207
"placement": "bottom"
207208
},
208209
"tooltip": {
209-
"mode": "single"
210+
"mode": "single",
211+
"sort": "none"
210212
}
211213
},
212214
"pluginVersion": "8.2.2",
@@ -295,7 +297,8 @@
295297
"placement": "bottom"
296298
},
297299
"tooltip": {
298-
"mode": "multi"
300+
"mode": "multi",
301+
"sort": "none"
299302
}
300303
},
301304
"targets": [
@@ -379,7 +382,8 @@
379382
"placement": "bottom"
380383
},
381384
"tooltip": {
382-
"mode": "single"
385+
"mode": "single",
386+
"sort": "none"
383387
}
384388
},
385389
"targets": [
@@ -398,6 +402,125 @@
398402
"title": "Team slot method calls",
399403
"type": "timeseries"
400404
},
405+
{
406+
"datasource": {
407+
"type": "prometheus",
408+
"uid": "${datasource}"
409+
},
410+
"fieldConfig": {
411+
"defaults": {
412+
"color": {
413+
"mode": "palette-classic"
414+
},
415+
"custom": {
416+
"axisLabel": "",
417+
"axisPlacement": "auto",
418+
"barAlignment": 0,
419+
"drawStyle": "line",
420+
"fillOpacity": 0,
421+
"gradientMode": "none",
422+
"hideFrom": {
423+
"legend": false,
424+
"tooltip": false,
425+
"viz": false
426+
},
427+
"lineInterpolation": "linear",
428+
"lineWidth": 1,
429+
"pointSize": 5,
430+
"scaleDistribution": {
431+
"type": "linear"
432+
},
433+
"showPoints": "auto",
434+
"spanNulls": false,
435+
"stacking": {
436+
"group": "A",
437+
"mode": "none"
438+
},
439+
"thresholdsStyle": {
440+
"mode": "line"
441+
}
442+
},
443+
"mappings": [],
444+
"min": 0,
445+
"thresholds": {
446+
"mode": "absolute",
447+
"steps": [
448+
{
449+
"color": "green",
450+
"value": null
451+
}
452+
]
453+
},
454+
"unit": "short"
455+
},
456+
"overrides": [
457+
{
458+
"matcher": {
459+
"id": "byRegexp",
460+
"options": "Failed.*"
461+
},
462+
"properties": [
463+
{
464+
"id": "custom.drawStyle",
465+
"value": "line"
466+
},
467+
{
468+
"id": "color",
469+
"value": {
470+
"fixedColor": "red",
471+
"mode": "fixed"
472+
}
473+
}
474+
]
475+
}
476+
]
477+
},
478+
"gridPos": {
479+
"h": 9,
480+
"w": 11,
481+
"x": 0,
482+
"y": 19
483+
},
484+
"id": 38,
485+
"options": {
486+
"legend": {
487+
"calcs": [],
488+
"displayMode": "list",
489+
"placement": "bottom"
490+
},
491+
"tooltip": {
492+
"mode": "single",
493+
"sort": "none"
494+
}
495+
},
496+
"targets": [
497+
{
498+
"datasource": {
499+
"type": "prometheus",
500+
"uid": "${datasource}"
501+
},
502+
"exemplar": true,
503+
"expr": "sum (irate(gitpod_server_instance_starts_success_total{cluster=~\"$cluster\"}[2m]))",
504+
"interval": "",
505+
"legendFormat": "Success",
506+
"refId": "A"
507+
},
508+
{
509+
"datasource": {
510+
"type": "prometheus",
511+
"uid": "${datasource}"
512+
},
513+
"exemplar": true,
514+
"expr": "sum (irate(gitpod_server_instance_starts_failed_total{cluster=~\"$cluster\"}[2m])) by (reason)",
515+
"hide": false,
516+
"interval": "",
517+
"legendFormat": "Failed because: {{ reason }}",
518+
"refId": "B"
519+
}
520+
],
521+
"title": "Instance Start Success/Failure Rates",
522+
"type": "timeseries"
523+
},
401524
{
402525
"datasource": {
403526
"uid": "$datasource"
@@ -456,7 +579,7 @@
456579
"gridPos": {
457580
"h": 9,
458581
"w": 11,
459-
"x": 0,
582+
"x": 11,
460583
"y": 19
461584
},
462585
"id": 4,
@@ -467,7 +590,8 @@
467590
"placement": "bottom"
468591
},
469592
"tooltip": {
470-
"mode": "single"
593+
"mode": "single",
594+
"sort": "none"
471595
}
472596
},
473597
"targets": [
@@ -564,7 +688,8 @@
564688
"placement": "bottom"
565689
},
566690
"tooltip": {
567-
"mode": "single"
691+
"mode": "single",
692+
"sort": "none"
568693
}
569694
},
570695
"targets": [
@@ -671,7 +796,8 @@
671796
"placement": "bottom"
672797
},
673798
"tooltip": {
674-
"mode": "single"
799+
"mode": "single",
800+
"sort": "none"
675801
}
676802
},
677803
"pluginVersion": "8.2.2",
@@ -762,7 +888,8 @@
762888
"placement": "bottom"
763889
},
764890
"tooltip": {
765-
"mode": "single"
891+
"mode": "single",
892+
"sort": "none"
766893
}
767894
},
768895
"pluginVersion": "8.2.2",
@@ -851,7 +978,8 @@
851978
"placement": "bottom"
852979
},
853980
"tooltip": {
854-
"mode": "single"
981+
"mode": "single",
982+
"sort": "none"
855983
}
856984
},
857985
"pluginVersion": "8.2.2",
@@ -949,7 +1077,8 @@
9491077
"placement": "bottom"
9501078
},
9511079
"tooltip": {
952-
"mode": "single"
1080+
"mode": "single",
1081+
"sort": "none"
9531082
}
9541083
},
9551084
"pluginVersion": "8.2.2",
@@ -983,7 +1112,7 @@
9831112
"type": "timeseries"
9841113
}
9851114
],
986-
"schemaVersion": 33,
1115+
"schemaVersion": 35,
9871116
"style": "dark",
9881117
"tags": [
9891118
"gitpod-mixin"
@@ -1045,6 +1174,6 @@
10451174
"timezone": "utc",
10461175
"title": "Meta Overview",
10471176
"uid": "Gj5DE-O7k",
1048-
"version": 16,
1177+
"version": 1,
10491178
"weekStart": ""
10501179
}

0 commit comments

Comments
 (0)