Skip to content

Commit

Permalink
Addd build number to rules
Browse files Browse the repository at this point in the history
  • Loading branch information
gnufied committed May 15, 2023
1 parent e537312 commit 601c2b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/cluster-monitoring-operator/prometheus-rule.yaml
Expand Up @@ -417,7 +417,7 @@ spec:
record: code:apiserver_request_total:rate:sum
- name: openshift-vsphere.rules
rules:
- expr: sum by(version)(vsphere_vcenter_info)
- expr: sum by(version, build)(vsphere_vcenter_info)
record: cluster:vsphere_vcenter_info:sum
- expr: sum by(version)(vsphere_esxi_version_total)
record: cluster:vsphere_esxi_version_total:sum
Expand Down
2 changes: 1 addition & 1 deletion jsonnet/rules.libsonnet
Expand Up @@ -590,7 +590,7 @@ function(params) {
name: 'openshift-vsphere.rules',
rules: [
{
expr: 'sum by(version)(vsphere_vcenter_info)',
expr: 'sum by(version, build)(vsphere_vcenter_info)',
record: 'cluster:vsphere_vcenter_info:sum',
},
{
Expand Down

0 comments on commit 601c2b3

Please sign in to comment.