Skip to content

Commit

Permalink
Merge pull request #245 from stackrox/ROX-24822-fix-acscs-annotations
Browse files Browse the repository at this point in the history
ROX-24822: Fix acs-cs annotations
  • Loading branch information
ludydoo authored Jun 18, 2024
2 parents ab1c241 + d629fc3 commit 60458f2
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions resources/grafana/sources/rhacs-central-slo.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"enable": true,
"iconColor": "purple",
"expr": "count (count by (git_version) (label_replace(kubernetes_build_info{job!~\"kube-dns|coredns\"}, \"git_version\", \"$1\", \"git_version\", \"(v[0-9]*.[0-9]*).*\"))) > 1",
"expr": "count (count by (git_version) (label_replace(count_over_time(kubernetes_build_info{job!~\"kube-dns|coredns\"}[${__interval}]), \"git_version\", \"$1\", \"git_version\", \"(v[0-9]*.[0-9]*).*\"))) > 1",
"name": "Kubernetes Upgrade",
"textFormat": "Kubernetes Upgrade"
},
Expand All @@ -37,7 +37,7 @@
},
"enable": true,
"iconColor": "red",
"expr": "count (count by (gitVersion) (openshift_apiserver_build_info)) > 1",
"expr": "count (count by (gitVersion) (count_over_time (openshift_apiserver_build_info[${__interval}]))) > 1",
"name": "OpenShift Upgrade",
"textFormat": "OpenShift Upgrade"
}
Expand Down
4 changes: 2 additions & 2 deletions resources/grafana/sources/rhacs-cluster-overview.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"enable": true,
"iconColor": "purple",
"expr": "count (count by (git_version) (label_replace(kubernetes_build_info{job!~\"kube-dns|coredns\"}, \"git_version\", \"$1\", \"git_version\", \"(v[0-9]*.[0-9]*).*\"))) > 1",
"expr": "count (count by (git_version) (label_replace(count_over_time(kubernetes_build_info{job!~\"kube-dns|coredns\"}[${__interval}]), \"git_version\", \"$1\", \"git_version\", \"(v[0-9]*.[0-9]*).*\"))) > 1",
"name": "Kubernetes Upgrade",
"textFormat": "Kubernetes Upgrade"
},
Expand All @@ -37,7 +37,7 @@
},
"enable": true,
"iconColor": "red",
"expr": "count (count by (gitVersion) (openshift_apiserver_build_info)) > 1",
"expr": "count (count by (gitVersion) (count_over_time (openshift_apiserver_build_info[${__interval}]))) > 1",
"name": "OpenShift Upgrade",
"textFormat": "OpenShift Upgrade"
}
Expand Down

0 comments on commit 60458f2

Please sign in to comment.