Skip to content

Commit 5b34974

Browse files
divyansh42gabemontero
authored andcommitted
Add Deadlocked ResolutionRequests panel and update Pipelines controller restart panel
Signed-off-by: divyansh42 <[email protected]>
1 parent 6c63f92 commit 5b34974

File tree

1 file changed

+64
-2
lines changed

1 file changed

+64
-2
lines changed

operator/gitops/argocd/grafana/dashboards/pipeline-service-dashboard.json

+64-2
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@
227227
"type": "stat"
228228
},
229229
{
230-
"description": "The number of times any of the pipelines controllers hav restarted",
230+
"description": "The number of times any of the tekton controllers have restarted",
231231
"fieldConfig": {
232232
"defaults": {
233233
"color": {
@@ -281,7 +281,7 @@
281281
"targets": [
282282
{
283283
"editorMode": "code",
284-
"expr": "sum(increase(kube_pod_container_status_restarts_total{namespace=\"openshift-pipelines\", pod=~\"tekton-.*\"}[2m]))",
284+
"expr": "sum(increase(kube_pod_container_status_restarts_total{namespace=\"openshift-pipelines\", pod=~\"tekton-.*\"}[$__range]))",
285285
"legendFormat": "__auto",
286286
"range": true,
287287
"refId": "A"
@@ -418,6 +418,68 @@
418418
"title": "TaskRun Controller kickoff after Kubernetes scheduling checks pass",
419419
"type": "stat"
420420
},
421+
{
422+
"description": "The number of validated ResolutionRequests not yet processed by the Resolver Controller.",
423+
"fieldConfig": {
424+
"defaults": {
425+
"color": {
426+
"mode": "thresholds"
427+
},
428+
"mappings": [],
429+
"noValue": "No data",
430+
"thresholds": {
431+
"mode": "absolute",
432+
"steps": [
433+
{
434+
"color": "green",
435+
"value": null
436+
},
437+
{
438+
"color": "red",
439+
"value": 30
440+
}
441+
]
442+
},
443+
"unit": "percent"
444+
},
445+
"overrides": []
446+
},
447+
"gridPos": {
448+
"h": 9,
449+
"w": 4,
450+
"x": 0,
451+
"y": 2
452+
},
453+
"id": 483,
454+
"options": {
455+
"colorMode": "value",
456+
"graphMode": "area",
457+
"justifyMode": "auto",
458+
"orientation": "auto",
459+
"reduceOptions": {
460+
"calcs": [
461+
"lastNotNull"
462+
],
463+
"fields": "",
464+
"values": false
465+
},
466+
"showPercentChange": false,
467+
"textMode": "auto",
468+
"wideLayout": true
469+
},
470+
"pluginVersion": "10.4.3",
471+
"targets": [
472+
{
473+
"editorMode": "code",
474+
"expr": "sum(increase(pending_resolutionrequest_count[$__range]))",
475+
"legendFormat": "__auto",
476+
"range": true,
477+
"refId": "A"
478+
}
479+
],
480+
"title": "Deadlocked ResolutionRequests",
481+
"type": "stat"
482+
},
421483
{
422484
"collapsed": true,
423485
"gridPos": {

0 commit comments

Comments
 (0)