diff --git a/charts/poulet/Chart.yaml b/charts/poulet/Chart.yaml index 6e726ad..b2c0c54 100644 --- a/charts/poulet/Chart.yaml +++ b/charts/poulet/Chart.yaml @@ -15,7 +15,7 @@ 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.78 +version: 0.1.80 # 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 diff --git a/charts/poulet/values.yaml b/charts/poulet/values.yaml index 5dbf280..73e01a1 100644 --- a/charts/poulet/values.yaml +++ b/charts/poulet/values.yaml @@ -114,6 +114,7 @@ prometheus: tls: [ ] alertmanager: enabled: true + config: route: receiver: 'webhook_receiver' @@ -195,7 +196,6 @@ prometheus: rules: - alert: RapidIncreaseGlucose expr: deriv(glucose[30s]) > 10 - for: 10s labels: severity: "MEDIUM" type: "glucose_deriv" @@ -209,7 +209,6 @@ prometheus: - alert: RapidDecreaseGlucose expr: deriv(glucose[30s]) < -10 - for: 10s labels: severity: "MEDIUM" type: "glucose_deriv" @@ -225,7 +224,6 @@ prometheus: rules: - alert: RapidIncreaseHeartRate expr: deriv(heartrate[30s]) > 15 - for: 10s labels: severity: "MEDIUM" type: "heartrate_deriv" @@ -239,7 +237,6 @@ prometheus: - alert: RapidDecreaseHeartRate expr: deriv(heartrate[30s]) < -15 - for: 10s labels: severity: "HIGH" type: "heartrate_deriv" @@ -255,7 +252,6 @@ prometheus: rules: - alert: RapidIncreaseTemperature expr: deriv(temperature[30s]) > 0.5 - for: 10s labels: severity: "MEDIUM" type: "temperature_deriv" @@ -269,7 +265,6 @@ prometheus: - alert: RapidDecreaseTemperature expr: deriv(temperature[30s]) < -0.5 - for: 10s labels: severity: "MEDIUM" type: "temperature_deriv" @@ -284,8 +279,7 @@ prometheus: - name: glucose-predict-alerts rules: - alert: PredictedHighGlucose - expr: predict_linear(glucose[30m], 30 * 60) > 180 - for: 10s + expr: predict_linear(glucose[10s], 30 * 60) > 180 labels: severity: "WARNING" type: "glucose_predict" @@ -298,8 +292,7 @@ prometheus: message: "Predicted glucose value in 30 minutes: {{ $value }} mg/dL" - alert: PredictedLowGlucose - expr: predict_linear(glucose[30m], 30 * 60) < 70 - for: 1m + expr: predict_linear(glucose[10s], 30 * 60) < 70 labels: severity: "WARNING" type: "glucose_predict" @@ -315,7 +308,6 @@ prometheus: rules: - alert: PredictedHighHeartRate expr: predict_linear(heartrate[10s], 10 * 60) > 100 - for: 10s labels: severity: "WARNING" type: "heartrate_predict" @@ -329,7 +321,6 @@ prometheus: - alert: PredictedLowHeartRate expr: predict_linear(heartrate[10s], 10 * 60) < 50 - for: 10s labels: severity: "WARNING" type: "heartrate_predict" @@ -345,7 +336,6 @@ prometheus: rules: - alert: PredictedHighTemperature expr: predict_linear(temperature[10s], 10 * 60) > 40 - for: 10s labels: severity: "WARNING" type: "temperature_predict" @@ -359,7 +349,6 @@ prometheus: - alert: PredictedLowTemperature expr: predict_linear(temperature[10s], 10 * 60) < 35 - for: 10s labels: severity: "WARNING" type: "temperature_predict" @@ -375,7 +364,6 @@ prometheus: rules: - alert: HighAcceleration expr: acceleration > 1 - #for: 10s labels: severity: "WARNING" type: "acceleration" @@ -390,7 +378,6 @@ prometheus: rules: - alert: HighGlucose expr: glucose > 180 - for: 30s labels: severity: "WARNING" type: "glucose" @@ -404,7 +391,6 @@ prometheus: - alert: LowGlucose expr: glucose < 70 - for: 30s labels: severity: "WARNING" type: "glucose" @@ -419,7 +405,6 @@ prometheus: rules: - alert: HighHeartRate expr: heartrate > 100 - for: 30s labels: severity: "WARNING" type: "heartrate" @@ -433,7 +418,6 @@ prometheus: - alert: LowHeartRate expr: heartrate < 50 - for: 30s labels: severity: "WARNING" type: "heartrate" @@ -448,7 +432,6 @@ prometheus: rules: - alert: HighTemperature expr: temperature > 40 - for: 30s labels: severity: "WARNING" type: "temperature" @@ -462,7 +445,6 @@ prometheus: - alert: LowTemperature expr: temperature < 35 - for: 10s labels: severity: "WARNING" type: "temperature"