Skip to content

Commit

Permalink
Merge pull request #125 from dasmeta/DMVP-6036-canary-alerts-fix
Browse files Browse the repository at this point in the history
DMVP-6036: have fix in canary alert examples and conditions
  • Loading branch information
mrdntgrn authored Nov 19, 2024
2 parents 298aa94 + 70ea983 commit f10076c
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions charts/base/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.8
version: 0.2.9

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "0.2.8"
appVersion: "0.2.9"
8 changes: 4 additions & 4 deletions charts/base/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -640,18 +640,18 @@ rolloutStrategy:
thresholdRange:
max: 500
interval: 1m
# - name: request-success-rate-custom
# - name: request-success-rate-nginx-custom
# interval: 1m
# templateRef:
# name: request-success-rate-custom
# name: request-success-rate-nginx-custom
# namespace: ingress-nginx
# # minimum req success rate (non 5xx responses) percentage (0-100)
# thresholdRange:
# min: 99
# - name: request-duration-custom
# - name: request-duration-nginx-custom
# interval: 1m
# templateRef:
# name: request-duration-custom
# name: request-duration-nginx-custom
# namespace: ingress-nginx
# # maximum req duration P99, milliseconds
# thresholdRange:
Expand Down
2 changes: 1 addition & 1 deletion charts/base/templates/rollout-strategy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ spec:
webhooks:
{{- toYaml .Values.rolloutStrategy.configs.webhooks | nindent 6 }}
{{- end }}
{{- if .Values.rolloutStrategy.configs.webhooks }}
{{- if .Values.rolloutStrategy.configs.alerts }}
# custom notification/alerts (optional)
alerts:
{{- toYaml .Values.rolloutStrategy.configs.alerts | nindent 6 }}
Expand Down
8 changes: 4 additions & 4 deletions charts/base/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -273,18 +273,18 @@ rolloutStrategy:
# thresholdRange:
# max: 500
# interval: 1m
# # - name: request-success-rate-custom
# # - name: request-success-rate-nginx-custom
# # interval: 1m
# # templateRef:
# # name: request-success-rate-custom
# # name: request-success-rate-nginx-custom
# # namespace: ingress-nginx
# # # minimum req success rate (non 5xx responses) percentage (0-100)
# # thresholdRange:
# # min: 99
# # - name: request-duration-custom
# # - name: request-duration-nginx-custom
# # interval: 1m
# # templateRef:
# # name: request-duration-custom
# # name: request-duration-nginx-custom
# # namespace: ingress-nginx
# # # maximum req duration P99, milliseconds
# # thresholdRange:
Expand Down
4 changes: 2 additions & 2 deletions charts/flagger-metrics-and-alerts/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0
version: 0.1.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "0.1.0"
appVersion: "0.1.1"
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: request-success-rate-nginx-custom
spec:
provider:
{{- toYaml .Values.provider | nindent 4 }}
{{- toYaml .Values.metricTemplatesDefaultProvider | nindent 4 }}
query: |
sum(
rate(
Expand Down Expand Up @@ -35,7 +35,7 @@ metadata:
name: request-duration-nginx-custom
spec:
provider:
{{- toYaml .Values.provider | nindent 4 }}
{{- toYaml .Values.metricTemplatesDefaultProvider | nindent 4 }}
query: |
sum(
rate(
Expand Down

0 comments on commit f10076c

Please sign in to comment.