Skip to content

Commit

Permalink
Add Deadlocked ResolutionRequests panel and update Pipelines controll…
Browse files Browse the repository at this point in the history
…er restart panel

Signed-off-by: divyansh42 <[email protected]>
  • Loading branch information
divyansh42 authored and gabemontero committed Aug 14, 2024
1 parent 6c63f92 commit 5b34974
Showing 1 changed file with 64 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@
"type": "stat"
},
{
"description": "The number of times any of the pipelines controllers hav restarted",
"description": "The number of times any of the tekton controllers have restarted",
"fieldConfig": {
"defaults": {
"color": {
Expand Down Expand Up @@ -281,7 +281,7 @@
"targets": [
{
"editorMode": "code",
"expr": "sum(increase(kube_pod_container_status_restarts_total{namespace=\"openshift-pipelines\", pod=~\"tekton-.*\"}[2m]))",
"expr": "sum(increase(kube_pod_container_status_restarts_total{namespace=\"openshift-pipelines\", pod=~\"tekton-.*\"}[$__range]))",
"legendFormat": "__auto",
"range": true,
"refId": "A"
Expand Down Expand Up @@ -418,6 +418,68 @@
"title": "TaskRun Controller kickoff after Kubernetes scheduling checks pass",
"type": "stat"
},
{
"description": "The number of validated ResolutionRequests not yet processed by the Resolver Controller.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"noValue": "No data",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 30
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 4,
"x": 0,
"y": 2
},
"id": 483,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "10.4.3",
"targets": [
{
"editorMode": "code",
"expr": "sum(increase(pending_resolutionrequest_count[$__range]))",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Deadlocked ResolutionRequests",
"type": "stat"
},
{
"collapsed": true,
"gridPos": {
Expand Down

0 comments on commit 5b34974

Please sign in to comment.