Skip to content

Commit

Permalink
ROX-24055: Annotations for cluster upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
ludydoo committed May 7, 2024
1 parent 229cc85 commit cb58b71
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 6 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.

15 changes: 13 additions & 2 deletions resources/grafana/sources/rhacs-cluster-overview.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,21 @@
"uid": "PBFA97CFB590B2093"
},
"enable": true,
"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",
"iconColor": "purple",
"name": "Upgrade",
"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",
"name": "Kubernetes Upgrade",
"textFormat": "Kubernetes Upgrade"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"enable": true,
"iconColor": "purple",
"expr": "count (count by (gitVersion) (openshift_apiserver_build_info)) > 1",
"name": "Openshift Upgrade",
"textFormat": "Openshift Upgrade"
}
]
},
Expand Down
1 change: 1 addition & 0 deletions resources/prometheus/federation-config-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
match[]:
# This is an example.
- up{job!~"central|scanner"}
- openshift_apiserver_build_info
1 change: 1 addition & 0 deletions resources/prometheus/federation-config.yaml

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

0 comments on commit cb58b71

Please sign in to comment.