Skip to content

Commit b8f493d

Browse files
Merge pull request #414 from ratnam915/feature/OSD-28971
OSD-28971 : Fix configuration-anomaly-detection dashboards
2 parents dfac5d1 + 7f05c0b commit b8f493d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

dashboards/grafana-dashboard-configuration-anomaly-detection.configmap.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ data:
308308
},
309309
"editorMode": "code",
310310
"exemplar": true,
311-
"expr": "sum(sum_over_time(tekton_pipelines_controller_pipelinerun_duration_seconds{namespace=\"$namespace\", status=\"success\"}[$__range])) without (instance, pod) / sum(count_over_time(tekton_pipelines_controller_pipelinerun_duration_seconds{namespace=\"$namespace\", status=\"success\"}[$__range])) without (instance, pod)",
311+
"expr": "avg by (pipeline) (\n sum_over_time(\n tekton_pipelines_controller_pipelinerun_duration_seconds_sum{\n namespace=\"$namespace\", \n status=\"success\"\n }[$__range]\n ) \n / \n sum_over_time(\n tekton_pipelines_controller_pipelinerun_duration_seconds_count{\n namespace=\"$namespace\", \n status=\"success\"\n }[$__range]\n )\n)",
312312
"format": "time_series",
313313
"instant": false,
314314
"legendFormat": "Average Pipeline Runtime (in seconds)",
@@ -679,8 +679,8 @@ data:
679679
{
680680
"current": {
681681
"selected": true,
682-
"text": "appsrep07ue1-prometheus",
683-
"value": "appsrep07ue1-prometheus"
682+
"text": "cadp01ue1-prometheus",
683+
"value": "cadp01ue1-prometheus"
684684
},
685685
"description": "Datasource ( cad metrics )",
686686
"hide": 0,
@@ -691,15 +691,15 @@ data:
691691
"query": "prometheus",
692692
"queryValue": "",
693693
"refresh": 1,
694-
"regex": "(appsrep07ue1-prometheus)|(appsres07ue1-prometheus)",
694+
"regex": "(cadp01ue1-prometheus)|(cads01ue1-prometheus)",
695695
"skipUrlSync": false,
696696
"type": "datasource"
697697
},
698698
{
699699
"current": {
700700
"selected": true,
701-
"text": "appsrep07ue1-cluster-prometheus",
702-
"value": "appsrep07ue1-cluster-prometheus"
701+
"text": "cadp01ue1-cluster-prometheus",
702+
"value": "cadp01ue1-cluster-prometheus"
703703
},
704704
"hide": 0,
705705
"includeAll": false,
@@ -709,7 +709,7 @@ data:
709709
"query": "prometheus",
710710
"queryValue": "",
711711
"refresh": 1,
712-
"regex": "(appsrep07ue1-cluster-prometheus)|(appsres07ue1-cluster-prometheus)",
712+
"regex": "(cadp01ue1-cluster-prometheus)|(cads01ue1-cluster-prometheus)",
713713
"skipUrlSync": false,
714714
"type": "datasource"
715715
},
@@ -752,4 +752,4 @@ data:
752752
"uid": "2k6bSMj7k",
753753
"version": 2,
754754
"weekStart": ""
755-
}
755+
}

0 commit comments

Comments
 (0)