Skip to content

Commit

Permalink
Updated cluster_release_version to support CAPI clusters (#1402)
Browse files Browse the repository at this point in the history
Signed-off-by: Marcus Noble <[email protected]>
  • Loading branch information
AverageMarcus authored Oct 25, 2024
1 parent 6f9228a commit 014e7cc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed

- Updated `aggregation:giantswarm:cluster_release_version` expression to support CAPI clusters

## [4.21.0] - 2024-10-25

### Changed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,10 @@ spec:
{{- end }}
)
record: aggregation:giantswarm:cluster_info
- expr: sum(cluster_service_cluster_info) by (release_version, cluster_id, cluster_type, customer, installation, pipeline, provider, region) / 2 or sum(cluster_operator_cluster_status{release_version!=""}) by (release_version, cluster_id, cluster_type, customer, installation, pipeline, provider, region)
- expr: |-
sum(cluster_service_cluster_info) by (release_version, cluster_id, cluster_type, customer, installation, pipeline, provider, region) / 2
or sum(cluster_operator_cluster_status{release_version!=""}) by (release_version, cluster_id, cluster_type, customer, installation, pipeline, provider, region)
or sum(capi_cluster_info) by (release_version, cluster_id, cluster_type, customer, installation, pipeline, provider, region)
record: aggregation:giantswarm:cluster_release_version
- expr: avg_over_time(cluster_operator_cluster_create_transition[1w])
record: aggregation:giantswarm:cluster_transition_create
Expand Down

0 comments on commit 014e7cc

Please sign in to comment.