Skip to content

Commit

Permalink
Add build number to vcenter version information
Browse files Browse the repository at this point in the history
  • Loading branch information
gnufied committed May 15, 2023
1 parent aeee50f commit 0ee2bdd
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
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ spec:
record: cluster:alertmanager_integrations:max
- expr: sum by(plugin_name, volume_mode)(pv_collector_total_pv_count)
record: cluster:kube_persistentvolume_plugin_type_counts:sum
- 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
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ function(params) {
record: 'cluster:kube_persistentvolume_plugin_type_counts:sum',
},
{
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 0ee2bdd

Please sign in to comment.