Skip to content

Commit

Permalink
fix(charts/istio-alerts): Remove source service from 5XX Alarm
Browse files Browse the repository at this point in the history
  • Loading branch information
corydolphin committed Apr 18, 2024
1 parent 70d0c3e commit 98207fb
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion charts/istio-alerts/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: istio-alerts
description: A Helm chart that provisions a series of alerts for istio VirtualServices
type: application
version: 0.3.2
version: 0.4.0
appVersion: 0.0.1
maintainers:
- name: diranged
Expand Down
6 changes: 3 additions & 3 deletions charts/istio-alerts/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# istio-alerts

![Version: 0.3.2](https://img.shields.io/badge/Version-0.3.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.0.1](https://img.shields.io/badge/AppVersion-0.0.1-informational?style=flat-square)
![Version: 0.4.0](https://img.shields.io/badge/Version-0.4.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.0.1](https://img.shields.io/badge/AppVersion-0.0.1-informational?style=flat-square)

A Helm chart that provisions a series of alerts for istio VirtualServices

Expand Down Expand Up @@ -48,10 +48,10 @@ if the destinationServiceSelector is actually selecting series for a service tha
| serviceRules.highRequestLatency.percentile | float | `0.95` | Which percentile to monitor - should be between 0 and 1. Default is 95th percentile. |
| serviceRules.highRequestLatency.severity | string | `"warning"` | Severity of the latency monitor |
| serviceRules.highRequestLatency.threshold | float | `0.5` | The threshold for considering the latency monitor to be alarming. This is in seconds. |
| serviceRules.http5XXMonitor | object | `{"enabled":true,"for":"5m","monitorGroupingLabels":["destination_service_name","reporter","source_workload"],"severity":"critical","threshold":0.0005}` | Configuration related to the 5xx monitor for the VirtualService. |
| serviceRules.http5XXMonitor | object | `{"enabled":true,"for":"5m","monitorGroupingLabels":["destination_service_name","reporter"],"severity":"critical","threshold":0.0005}` | Configuration related to the 5xx monitor for the VirtualService. |
| serviceRules.http5XXMonitor.enabled | bool | `true` | Whether to enable the monitor on 5xxs returned by the VirtualService. |
| serviceRules.http5XXMonitor.for | string | `"5m"` | How long to evaluate the rate of 5xxs over. |
| serviceRules.http5XXMonitor.monitorGroupingLabels | list | `["destination_service_name","reporter","source_workload"]` | The set of labels to use when evaluating the ratio of the 5XX. |
| serviceRules.http5XXMonitor.monitorGroupingLabels | list | `["destination_service_name","reporter"]` | The set of labels to use when evaluating the ratio of the 5XX. |
| serviceRules.http5XXMonitor.severity | string | `"critical"` | Severity of the 5xx monitor |
| serviceRules.http5XXMonitor.threshold | float | `0.0005` | The threshold for considering the 5xx monitor to be alarming. Default is 0.05% error rate, i.e 99.95% reliability. |

Expand Down
1 change: 0 additions & 1 deletion charts/istio-alerts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ serviceRules:
monitorGroupingLabels:
- destination_service_name
- reporter
- source_workload

# -- Configuration related to the latency monitor for the VirtualService.
highRequestLatency:
Expand Down
4 changes: 2 additions & 2 deletions charts/simple-app/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ apiVersion: v2
name: simple-app
description: Default Microservice Helm Chart
type: application
version: 1.6.6
version: 1.7.0
appVersion: latest
maintainers:
- name: diranged
email: [email protected]
dependencies:
- name: istio-alerts
version: 0.2.0
version: 0.4.0
repository: https://k8s-charts.nextdoor.com
condition: istio-alerts.enabled
- name: nd-common
Expand Down
4 changes: 2 additions & 2 deletions charts/simple-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Default Microservice Helm Chart

![Version: 1.6.6](https://img.shields.io/badge/Version-1.6.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square)
![Version: 1.7.0](https://img.shields.io/badge/Version-1.7.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square)

[deployments]: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/
[hpa]: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
Expand Down Expand Up @@ -319,7 +319,7 @@ secretsEngine: sealed
| Repository | Name | Version |
|------------|------|---------|
| file://../nd-common | nd-common | 0.3.1 |
| https://k8s-charts.nextdoor.com | istio-alerts | 0.2.0 |
| https://k8s-charts.nextdoor.com | istio-alerts | 0.4.0 |

## Values

Expand Down

0 comments on commit 98207fb

Please sign in to comment.