Skip to content

Commit

Permalink
Fix typo in ManagementClusterAppFailed and ManagementClusterAppPendin…
Browse files Browse the repository at this point in the history
…gUpdate (#934)
  • Loading branch information
Erkan Erol authored Oct 23, 2023
1 parent 4eef3fd commit a85097d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added

- Add recording rules to list all clusters.
- Fix typo in `ManagementClusterAppFailed` and `ManagementClusterAppPendingUpdate`.

## [2.138.1] - 2023-10-11

Expand Down
4 changes: 2 additions & 2 deletions helm/prometheus-rules/templates/alerting-rules/app.rules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
annotations:
description: '{{`Management Cluster App {{ $labels.name }}, version {{ $labels.version }} is {{if $labels.status }} in {{ $labels.status }} state. {{else}} not installed. {{end}}`}}'
opsrecipe: app-failed/
expr: app_operator_app_info{status!~"(?i:(deployed|cordoned))", catalog=~"(control-plane-.*|default)",team!~"^$|noteam", namespace=~".*gianstswarm"}
expr: app_operator_app_info{status!~"(?i:(deployed|cordoned))", catalog=~"(control-plane-.*|default)",team!~"^$|noteam", namespace=~".*giantswarm"}
for: 30m
labels:
area: managedservices
Expand All @@ -30,7 +30,7 @@ spec:
annotations:
description: 'Current version of {{`App {{ $labels.name }} is {{ $labels.deployed_version }} but it should be {{ $labels.version }}.`}}'
opsrecipe: app-pending-update/
expr: app_operator_app_info{catalog=~"(control-plane-.*|default)", deployed_version!="", status="deployed", version_mismatch="true" ,team!~"^$|noteam", namespace=~".*gianstswarm"}
expr: app_operator_app_info{catalog=~"(control-plane-.*|default)", deployed_version!="", status="deployed", version_mismatch="true" ,team!~"^$|noteam", namespace=~".*giantswarm"}
for: 40m
labels:
area: managedservices
Expand Down

0 comments on commit a85097d

Please sign in to comment.