Skip to content

Commit

Permalink
fix: remove abscence alert
Browse files Browse the repository at this point in the history
  • Loading branch information
Apoorva64 committed Nov 13, 2024
1 parent 2b43454 commit 69b0c18
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 54 deletions.
2 changes: 1 addition & 1 deletion charts/poulet/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.87
version: 0.1.88

# 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
Expand Down
106 changes: 53 additions & 53 deletions charts/poulet/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -317,59 +317,59 @@ prometheus:
summary: "Rapid Decrease in Heart Rate Alert"
description: "The heart rate is decreasing rapidly (rate of change < -15 bpm per 5 minutes)."
message: "Current rate of heart rate change: {{ $value }} bpm per 5 minutes"
- name: data-absence-alerts
rules:
- alert: NoGlucoseData
expr: absent(glucose)
labels:
severity: "CRITICAL"
type: "data_absent"
metric: "glucose"
gatewayId: "{{ $labels.gateway_id }}"
value: "0"
annotations:
summary: "No Glucose Data"
description: "No glucose data has been received for the last 10 seconds."
message: "Prometheus has not received glucose data for more than 10 seconds."

- alert: NoAccelerationData
expr: absent(acceleration)
labels:
severity: "CRITICAL"
type: "data_absent"
metric: "acceleration"
gatewayId: "{{ $labels.gateway_id }}"
value: "0"
annotations:
summary: "No Acceleration Data"
description: "No acceleration data has been received for the last 10 seconds."
message: "Prometheus has not received acceleration data for more than 10 seconds."

- alert: NoTemperatureData
expr: absent(temperature)
labels:
severity: "CRITICAL"
type: "data_absent"
metric: "temperature"
gatewayId: "{{ $labels.gateway_id }}"
value: "0"
annotations:
summary: "No Temperature Data"
description: "No temperature data has been received for the last 10 seconds."
message: "Prometheus has not received temperature data for more than 10 seconds."

- alert: NoHeartRateData
expr: absent(heartrate)
labels:
severity: "CRITICAL"
type: "data_absent"
metric: "heartrate"
gatewayId: "{{ $labels.gateway_id }}"
value: "0"
annotations:
summary: "No Heart Rate Data"
description: "No heart rate data has been received for the last 10 seconds."
message: "Prometheus has not received heart rate data for more than 10 seconds."
# - name: data-absence-alerts
# rules:
# - alert: NoGlucoseData
# expr: absent(glucose)
# labels:
# severity: "CRITICAL"
# type: "data_absent"
# metric: "glucose"
# gatewayId: "{{ $labels.gateway_id }}"
# value: "0"
# annotations:
# summary: "No Glucose Data"
# description: "No glucose data has been received for the last 10 seconds."
# message: "Prometheus has not received glucose data for more than 10 seconds."
#
# - alert: NoAccelerationData
# expr: absent(acceleration)
# labels:
# severity: "CRITICAL"
# type: "data_absent"
# metric: "acceleration"
# gatewayId: "{{ $labels.gateway_id }}"
# value: "0"
# annotations:
# summary: "No Acceleration Data"
# description: "No acceleration data has been received for the last 10 seconds."
# message: "Prometheus has not received acceleration data for more than 10 seconds."
#
# - alert: NoTemperatureData
# expr: absent(temperature)
# labels:
# severity: "CRITICAL"
# type: "data_absent"
# metric: "temperature"
# gatewayId: "{{ $labels.gateway_id }}"
# value: "0"
# annotations:
# summary: "No Temperature Data"
# description: "No temperature data has been received for the last 10 seconds."
# message: "Prometheus has not received temperature data for more than 10 seconds."
#
# - alert: NoHeartRateData
# expr: absent(heartrate)
# labels:
# severity: "CRITICAL"
# type: "data_absent"
# metric: "heartrate"
# gatewayId: "{{ $labels.gateway_id }}"
# value: "0"
# annotations:
# summary: "No Heart Rate Data"
# description: "No heart rate data has been received for the last 10 seconds."
# message: "Prometheus has not received heart rate data for more than 10 seconds."



Expand Down

0 comments on commit 69b0c18

Please sign in to comment.